/* ==========================================================================
   三农主播招募系统 · 设计系统 v2
   规则：绿色只用于「行动」，琥珀色只用于「积分 / 奖励」，其余一律中性灰阶
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌绿 */
  --green-900: #04342c;
  --green-800: #085041;
  --green-700: #0f6e56;
  --green-600: #16805f;
  --green-500: #1d9e75;
  --green-300: #5dcaa5;
  --green-100: #e1f5ee;
  --green-50: #f1faf6;

  /* 琥珀 · 仅积分 / 奖励 */
  --amber-700: #8a5300;
  --amber-500: #ef9f27;
  --amber-300: #fac775;
  --amber-100: #faeeda;

  /* 中性 */
  --text: #1f2a26;
  --text-2: #5f6b66;
  --text-3: #8a958f;
  --line: #e6ebe8;
  --line-2: #f0f4f2;
  --bg: #f5f8f6;
  --card: #ffffff;
  --card-2: #fbfdfc;
  --danger: #d64545;
  --danger-100: #fcebeb;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-full: 999px;

  /* 字号 */
  --fs-hero: 25px;
  --fs-h1: 20px;
  --fs-h2: 16px;
  --fs-h3: 15px;
  --fs-body: 14px;
  --fs-sm: 13px;
  --fs-xs: 12px;
  --fs-2xs: 11px;

  /* 间距节奏 */
  --s1: 6px;
  --s2: 10px;
  --s3: 14px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 32px;

  /* 阴影（只给浮层用） */
  --sh-1: 0 1px 2px rgba(16, 40, 32, .05);
  --sh-2: 0 4px 16px rgba(16, 40, 32, .08);
  --sh-3: 0 12px 34px rgba(16, 40, 32, .14);

  --topbar-h: 57px;
  --tabbar-h: 62px;
}

