:root {
  color-scheme: light;
  --bg: #f5f8fd;
  --bg-warm: #fff8f6;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --line: rgba(108, 123, 154, 0.18);
  --text: #14213f;
  --muted: #667391;
  --soft: #eef3fb;
  --primary: #4f7dff;
  --primary-strong: #315deb;
  --violet: #8066ff;
  --green: #2eb872;
  --amber: #f59e35;
  --red: #e75f68;
  --shadow: 0 24px 72px rgba(72, 86, 124, 0.13);
  --soft-shadow: 0 16px 36px rgba(79, 104, 160, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1180px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 31% 11%, rgba(75, 126, 255, 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255, 180, 161, 0.18), transparent 28%),
    radial-gradient(circle at 65% 77%, rgba(128, 102, 255, 0.13), transparent 30%),
    linear-gradient(120deg, #f4f8ff 0%, #fbf7fb 48%, #f9fbff 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
textarea,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 238px minmax(920px, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 40px 22px 24px;
  border-right: 1px solid rgba(222, 230, 246, 0.66);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 255, 0.62));
  backdrop-filter: blur(30px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: #14213f;
  box-shadow: 0 14px 32px rgba(20, 33, 63, 0.18);
  color: #fff;
  line-height: 1;
}

.brand-mark strong {
  font-size: 24px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-title {
  margin: 0;
  font-size: 20px;
  font-weight: 780;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: #51607c;
  text-align: left;
  transition: 160ms ease;
}

.nav button.active,
.nav button:hover {
  border-color: rgba(79, 125, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(237, 243, 255, 0.7));
  box-shadow: var(--soft-shadow);
  color: var(--primary-strong);
}

.nav button.active .nav-icon {
  background: linear-gradient(145deg, #5d83ff, #6f65ff);
  color: #fff;
  box-shadow: 0 10px 22px rgba(79, 125, 255, 0.24);
}

.nav-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: var(--radius);
  color: inherit;
  font-weight: 850;
}

.sidebar-footer {
  position: absolute;
  right: 22px;
  bottom: 26px;
  left: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef4ff, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(79, 125, 255, 0.14);
  color: var(--primary-strong);
  font-weight: 850;
}

.logout-btn {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  color: #71809d;
  transition: 160ms ease;
}

.logout-btn:hover {
  background: #fff;
  color: var(--primary-strong);
}

.profile-name {
  margin: 0;
  font-weight: 800;
}

.profile-role {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.main {
  padding: 38px 28px 28px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

.page-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 800;
}

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

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.44fr) minmax(340px, 0.82fr);
  gap: 24px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.panel::after {
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), transparent 42%);
  content: "";
  pointer-events: none;
}

.auth-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.auth-card {
  width: min(440px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 255, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.auth-brand {
  margin-bottom: 26px;
}

.auth-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.auth-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.auth-submit {
  width: 100%;
  margin-top: 16px;
}

.auth-switch {
  width: 100%;
  margin-top: 10px;
}

.auth-note {
  margin-top: 16px !important;
  font-size: 13px;
}

.ai-mode-badge {
  min-width: 132px;
}

.ai-mode-badge.real {
  color: #237f55;
}

.ai-mode-badge.mock {
  color: #a76515;
}

.notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(79, 125, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(238, 243, 251, 0.62);
  color: #51607c;
  font-size: 13px;
  line-height: 1.6;
}

.privacy-notice {
  margin-top: 14px;
}

.panel-inner {
  position: relative;
  z-index: 1;
  padding: 26px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 820;
}

.section-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-record {
  position: relative;
  overflow: hidden;
  min-height: 418px;
  padding: 36px;
  background:
    radial-gradient(circle at 78% 78%, rgba(128, 102, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(218, 227, 255, 0.76) 60%, rgba(230, 211, 255, 0.66));
}

.hero-record::before {
  position: absolute;
  top: 164px;
  right: 42px;
  left: 42px;
  height: 94px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 8px,
      rgba(255, 255, 255, 0.76) 8px 10px,
      transparent 10px 19px
    );
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  opacity: 0.78;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 346px;
  place-items: center;
  text-align: center;
}

.record-orb {
  position: relative;
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 0 18px rgba(255, 255, 255, 0.18),
    0 0 0 34px rgba(255, 255, 255, 0.09),
    0 24px 52px rgba(79, 125, 255, 0.26);
  color: var(--primary);
  font-size: 0;
  transition: 160ms ease;
}

.record-orb::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(79, 125, 255, 0.15);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 125, 255, 0.08), transparent 68%);
  content: "";
}

