:root {
  --primary: #2f6fff;
  --primary-dark: #1d4ed8;
  --primary-soft: #eaf2ff;
  --bg: #f6f9ff;
  --card: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --border: #e6edf7;
  --danger: #dc2626;
  --success-bg: #eaf8ef;
  --success: #16a34a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  align-items: center;
  height: 70px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(30, 64, 175, 0.06);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.user-area,
.form-row,
.filters,
.modal-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 17px;
  font-weight: 800;
}

.logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  border-radius: 9px;
  background: linear-gradient(135deg, #5b8cff, var(--primary));
  box-shadow: 0 10px 22px rgba(47, 111, 255, 0.28);
}

.nav {
  justify-content: center;
  gap: 38px;
}

.nav-link {
  height: 70px;
  padding: 0 8px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.nav-text {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.user-area {
  position: relative;
  justify-content: flex-end;
  gap: 18px;
}

.btn {
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, var(--primary));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #2563eb, var(--primary-dark));
}

.btn.small {
  height: 34px;
  padding: 0 18px;
}

.btn.ghost {
  color: var(--text);
  background: #f1f5f9;
}

.btn.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid #b8cef3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn.danger {
  color: #fff;
  background: var(--danger);
}

main {
  max-width: none;
  min-height: calc(100vh - 170px);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 560px) 1fr;
  align-items: center;
  min-height: 620px;
  padding: 82px max(64px, calc((100vw - 1180px) / 2)) 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(95, 148, 255, 0.22) 0, rgba(95, 148, 255, 0) 32%),
    linear-gradient(115deg, #f8fbff 0%, #eef5ff 58%, #e5f0ff 100%);
}

.hero::after {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -95px;
  height: 160px;
  content: "";
  background: #fff;
  border-radius: 50% 50% 0 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 8px 14px;
  color: #2563eb;
  font-weight: 800;
  background: rgba(239, 246, 255, 0.88);
  border-radius: 999px;
}

.eyebrow::before {
  width: 16px;
  height: 16px;
  content: "";
  background: radial-gradient(circle, #fff 22%, var(--primary) 24%);
  border-radius: 50%;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: 52px;
  line-height: 1.22;
  letter-spacing: -1.5px;
}

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

.hero p {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  color: var(--muted);
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 36px;
}

.hero-actions .btn {
  height: 58px;
  padding: 0 34px;
  border-radius: 14px;
  font-size: 16px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.hero-metrics div {
  position: relative;
  padding-left: 28px;
}

.hero-metrics div::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  content: "";
  background: linear-gradient(135deg, #60a5fa, var(--primary));
  border-radius: 5px;
  box-shadow: 0 8px 14px rgba(47, 111, 255, 0.22);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 470px;
}

.hero-visual::before {
  position: absolute;
  inset: 22px 20px 0 80px;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.74), rgba(202, 222, 255, 0.26));
  border-radius: 50%;
}

.mic-scene {
  position: absolute;
  right: 130px;
  bottom: 20px;
  width: 250px;
  height: 350px;
}

.mic-head {
  position: absolute;
  left: 82px;
  top: 24px;
  width: 104px;
  height: 148px;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px) 0 0 / 13px 13px,
    linear-gradient(145deg, #dbeafe, #2f6fff 68%);
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 70px 70px 54px 54px;
  box-shadow: 0 28px 56px rgba(37, 99, 235, 0.32);
  transform: rotate(10deg);
}

.mic-head::after {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 42px;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 15px 0 rgba(255, 255, 255, 0.5);
}

.mic-body {
  position: absolute;
  left: 93px;
  top: 150px;
  width: 104px;
  height: 98px;
  border: 11px solid #2f6fff;
  border-top: 0;
  border-radius: 0 0 54px 54px;
  transform: rotate(10deg);
}