/* ---------- 2. 基础 ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--green-700); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. 布局 ---------- */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--s4) var(--s7); }
.wrap-wide { max-width: 1080px; }
.page-narrow { max-width: 560px; }
.row { display: flex; gap: var(--s2); }
.row > * { flex: 1; min-width: 0; }
.grid-2 { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
.grid-2 > div { min-width: 0; }
.grid-2 > div > .card:not(:first-child) { margin-top: var(--s3); }

/* ---------- 4. 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  min-height: var(--topbar-h);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px var(--s4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
}
.topbar .brand { font-size: var(--fs-h3); font-weight: 500; letter-spacing: .2px; }
.topbar .sub { font-size: var(--fs-2xs); color: var(--text-3); margin-top: 1px; }
.topbar .tools { display: flex; gap: var(--s1); flex: 0 0 auto; }
.ident { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.avatar {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: var(--r-full);
  background: var(--green-100); color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-body); font-weight: 500;
}
.avatar.amber { background: var(--amber-100); color: var(--amber-700); }

/* ---------- 5. 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s4);
  box-shadow: var(--sh-1);
}
.card + .card { margin-top: var(--s3); }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s2); margin-bottom: var(--s3);
}
.card h3 {
  margin: 0; font-size: var(--fs-h3); font-weight: 500;
  display: flex; align-items: center; gap: var(--s1);
}
.card h3 .badge { font-weight: 400; }
.card .hint { color: var(--text-3); font-size: var(--fs-xs); margin-top: var(--s2); line-height: 1.55; }
.card .hint.center { text-align: center; }

/* ---------- 6. Hero（报名页） ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, #04342c 0%, #0f6e56 52%, #1d9e75 100%);
  color: #fff;
  padding: 40px var(--s5) 56px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.hero::after {
  content: ""; position: absolute; right: -56px; top: -64px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}
.hero::before {
  content: ""; position: absolute; left: -30px; bottom: -70px;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-2xs); padding: 4px 11px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22);
  margin-bottom: var(--s3); position: relative; z-index: 1;
}
.hero-tag i {
  width: 6px; height: 6px; border-radius: 50%; background: #7ff0c4;
  display: block; box-shadow: 0 0 0 3px rgba(127, 240, 196, .22);
}
.hero h1 {
  font-size: var(--fs-hero); line-height: 1.3; font-weight: 500;
  margin: 0 0 var(--s2); letter-spacing: .3px; position: relative; z-index: 1;
}
.hero p { margin: 0; opacity: .93; font-size: var(--fs-body); line-height: 1.65; position: relative; z-index: 1; }
.hero .company {
  margin-top: var(--s4); font-size: var(--fs-xs); opacity: .8;
  position: relative; z-index: 1;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s4); position: relative; z-index: 1; }
.hero-chips span {
  font-size: var(--fs-2xs); padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18);
}
.pull { margin-top: -30px; position: relative; z-index: 2; }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: var(--r-md);
  padding: 12px var(--s4); font-size: var(--fs-h3); font-weight: 500;
  background: var(--green-500); color: #fff; cursor: pointer;
  transition: background .16s, border-color .16s, transform .06s, opacity .16s;
  white-space: nowrap;
}
.btn:active { background: var(--green-700); transform: scale(.99); }
.btn.block { width: 100%; }
.btn.ghost { background: #fff; color: var(--green-700); border-color: var(--green-500); }
.btn.ghost:active { background: var(--green-50); }
.btn.gray { background: #eef2f0; color: var(--text-2); border-color: transparent; }
.btn.gray:active { background: #e3eae6; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.danger-ghost { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn.amber { background: var(--amber-500); color: #4a2b00; }
.btn.sm { padding: 8px 13px; font-size: var(--fs-sm); }
.btn.xs { padding: 5px 10px; font-size: var(--fs-xs); border-radius: var(--r-sm); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- 8. 表单 ---------- */
label.field { display: block; margin-bottom: var(--s3); }
label.field:last-of-type { margin-bottom: 0; }
label.field > span { display: block; font-size: var(--fs-sm); color: var(--text-2); margin-bottom: var(--s1); }
input, select, textarea {
  width: 100%; font-size: 16px; font-family: inherit;
  padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card-2); color: var(--text); outline: none;
  transition: border-color .16s, background .16s, box-shadow .16s;
}
input::placeholder, textarea::placeholder { color: #a9b3ae; }
input:focus, select:focus, textarea:focus {
  border-color: var(--green-500); background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 158, 117, .12);
}
select { appearance: none; background-image: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
                    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
textarea { min-height: 84px; resize: vertical; font-size: var(--fs-body); line-height: 1.6; }
.field-note { font-size: var(--fs-2xs); color: var(--text-3); margin-top: var(--s1); }

/* 开关 */
.switch {
  display: flex; align-items: center; gap: var(--s2);
  padding: 11px 13px; background: var(--card-2);
  border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer;
  margin-bottom: var(--s3); font-size: var(--fs-body);
}
.switch input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 40px; height: 23px; flex: 0 0 auto; margin: 0; padding: 0;
  border: none; border-radius: var(--r-full); background: #dce5e0;
  position: relative; transition: background .18s; cursor: pointer;
}
.switch input[type="checkbox"]::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 17px; height: 17px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .18s;
}
.switch input[type="checkbox"]:checked { background: var(--green-500); }
.switch input[type="checkbox"]:checked::after { transform: translateX(17px); }
.switch span { flex: 1; min-width: 0; }
.switch.amber input[type="checkbox"]:checked { background: var(--amber-500); }

/* 登录页 */
.login { max-width: 400px; margin: 0 auto; padding: 12vh var(--s5) var(--s7); }
.login .logo {
  width: 52px; height: 52px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--green-700), var(--green-500));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-h1); font-weight: 500; margin-bottom: var(--s4);
  box-shadow: var(--sh-2);
}
.login h1 { font-size: var(--fs-h1); font-weight: 500; margin: 0 0 4px; }
.login .tip { color: var(--text-3); font-size: var(--fs-sm); margin: 0 0 var(--s5); }