.record-orb:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.88);
}

.record-orb.listening,
.record-orb:active {
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 18px rgba(79, 125, 255, 0.18),
    0 0 0 38px rgba(128, 102, 255, 0.12),
    0 26px 58px rgba(79, 125, 255, 0.3);
}

.mic-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 42px;
  height: 58px;
}

.mic-icon::before {
  position: absolute;
  top: 2px;
  left: 11px;
  width: 20px;
  height: 32px;
  border-radius: 14px;
  background: linear-gradient(180deg, #86a9ff, #3d6af2);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.5),
    0 10px 22px rgba(79, 125, 255, 0.28);
  content: "";
}

.mic-icon::after {
  position: absolute;
  right: 6px;
  bottom: 7px;
  left: 6px;
  height: 26px;
  border: solid #4f7dff;
  border-width: 0 3px 3px;
  border-radius: 0 0 18px 18px;
  content: "";
  box-shadow: 0 14px 0 -11px #4f7dff;
}

.quick-box {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  margin: 18px auto 0;
}

.quick-box textarea {
  min-height: 70px;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-title {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 850;
}

.voice-stage {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(640px, 100%);
  margin: 40px auto 18px;
}

.wave {
  height: 74px;
  opacity: 0.9;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 9px,
      rgba(255, 255, 255, 0.8) 9px 11px,
      transparent 11px 20px
    );
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.wave-left {
  transform: scaleX(-1);
}

.timer {
  margin: 8px 0 0;
  color: #18274b;
  font-size: 19px;
  font-weight: 800;
}

.notify-btn {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(79, 125, 255, 0.12);
  color: #101c3a;
  font-size: 24px;
}

.notify-btn::after {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet);
  content: "";
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid rgba(108, 123, 154, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  outline: none;
  transition: border 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

textarea {
  min-height: 124px;
  padding: 14px 15px;
  resize: vertical;
  line-height: 1.65;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea:focus,
input:focus,
select:focus {
  border-color: rgba(79, 125, 255, 0.54);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 125, 255, 0.1);
}

textarea.voice-active {
  border-color: rgba(79, 125, 255, 0.62);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 4px rgba(79, 125, 255, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(108, 123, 154, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 760;
  transition: 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
}

.btn.listening {
  border-color: rgba(79, 125, 255, 0.36);
  background: rgba(79, 125, 255, 0.12);
  color: var(--primary-strong);
}

.btn.ghost {
  background: transparent;
}

.btn.danger {
  color: #c24141;
}

.btn.danger:hover {
  border-color: rgba(194, 65, 65, 0.24);
  background: rgba(255, 235, 235, 0.68);
}

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

.icon-btn {
  width: 42px;
  min-width: 42px;
  padding: 0;
}

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

.stat-card {
  min-height: 106px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.metric-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 106px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46));
  transition: 160ms ease;
}

.metric-card:hover,
.recent-card:hover {
  border-color: rgba(79, 125, 255, 0.18);
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  display: block;
  margin-top: 9px;
  font-size: 30px;
  line-height: 1;
}

.metric-card strong.text-metric {
  font-size: 18px;
  line-height: 1.18;
  white-space: nowrap;
}

.metric-card small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 13px;
}

.metric-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #5d8cff, #3e67f4);
  box-shadow: 0 12px 26px rgba(79, 125, 255, 0.28);
  color: #fff;
  font-weight: 850;
}

.metric-icon.green {
  background: linear-gradient(145deg, #70d98b, #36b665);
  box-shadow: 0 12px 26px rgba(46, 184, 114, 0.22);
}

.metric-icon.amber {
  background: linear-gradient(145deg, #ffb75c, #ff8f38);
  box-shadow: 0 12px 26px rgba(245, 158, 53, 0.22);
}

.metric-icon.violet {
  background: linear-gradient(145deg, #9b80ff, #7158f0);
  box-shadow: 0 12px 26px rgba(128, 102, 255, 0.22);
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.status-dot.green {
  background: var(--green);
}

.status-dot.amber {
  background: var(--amber);
}

.status-dot.red {
  background: var(--red);
}

.status-dot.violet {
  background: var(--violet);
}

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

.item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-card {
  display: grid;
  grid-template-columns: 70px auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 14px 18px;
  border: 1px solid rgba(108, 123, 154, 0.13);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.42));
  color: var(--text);
  text-align: left;
  transition: 160ms ease;
}

.recent-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
}

.recent-date strong,
.recent-date span {
  display: block;
}

.recent-date strong {
  font-size: 19px;
}

.recent-date span,
.recent-arrow {
  color: var(--muted);
}

.record-details {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.record-details h4 {
  margin: 16px 0 10px;
  color: #253454;
}

.dimension-box {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.donut {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      #4f7dff 0 calc(var(--p1) * 1%),
      #7ea8ff calc(var(--p1) * 1%) calc((var(--p1) + var(--p2)) * 1%),
      #b8c9ff calc((var(--p1) + var(--p2)) * 1%) calc((var(--p1) + var(--p2) + var(--p3)) * 1%),
      #e1dcff calc((var(--p1) + var(--p2) + var(--p3)) * 1%) 100%
    );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  filter: drop-shadow(0 18px 30px rgba(79, 125, 255, 0.12));
}

.donut > div {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 12px;
}

.donut strong {
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

.dimension-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dimension-legend div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.dimension-legend strong {
  color: #5f6d89;
}

.item.compact {
  grid-template-columns: minmax(0, 1fr) auto;
}

.item-title {
  margin: 0;
  font-weight: 780;
}

.item-meta,
.item-desc {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--radius);
  background: var(--soft);
  color: #51607c;
  font-size: 12px;
  font-weight: 700;
}

.badge.high {
  background: rgba(231, 95, 104, 0.13);
  color: #be414b;
}

.badge.medium {
  background: rgba(245, 158, 53, 0.15);
  color: #a76515;
}

.badge.low {
  background: rgba(46, 184, 114, 0.14);
  color: #237f55;
}

.empty {
  padding: 24px;
  border: 1px dashed rgba(108, 123, 154, 0.24);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

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

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #51607c;
  font-size: 13px;
  font-weight: 760;
}

.field.full {
  grid-column: 1 / -1;
}

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

.structured-grid textarea {
  min-height: 96px;
}

.generated-output {
  min-height: 280px;
  white-space: pre-wrap;
}

.daily-summary-preview {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(96, 126, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.daily-summary-preview h4 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.mini-project-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  gap: 10px;
  margin-bottom: 14px;
}

.mini-project-form input {
  min-width: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-weight: 720;
}

.tab.active {
  border-color: rgba(79, 125, 255, 0.35);
  background: rgba(79, 125, 255, 0.1);
  color: var(--primary-strong);
}

.split {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px;
}

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

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(20, 33, 63, 0.92);
  box-shadow: var(--shadow);
  color: #fff;
}

.footer-line {
  margin-top: 18px;
  color: #8a94ad;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1120px) {
  body {
    min-width: 1040px;
  }

  .app-shell {
    grid-template-columns: 238px minmax(800px, 1fr);
  }

  .main {
    padding: 34px 28px;
  }

  .layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
