
:root {
  font-family: Inter, "Segoe UI", Arial, "Noto Sans SC", sans-serif;
  color-scheme: light;
  --bg: #f7f7f8;
  --surface: #fff;
  --ink: #17181b;
  --muted: #74757d;
  --line: #e9e9ec;
  --soft: #f1f1f4;
  --accent: #ef4148;
  --accent-deep: #d92f38;
  --shadow: 0 16px 56px #17181b12;
  --radius: 20px;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ef41485c;
  outline-offset: 3px;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 9px;
}
small,
.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.1px;
  font-weight: 650;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  font-weight: 650;
}
h3 {
  font-size: 16px;
  font-weight: 650;
}
svg.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  display: block;
}
.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;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: var(--soft);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn.primary:hover {
  background: var(--accent-deep);
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn.danger {
  color: var(--accent);
}
.btn.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}
.btn.icon-btn {
  padding: 10px;
  min-width: 40px;
}
.btn.wide {
  width: 100%;
}
.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.25px;
  background: var(--soft);
  color: var(--muted);
  white-space: nowrap;
}
.pill.accent {
  color: var(--accent);
  background: #ef41480c;
}
.field {
  margin-bottom: 20px;
}
.field .hint {
  margin-top: 8px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.row.between {
  justify-content: space-between;
}
.row.wrap {
  flex-wrap: wrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
.stack > * + * {
  margin-top: 20px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.surface {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 25px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 30px 0 18px;
}
.section-head h2 {
  margin: 0;
}
.empty {
  padding: 45px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty .icon {
  width: 30px;
  height: 30px;
  color: var(--muted);
  margin-bottom: 14px;
}
.empty p {
  font-size: 13px;
  max-width: 460px;
  margin: 10px auto 20px;
  color: var(--muted);
}
.notice {
  border: 1px solid #ef41482b;
  border-radius: 12px;
  padding: 14px 16px;
  background: #ef414807;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.error {
  color: var(--accent);
  border-color: #ef414845;
  background: #ef41480a;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  border-radius: 14px;
  max-width: min(460px, calc(100vw - 36px));
  padding: 15px 20px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13px;
}
.toast.error {
  background: var(--accent);
  color: white;
}
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  color: var(--muted);
  font-size: 13px;
}
.sidebar {
  width: 238px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 33px 22px 22px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand .brand-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand strong {
  font-size: 19px;
  font-weight: 700;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--muted);
}
.sidebar .eyebrow {
  margin: 46px 12px 14px;
  font-size: 9px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 11px;
  padding: 13px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.15s;
}
.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}
.nav a.active {
  background: #ef41480c;
  color: var(--accent);
  font-weight: 650;
}
.nav a.active:after {
  content: "";
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.sidebar-foot {
  margin-top: auto;
  padding-top: 30px;
}
.credit-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  background: var(--bg);
  display: block;
}
.credit-card .eyebrow {
  margin: 0 0 10px;
  font-size: 9px;
  letter-spacing: 1px;
}
.credit-card strong {
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 600;
}
.credit-card span {
  font-size: 10px;
  color: var(--muted);
}
.account-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0 3px;
}
.account-circle {
  width: 31px;
  height: 31px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}
.account-row p {
  font-size: 11px;
  margin: 0;
}
.account-row small {
  font-size: 10px;
}
.app-main {
  margin-left: 238px;
  min-height: 100vh;
}
.topbar {
  height: 80px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: var(--surface);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  color: var(--ink);
  margin-left: 11px;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
}
.toolbar select {
  width: auto;
  padding: 8px 29px 8px 10px;
  border-color: transparent;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}
.content {
  max-width: 1380px;
  padding: 38px 42px 52px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.page-head p {
  font-size: 13px;
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}
.hero {
  min-height: 286px;
  background: #1b1c20;
  border-radius: 22px;
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid #ffffff08;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 35px 38px;
  align-self: center;
}
.hero .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #f3888d;
  margin: 0 0 20px;
}
.hero h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.1px;
  white-space: pre-line;
  font-weight: 550;
  margin-bottom: 14px;
}
.hero p {
  font-size: 12px;
  max-width: 320px;
  color: #aaaab2;
  margin-bottom: 23px;
}
.hero .btn {
  font-size: 12px;
  min-height: 37px;
  padding: 9px 16px;
}
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at 54% 45%, #ffffff18, transparent 68%);
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  border: 1px solid #ffffff09;
  border-radius: 50%;
  width: 290px;
  height: 290px;
  transform: rotateX(65deg);
  bottom: -90px;
}
.hero-art:after {
  width: 360px;
  height: 360px;
  bottom: -125px;
}
.hero-art img {
  height: 286px;
  width: 200px;
  object-fit: cover;
  object-position: 50% 12%;
  mix-blend-mode: screen;
  mask-image: linear-gradient(#000 75%, transparent);
  z-index: 1;
}
.hero-demo {
  position: absolute;
  bottom: 13px;
  right: 20px;
  z-index: 3;
  font-size: 8px;
  letter-spacing: 0.3px;
  color: #aaaab2;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.profile-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 17px;
  overflow: hidden;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.profile-cover {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  position: relative;
  overflow: hidden;
}
.profile-cover img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.profile-cover > .icon {
  width: 43px;
  height: 43px;
  color: #c7c7cf;
}
.profile-cover .pill {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--surface);
}
.profile-info {
  padding: 18px;
}
.profile-info h3 {
  margin: 0 0 7px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-info p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.profile-info > .icon {
  width: 17px;
  color: var(--muted);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: start;
}
.portrait-preview {
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 15px;
  overflow: hidden;
}
.portrait-preview img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.portrait-preview > .icon {
  width: 55px;
  height: 55px;
  color: var(--muted);
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
}
.asset {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  padding: 0;
  text-align: left;
  color: var(--ink);
}
.asset img {
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
  background: var(--soft);
}
.asset span {
  display: block;
  padding: 9px 6px;
  font-size: 10px;
  text-align: center;
}
.progress {
  height: 6px;
  border-radius: 9px;
  background: var(--line);
  overflow: hidden;
  margin-top: 12px;
}
.progress span {
  height: 100%;
  display: block;
  background: var(--accent);
  transition: width 0.4s;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.search-bar .icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
}
.search-bar input {
  padding-left: 43px;
  max-width: 400px;
}
.filters {
  display: flex;
  gap: 7px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.filter {
  padding: 8px 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
}
.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.voice-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.voice-symbol {
  width: 41px;
  height: 41px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  color: var(--accent);
}
.voice-card h3 {
  margin: 0 0 5px;
  font-size: 13px;
}
.voice-card p {
  font-size: 10px;
  margin: 0;
  color: var(--muted);
}
.voice-card button {
  margin-left: auto;
  flex-shrink: 0;
}
.table-wrap {
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.4px;
  font-weight: 500;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 19px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td {
  border-bottom: none;
}
td.number {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
.memory-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 24px;
}
.memory-item {
  padding: 23px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.memory-item .body {
  flex: 1;
  min-width: 0;
}
.memory-item p {
  font-size: 13px;
  margin: 0 0 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.memory-item small {
  font-size: 10px;
}
.memory-item > .icon {
  color: var(--accent);
  margin-top: 3px;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 25px;
}
.metric {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.metric:first-child {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.metric .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 20px;
}
.metric:first-child .eyebrow {
  color: #a9a9b1;
}
.metric strong {
  font-size: 35px;
  font-weight: 550;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.metric strong small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 8px;
}
.metric > small {
  display: block;
  margin-top: 15px;
  font-size: 10px;
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
  margin-bottom: 23px;
}
.device-card .device-symbol {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 17px;
  margin-bottom: 24px;
}
.device-symbol .icon {
  width: 29px;
  height: 29px;
}
.device-card h3 {
  margin: 0 0 8px;
}
.device-card p {
  font-size: 11px;
  color: var(--muted);
}
.modal-shade {
  position: fixed;
  inset: 0;
  background: #12131975;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  z-index: 60;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 29px;
  width: 100%;
  max-width: 490px;
  max-height: calc(100dvh - 50px);
  overflow: auto;
  box-shadow: var(--shadow);
}
.modal.wide {
  max-width: 650px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.modal-head h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 0;
}
.modal p {
  font-size: 13px;
  color: var(--muted);
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 26px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  line-height: 1.65;
  font-size: 12px;
  font-weight: 400;
}
.check-row input {
  margin-top: 2px;
}
.price-row {
  padding: 20px;
  background: var(--soft);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.price-row strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.image-preview {
  max-height: 65vh;
  width: 100%;
  object-fit: contain;
  background: var(--soft);
  border-radius: 12px;
}
audio {
  width: 100%;
  height: 44px;
  margin: 10px 0;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
}
.login-story {
  background: #1b1c20;
  color: white;
  padding: 45px 56px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-story .brand small {
  color: #a1a1aa;
}
.login-story .brand img {
  width: 42px;
  height: 42px;
}
.login-illustration {
  display: flex;
  justify-content: center;
  flex: 1;
  min-height: 280px;
  max-height: 420px;
  position: relative;
  background: radial-gradient(ellipse, #ffffff14, transparent 65%);
  margin: 18px 0;
}
.login-illustration img {
  height: 100%;
  max-height: 410px;
  min-height: 250px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  mask-image: linear-gradient(#000 76%, transparent);
}
.login-story h1 {
  font-size: clamp(29px, 3.2vw, 44px);
  font-weight: 500;
  max-width: 520px;
  letter-spacing: -1.5px;
}
.login-story p {
  color: #a5a5af;
  font-size: 13px;
  max-width: 430px;
  margin-bottom: 24px;
}
.login-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 10px;
  color: #c6c6ce;
  margin-top: 3px;
}
.login-points span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.login-points .icon {
  width: 13px;
  height: 13px;
  color: #ef7177;
}
.login-body {
  display: flex;
  flex-direction: column;
  padding: 31px 45px;
  min-width: 0;
}
.login-body > .toolbar {
  justify-content: flex-end;
}
.login-form-wrap {
  max-width: 360px;
  margin: auto;
  width: 100%;
  padding: 45px 0;
}
.login-form-wrap h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin: 0 0 13px;
}
.login-form-wrap > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 33px;
}
.phone-row {
  display: flex;
  gap: 9px;
}
.phone-row select {
  width: 95px;
}
.login-bonus {
  margin-top: 29px;
  padding: 17px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.login-bonus strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  line-height: 1.7;
}
.login-bonus small {
  font-size: 10px;
  display: block;
  margin-top: 7px;
}
.login-footer {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  padding-top: 15px;
}
.mobile-menu {
  display: none;
}
.reference-thumb {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 10px;
}
.record-status {
  font-size: 12px;
  color: var(--accent);
  padding: 10px 0;
}
.audio-strip {
  position: fixed;
  bottom: 22px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 40px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 12px 17px;
  z-index: 40;
}
.audio-strip small {
  font-size: 11px;
}
.audio-strip audio {
  margin: 7px 0 0;
  height: 34px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101114;
  --surface: #191a1e;
  --ink: #f3f3f5;
  --muted: #92939e;
  --line: #2b2c33;
  --soft: #23242a;
  --shadow: 0 16px 56px #0004;
}
.portrait-preview .hint {
  padding: 25px;
  text-align: center;
}
.visually-muted {
  opacity: 0.65;
}
.face-editor {
  position: relative;
  height: 100%;
  max-width: 100%;
  user-select: none;
}
.face-editor.editable {
  cursor: crosshair;
  touch-action: none;
}
.portrait-preview .face-editor img {
  height: 100%;
  width: 100%;
  object-fit: fill;
  pointer-events: none;
}
.face-selection {
  position: absolute;
  border: 2px solid var(--accent);
  background: #ef414817;
  pointer-events: none;
}
.face-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.face-fields input {
  padding: 10px 8px;
}
.face-fields label {
  font-size: 10px;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 45px;
  }
  .hero {
    min-height: 320px;
  }
  .hero-art img {
    height: 320px;
  }
  .profile-cover {
    height: 280px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .app-main {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 28px;
  }
  .content {
    padding: 30px 28px;
  }
  .profile-grid,
  .voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy {
    padding: 29px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero-art img {
    width: 175px;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .metric {
    padding: 22px;
  }
  .metric strong {
    font-size: 29px;
  }
  .asset-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .login-story {
    padding: 35px;
  }
  .login-body {
    padding: 27px;
  }
  .audio-strip {
    left: calc(50% + 85px);
  }
}
@media (max-width: 760px) {
  h1 {
    font-size: 26px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 230px;
  }
  .sidebar.open {
    transform: none;
    box-shadow: 30px 0 100px #0004;
  }
  .app-main {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .content {
    padding: 26px 20px 40px;
  }
  .page-head {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 23px;
  }
  .page-head > div {
    flex: 1;
  }
  .page-head .btn {
    font-size: 0;
    padding: 11px;
    flex-shrink: 0;
  }
  .page-head .btn svg {
    width: 20px;
  }
  .page-head p {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 250px;
  }
  .hero-copy {
    padding: 25px 0 25px 24px;
  }
  .hero h2 {
    font-size: 26px;
  }
  .hero p {
    font-size: 11px;
  }
  .hero-art img {
    height: 250px;
    max-width: 100%;
    width: 150px;
  }
  .hero-demo {
    font-size: 7px;
    right: 14px;
    bottom: 10px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .profile-grid {
    gap: 13px;
  }
  .profile-cover {
    height: 190px;
  }
  .profile-info {
    padding: 14px;
  }
  .profile-info h3 {
    font-size: 12px;
  }
  .profile-info p {
    font-size: 10px;
  }
  .profile-cover .pill {
    left: 10px;
    top: 10px;
    font-size: 9px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .portrait-preview {
    height: 360px;
  }
  .asset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .voice-grid {
    gap: 12px;
  }
  .voice-card {
    padding: 14px;
    gap: 9px;
  }
  .voice-symbol {
    width: 32px;
    height: 36px;
    border-radius: 9px;
  }
  .voice-card .btn {
    padding: 7px;
    min-width: 32px;
    min-height: 32px;
  }
  .voice-card h3 {
    font-size: 12px;
  }
  .voice-card p {
    font-size: 9px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .metric:first-child {
    grid-column: 1/-1;
  }
  .metric {
    padding: 22px;
  }
  .metric .eyebrow {
    margin-bottom: 13px;
  }
  .metric strong {
    font-size: 30px;
  }
  .device-grid {
    grid-template-columns: 1fr;
  }
  .memory-item {
    padding: 19px;
    gap: 10px;
  }
  .memory-item .row {
    gap: 2px;
  }
  .memory-item .btn {
    padding: 6px;
    min-width: 31px;
    min-height: 31px;
  }
  .memory-item p {
    font-size: 12px;
  }
  .modal-shade {
    padding: 18px;
  }
  .modal {
    padding: 24px;
    max-height: calc(100dvh - 36px);
    border-radius: 18px;
  }
  .modal-head h2 {
    font-size: 20px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 28px 26px;
    min-height: 290px;
  }
  .login-story .brand {
    margin-bottom: 32px;
  }
  .login-story .brand img {
    width: 33px;
    height: 33px;
  }
  .login-story h1 {
    font-size: 31px;
    position: relative;
    z-index: 1;
    max-width: calc(100% - 140px);
    margin-bottom: 12px;
  }
  .login-story p {
    font-size: 11px;
    max-width: calc(100% - 140px);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
  }
  .login-illustration {
    position: absolute;
    right: -15px;
    bottom: -35px;
    width: 180px;
    height: 250px;
    min-height: 0;
    margin: 0;
    opacity: 0.75;
  }
  .login-illustration img {
    max-height: 260px;
    min-height: 0;
  }
  .login-points {
    display: none;
  }
  .login-body {
    padding: 18px 27px 25px;
  }
  .login-form-wrap {
    padding: 30px 0;
    max-width: 420px;
  }
  .login-form-wrap h2 {
    font-size: 24px;
  }
  .login-form-wrap > p {
    margin-bottom: 26px;
  }
  .login-footer {
    padding-top: 0;
  }
  .audio-strip {
    left: 50%;
    bottom: 15px;
  }
  .section-head {
    margin: 26px 0 16px;
  }
  th,
  td {
    padding: 16px;
  }
  .surface {
    padding: 20px;
  }
  .nav a {
    font-size: 14px;
    padding: 14px;
  }
  .filter {
    padding: 8px 12px;
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  .content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero-copy {
    padding-left: 19px;
  }
  .hero h2 {
    font-size: 23px;
  }
  .hero p {
    font-size: 10px;
  }
  .hero-art img {
    width: 120px;
  }
  .hero .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .profile-cover {
    height: 170px;
  }
  .profile-info p {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .metric strong {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
  }
}