/* ---------- 9. 徽标 / 标签 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-2xs); padding: 2px 9px; border-radius: var(--r-full);
  background: var(--green-100); color: var(--green-700); white-space: nowrap;
}
.badge.gray { background: #eef2f0; color: var(--text-3); }
.badge.amber { background: var(--amber-100); color: var(--amber-700); }
.badge.red { background: var(--danger-100); color: var(--danger); }
.badge.outline { background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.rank-dot {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-2xs); font-weight: 500;
  background: #eef2f0; color: var(--text-3);
}
.rank-dot.r1 { background: var(--amber-500); color: #4a2b00; }
.rank-dot.r2 { background: var(--amber-300); color: #5c3800; }
.rank-dot.r3 { background: var(--amber-100); color: var(--amber-700); }

/* ---------- 10. 指标卡 ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.stats.c3 { grid-template-columns: repeat(3, 1fr); }
.stats + .stats { margin-top: var(--s2); }
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 13px var(--s3);
  box-shadow: var(--sh-1); min-width: 0;
}
.stat .k {
  font-size: var(--fs-2xs); color: var(--text-3);
  display: flex; align-items: center; gap: 5px; margin-bottom: 2px;
}
.stat .k i {
  width: 6px; height: 6px; border-radius: 2px; background: var(--green-300);
  display: block; flex: 0 0 auto;
}
.stat .n {
  font-size: 23px; font-weight: 500; color: var(--green-700);
  line-height: 1.25; letter-spacing: -.3px;
}
.stat .n.amber { color: #b26a00; }
.stat .n.dark { color: var(--text); }
/* 卡片内的指标卡改用浅底，避免白底套白底 */
.card .stat { background: var(--bg); border-color: transparent; box-shadow: none; }

/* ---------- 11. 列表 ---------- */
.list { margin: 0; padding: 0; list-style: none; }
.list li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.list > li:last-child { border-bottom: none; }
.list > li:first-child { padding-top: 2px; }
.list .l-main { font-size: var(--fs-body); min-width: 0; }
.list .l-sub { font-size: var(--fs-2xs); color: var(--text-3); margin-top: 1px; }
.list .l-val { font-size: var(--fs-body); font-weight: 500; color: var(--green-700); white-space: nowrap; }
.list .l-val.muted { color: var(--text-2); font-weight: 400; font-size: var(--fs-xs); }
.list .l-val.pos { color: var(--green-700); }
.list .l-val.neg { color: var(--danger); }
.list li.block { display: block; }
.list .li-actions { display: flex; gap: var(--s1); flex-wrap: wrap; margin-top: var(--s2); }
.list li.is-me { background: var(--green-50); border-radius: var(--r-sm); padding-left: var(--s2); padding-right: var(--s2); }

/* 名次行 */
.list .rank-dot + * { margin-left: 0; }
.list li .l-lead { display: flex; align-items: center; gap: var(--s2); min-width: 0; }