.mic-stand {
  position: absolute;
  left: 134px;
  top: 232px;
  width: 22px;
  height: 82px;
  background: linear-gradient(180deg, #72a4ff, #1d4ed8);
  border-radius: 999px;
}

.mic-base {
  position: absolute;
  left: 52px;
  bottom: 0;
  width: 174px;
  height: 46px;
  background: linear-gradient(180deg, #7db0ff, #2f6fff);
  border-radius: 50%;
  box-shadow: 0 24px 36px rgba(37, 99, 235, 0.28);
}

.float-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 234, 254, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(59, 130, 246, 0.14);
  backdrop-filter: blur(12px);
}

.wave-card {
  top: 92px;
  left: 80px;
  width: 150px;
  height: 78px;
}

.wave-card span {
  position: absolute;
  inset: 24px;
  background: repeating-linear-gradient(90deg, #8cb6ff 0 6px, transparent 6px 18px);
  border-radius: 12px;
}

.profile-card {
  top: 112px;
  right: 0;
  width: 166px;
  height: 84px;
}

.profile-card i {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #93c5fd, var(--primary));
  border-radius: 50%;
}

.profile-card span {
  position: absolute;
  left: 78px;
  top: 28px;
  width: 58px;
  height: 10px;
  background: #cbdcf8;
  border-radius: 999px;
  box-shadow: 0 20px 0 #e2ebfb;
}

.play-card {
  left: 90px;
  bottom: 140px;
  width: 112px;
  height: 82px;
}

.play-card::before {
  position: absolute;
  left: 40px;
  top: 25px;
  width: 0;
  height: 0;
  content: "";
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--primary);
}

.shield-card {
  right: 58px;
  bottom: 104px;
  width: 116px;
  height: 98px;
}

.shield-card::before {
  position: absolute;
  left: 34px;
  top: 18px;
  width: 48px;
  height: 58px;
  content: "";
  background: linear-gradient(135deg, #60a5fa, #1d4ed8);
  clip-path: polygon(50% 0, 92% 18%, 84% 72%, 50% 100%, 16% 72%, 8% 18%);
}

.shield-card::after {
  position: absolute;
  left: 51px;
  top: 42px;
  width: 24px;
  height: 12px;
  content: "";
  border-bottom: 5px solid #fff;
  border-left: 5px solid #fff;
  transform: rotate(-45deg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-grid article,
.card,
.modal,
.popover {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.feature-grid article {
  min-height: 240px;
  padding: 34px 28px;
  text-align: center;
  border-radius: 20px;
  transition: 0.18s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.feature-grid h3 {
  margin: 18px 0 12px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-title {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding-top: 56px;
  text-align: center;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 20px 32px rgba(59, 130, 246, 0.14);
}

.talent-icon {
  background:
    radial-gradient(circle at 50% 32%, #fff 0 9px, transparent 10px),
    radial-gradient(circle at 50% 68%, #fff 0 22px, transparent 23px),
    linear-gradient(135deg, #818cf8, #4f46e5);
}

.audit-icon {
  background:
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.8) 41% 58%, transparent 59%),
    linear-gradient(135deg, #5eead4, #14b8a6);
  clip-path: polygon(50% 4%, 88% 20%, 82% 72%, 50% 96%, 18% 72%, 12% 20%);
}

.cloud-icon {
  background:
    radial-gradient(circle at 34% 56%, #fff 0 16px, transparent 17px),
    radial-gradient(circle at 52% 42%, #fff 0 24px, transparent 25px),
    radial-gradient(circle at 70% 58%, #fff 0 18px, transparent 19px),
    linear-gradient(135deg, #93c5fd, #2563eb);
}

.settle-icon {
  background:
    conic-gradient(from -30deg, #f97316 0 75%, transparent 75% 100%),
    linear-gradient(135deg, #fed7aa, #fb923c);
}

.card {
  padding: 24px;
  border-radius: 22px;
}

.task-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin: 24px auto 22px;
  padding: 24px 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 42%, rgba(47, 111, 255, 0.16) 0, rgba(47, 111, 255, 0) 28%),
    linear-gradient(135deg, #eef4ff 0%, #e8eef8 58%, #f8fbff 100%);
  border: 1px solid #dbe7fb;
  border-top: 3px solid rgba(47, 111, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(30, 64, 175, 0.08);
}

.task-hero::after {
  position: absolute;
  right: 170px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  content: "";
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.task-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.task-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

.task-hero .btn {
  position: relative;
  z-index: 1;
  min-width: 118px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(47, 111, 255, 0.24);
}

.filters {
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid #e7eefb;
  border-radius: 18px;
}

input,
select,
textarea {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus,
.editor:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.filters input {
  width: 320px;
}

.filters input,
.filters select {
  height: 44px;
  border-color: #dbe7fb;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.filters select {
  min-width: 132px;
  color: #334155;
  cursor: pointer;
}

.filters .btn {
  height: 44px;
  min-width: 86px;
  border-radius: 14px;
}

.table-wrap {
  overflow: auto;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.pagination-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  line-height: 34px;
}

.page-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 34px;
  white-space: nowrap;
}

.page-jump input {
  display: inline-block;
  width: 72px;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border-color: #dbe7fb;
  border-radius: 10px;
  line-height: 34px;
  vertical-align: middle;
}

.pagination .btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  white-space: nowrap;
}

th {
  color: #334155;
  background: #f7faff;
}

td.title-cell {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  color: var(--success);
  background: var(--success-bg);
  border-radius: 999px;
}

.link-btn {
  margin-right: 12px;
  color: var(--primary);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.link-btn.danger-text {
  color: var(--danger);
}

footer {
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 6px 0;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.5);
}

.modal {
  position: relative;
  width: 440px;
  max-height: calc(100vh - 60px);
  padding: 28px;
  overflow: auto;
  border-radius: 22px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  cursor: pointer;
}

.modal-close:hover {
  color: #1e293b;
  background: #eef4ff;
  border-color: #bfdbfe;
}

.modal.large {
  width: 760px;
}

.modal.small {
  width: 390px;
}

.modal h2 {
  margin: 0 0 22px;
  text-align: center;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 700;
}

label input {
  width: 100%;
  font-weight: 400;
}

.form-row {
  gap: 16px;
}

.form-row label {
  flex: 1;
}

.rich-field {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 16px;
}

.rich-label {
  position: relative;
  padding-top: 10px;
  font-weight: 700;
}

.rich-field.required .rich-label::before {
  margin-right: 6px;
  color: var(--danger);
  content: "*";
}

.rich-editor {
  border: 1px solid #d8e2f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.rich-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 5px 12px;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
}

.rich-toolbar button {
  position: relative;
  min-width: 24px;
  height: 28px;
  padding: 0;
  color: #6b7280;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.rich-toolbar .tool-btn {
  padding: 0;
}

.rich-toolbar .bold {
  font-weight: 900;
}

.rich-toolbar .italic {
  font-style: italic;
}

.rich-toolbar .underline {
  text-decoration: underline;
}

.rich-toolbar button:hover {
  color: #334155;
  background: #f3f6fa;
}

.icon-list::before,
.icon-ordered::before,
.icon-link::before,
.icon-image::before,
.icon-clear::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: inherit;
  content: "";
}

.icon-list::before {
  content: "☷";
  font-size: 18px;
}

.icon-ordered::before {
  content: "☰";
  font-size: 17px;
}

.icon-link::before {
  content: "↔";
  font-size: 18px;
}

.icon-image::before {
  inset: 4px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cg%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='4'%20y='5'%20width='16'%20height='14'%20rx='2'/%3E%3Ccircle%20cx='9'%20cy='10'%20r='1.2'%20fill='black'%20stroke='none'/%3E%3Cpath%20d='M7%2017l4-4%203%203%202-2%203%203'/%3E%3C/g%3E%3C/svg%3E") center / 20px 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cg%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='4'%20y='5'%20width='16'%20height='14'%20rx='2'/%3E%3Ccircle%20cx='9'%20cy='10'%20r='1.2'%20fill='black'%20stroke='none'/%3E%3Cpath%20d='M7%2017l4-4%203%203%202-2%203%203'/%3E%3C/g%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.icon-image {
  overflow: hidden;
}

.icon-clear::before {
  content: "◇";
  font-size: 19px;
}

.tool-divider {
  width: 1px;
  height: 22px;
  margin: 0 3px;
  background: #e4e9f0;
}

.color-tool {
  position: relative;
  width: 28px;
  height: 28px;
  margin: 0;
  color: #111827;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.color-tool::before {
  position: absolute;
  top: 6px;
  left: 5px;
  width: 18px;
  height: 14px;
  content: "";
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.color-tool:hover {
  background: #f3f6fa;
}

.color-tool input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.native-editor {
  min-height: 126px;
  padding: 16px 18px;
  outline: none;
  font-size: 14px;
  line-height: 1.8;
  background: #fff;
}

.native-editor:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
}

.native-editor:focus {
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.native-editor img {
  display: block;
  max-width: 100%;
  margin: 10px 0;
  border-radius: 10px;
}

.modal-actions {
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.error {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--danger);
}

.success-message {
  color: var(--success);
}

.popover {
  position: absolute;
  top: 44px;
  right: 0;
  width: 230px;
  padding: 18px;
  border-radius: 16px;
}

.popover-title {
  margin-bottom: 6px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.text-danger {
  margin-top: 16px;
  padding: 0;
  color: var(--danger);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.auth-tip {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
}

.text-link {
  padding: 0;
  color: var(--primary);
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.empty-state {
  padding: 42px 0;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  padding: 14px 18px;
  color: #fff;
  background: rgba(15, 23, 42, 0.92);
  border-radius: 12px;
}

.toast.prominent {
  top: 24px;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 120;
  min-width: 360px;
  padding: 18px 28px;
  color: #b91c1c;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  background: #fff1f2;
  border: 1px solid #fca5a5;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(220, 38, 38, 0.24);
  transform: translateX(-50%);
}

.hidden {
  display: none !important;
}

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

  .nav,
  .user-area,
  .hero {
    justify-content: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero,
  .form-row,
  .task-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    display: flex;
    min-height: auto;
    padding: 48px 16px 86px;
  }

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

  .hero-actions,
  .hero-metrics,
  .pagination {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .pagination {
    align-items: stretch;
  }

  .pagination-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero-visual {
    min-height: 360px;
  }

  .mic-scene {
    right: 50%;
    transform: translateX(50%) scale(0.82);
  }

  .wave-card {
    left: 12px;
  }

  .profile-card {
    right: 10px;
  }

  .play-card,
  .shield-card {
    bottom: 50px;
  }

  main,
  footer {
    padding: 0 16px;
  }

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

  .task-hero {
    margin-top: 18px;
    padding: 24px;
  }

  .toast.prominent {
    left: 16px;
    right: 16px;
    min-width: 0;
    transform: none;
  }
}