/* ---------- 12. 空状态 / 骨架屏 ---------- */
.empty { text-align: center; color: var(--text-3); font-size: var(--fs-sm); padding: 26px var(--s3); }
.empty .em-ico {
  width: 44px; height: 44px; margin: 0 auto var(--s2); border-radius: var(--r-lg);
  background: var(--green-50); border: 1px dashed var(--green-300);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-h2); color: var(--green-500);
}
.empty .em-t { color: var(--text-2); font-size: var(--fs-sm); }
.empty .em-s { font-size: var(--fs-2xs); margin-top: 2px; }
.skeleton {
  height: 14px; border-radius: var(--r-sm);
  background: linear-gradient(90deg, #eef2f0 25%, #f7faf8 37%, #eef2f0 63%);
  background-size: 400% 100%; animation: sk 1.4s ease infinite;
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 13. 链接框 / 二维码 ---------- */
.linkbox {
  background: var(--green-50); border: 1px dashed var(--green-500);
  border-radius: var(--r-md); padding: 11px 13px;
  font-size: var(--fs-sm); word-break: break-all; color: var(--green-900);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.5;
}
.qr { display: flex; justify-content: center; padding: var(--s3) 0 0; }
.qr-inner {
  padding: var(--s2); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-1);
}
.qr img, .qr canvas { width: 176px; height: 176px; border-radius: 4px; }

/* ---------- 14. 表格（PC 后台） ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--card);
}
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th, .table td { padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table th {
  color: var(--text-3); font-weight: 400; font-size: var(--fs-2xs);
  background: #fafcfb; position: sticky; top: 0;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--green-50); }
.table .t-name { font-weight: 500; }
.table .t-actions { display: flex; gap: var(--s1); }
.only-pc { display: none !important; }
.only-mobile { display: block; }

/* ---------- 15. 趋势图 ---------- */
.chart {
  display: flex; align-items: flex-end; gap: var(--s1);
  height: 136px; padding: var(--s2) 2px 0;
  border-bottom: 1px solid var(--line);
}
.chart .bar {
  flex: 1; min-width: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px;
}
.chart .bar b { font-size: var(--fs-2xs); font-weight: 400; color: var(--text-3); line-height: 1; }
.chart .bar b.on { color: var(--green-700); font-weight: 500; }
.chart .bar i {
  display: block; width: 100%; max-width: 30px;
  background: var(--green-100); border-radius: 5px 5px 0 0; min-height: 3px;
  transition: background .16s;
}
.chart .bar i.on { background: var(--green-500); }
.chart .bar:hover i { background: var(--green-700); }
.chart .bar em { font-size: var(--fs-2xs); color: var(--text-3); font-style: normal; line-height: 1; }

/* ---------- 16. Toast ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + 18px); z-index: 90;
  background: rgba(20, 30, 26, .94); color: #fff;
  padding: 11px var(--s4); border-radius: var(--r-md);
  font-size: var(--fs-sm); max-width: 88%; text-align: center;
  box-shadow: var(--sh-3); animation: toast-in .22s ease;
}
.toast.err { background: rgba(166, 42, 42, .96); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- 17. 导航：移动底栏 / PC 侧边栏 ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav button {
  flex: 1; border: none; background: none; cursor: pointer;
  padding: 9px 4px 8px; font-size: var(--fs-2xs); color: var(--text-3);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: color .16s; position: relative;
}
.nav button svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav button.on { color: var(--green-700); }
.nav button.on::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 2px; border-radius: var(--r-full); background: var(--green-500);
}
.has-nav { padding-bottom: calc(var(--tabbar-h) + 22px + env(safe-area-inset-bottom)); }

/* 吸底悬浮条（报名页） */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: var(--s2) var(--s4) calc(var(--s2) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: var(--s3);
  max-width: 560px; margin: 0 auto;
}
.sticky-cta .cta-t { font-size: var(--fs-2xs); color: var(--text-3); line-height: 1.35; }
.sticky-cta .cta-t strong { display: block; color: var(--text); font-size: var(--fs-sm); font-weight: 500; }
.sticky-cta .btn { flex: 0 0 auto; min-width: 132px; }

/* ---------- 18. 成功态 ---------- */
.done-wrap { text-align: center; padding: var(--s2) 0 4px; }
.done-ico {
  width: 58px; height: 58px; margin: 0 auto var(--s3); border-radius: var(--r-full);
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  animation: pop .32s cubic-bezier(.2, 1.4, .5, 1);
}
.done-ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* 勾选条目 */
.tick {
  width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%;
  background: var(--green-100); position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 6px; top: 4px;
  width: 4px; height: 7px;
  border: solid var(--green-700); border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
}
.tick.amber { background: var(--amber-100); }
.tick.amber::after { border-color: var(--amber-700); }

/* ---------- 19. 工具类 ---------- */
.hide { display: none !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--text-3); }
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.mb-0 { margin-bottom: 0; }
.nowrap-flex { flex: 0 0 auto; }
.foot { text-align: center; color: var(--text-3); font-size: var(--fs-2xs); margin-top: var(--s5); line-height: 1.7; }
.has-cta { padding-bottom: 104px; }

/* ---------- 20. 响应式：平板 / PC ---------- */
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 54px var(--s7) 66px; border-radius: 0 0 28px 28px; }
  .hero h1 { font-size: 30px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .only-pc { display: block !important; }
  .only-mobile { display: none !important; }
  .toast { bottom: 34px; }
  .has-cta { padding-bottom: var(--s7); }
}

/* PC 后台：左侧竖排导航 */
@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); align-items: start; }
  .shell > .nav {
    position: sticky; top: var(--topbar-h); left: auto; right: auto; bottom: auto;
    height: calc(100vh - var(--topbar-h));
    flex-direction: column; gap: 2px; padding: var(--s3) var(--s2);
    border-top: none; border-right: 1px solid var(--line);
    background: var(--card);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .shell > .nav button {
    flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: var(--s2);
    padding: 10px 13px; font-size: var(--fs-body); border-radius: var(--r-md);
    width: 100%;
  }
  .shell > .nav button svg { width: 18px; height: 18px; }
  .shell > .nav button.on { background: var(--green-100); color: var(--green-700); }
  .shell > .nav button.on::before { display: none; }
  .shell > .nav button:hover:not(.on) { background: var(--line-2); }
  .has-nav { padding-bottom: var(--s7); }
  .shell > .content { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
