:root {
  color-scheme: light;
  --page: #e9edf4;
  --ink: #1b2639;
  --muted: #44546a;
  --quiet: #526078;
  --blue: #294b81;
  --blue-wash: #d2dff8bd;
  --pane: #f8faff79;
  --glass: #f7f9fdd9;
  --bright: #ffffffcb;
  --line: #ffffffe0;
  --divider: #32406317;
  --field: #fbfcff7d;
  --shadow: 0 14px 34px #3855821a, inset 0 1px 1px #fffe, inset 0 -1px 0 #8f9fc824;
  --green: #355d55;
  --green-wash: #d8ebe4b5;
  --orange: #734d3d;
  --orange-wash: #f6e7ddb8;
  --red: #813a4e;
  --red-wash: #fae9efc7;
  --focus: #566cae;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; color: var(--ink); background: var(--page); isolation: isolate; }
body::before {
  content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 34% at 62% 34%, #ffdfc4 0%, #ffd8cdad 44%, transparent 82%),
    radial-gradient(ellipse 57% 44% at 64% 54%, #c2b8ed9c 3%, transparent 78%),
    radial-gradient(ellipse 75% 46% at 25% 58%, #9dbbea 0%, #adc5eda0 47%, transparent 87%),
    linear-gradient(158deg, #f2f6fb 4%, #e9eef5 32%, #b0c1e3 74%, #dce3ee 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { border: 0; color: inherit; cursor: pointer; }
button:disabled { opacity: .46; cursor: default; }
a:focus-visible, button:focus-visible, :is(input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.topbar-inner { max-width: 984px; padding: 21px 34px 0; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand {
  display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 4px 14px 4px 4px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--pane); box-shadow: var(--shadow);
  font-size: 15px; font-weight: 560; letter-spacing: -.028em; white-space: nowrap;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 2px 9px #35447140; }
.brand b { font-weight: inherit; }
.connection {
  background: var(--pane); border: 1px solid var(--line); border-radius: 100px; min-height: 44px; padding: 0 13px;
  display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 510;
}
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 100%; background: #929ab0; flex: none; }
.connection[data-ready="true"] .dot { background: #568d77; box-shadow: 0 0 0 3px #5a927522; }

#main { width: min(100%, 984px); margin: 0 auto; padding: 53px 34px calc(115px + env(safe-area-inset-bottom)); }
.screen-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 28px; }
.screen-head > div { min-width: 0; }
.eyebrow { font-size: 13px; font-weight: 450; color: var(--muted); margin-bottom: 7px; }
h1 { font-size: clamp(38px, 6vw, 58px); font-weight: 400; line-height: 1.08; letter-spacing: -.062em; overflow-wrap: anywhere; }
.subtitle { color: var(--muted); margin-top: 10px; font-size: 14px; line-height: 1.55; }
.home .screen-head { margin: 0 0 36px; }
.home h1 { font-size: clamp(44px, 7vw, 68px); font-weight: 400; }
.home .subtitle { margin-top: 8px; }
.button {
  min-height: 44px; border-radius: 100px; color: var(--ink); background: var(--glass); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 16px;
  font-size: 14px; font-weight: 560; white-space: nowrap;
}
.button.primary { color: #f8faff; background: linear-gradient(150deg, #5579b7, #34588f); border-color: #5b77a4; box-shadow: 0 4px 14px #30416d29, inset 0 1px 0 #ffffff5e; }
.button.soft { color: var(--blue); background: var(--field); }
.button.danger { background: var(--red-wash); color: var(--red); }
.button.plain { background: var(--pane); }
.button.full { width: 100%; }
.button:not(:disabled):active, .row-action:active, .quick-create:active { transform: scale(.98); }

.icon { display: inline-block; font-style: normal; width: 20px; height: 20px; flex: none; background-color: currentColor; mask: var(--symbol) center / contain no-repeat; }
.icon.grid { --symbol: url("/symbols/grid.png"); }
.icon.layers { --symbol: url("/symbols/layers.png"); }
.icon.tray { --symbol: url("/symbols/tray.png"); }
.icon.sliders { --symbol: url("/symbols/sliders.png"); }
.icon.plus { --symbol: url("/symbols/plus.png"); }
.icon.chevron { --symbol: url("/symbols/chevron.png"); }
.icon.back { --symbol: url("/symbols/chevron.png"); transform: rotate(180deg); }
.icon.arrow { --symbol: url("/symbols/arrow.png"); }
.icon.bell { --symbol: url("/symbols/bell.png"); }
.icon.mac { --symbol: url("/symbols/mac.png"); }
.icon.folder { --symbol: url("/symbols/folder.png"); }
.icon.code { --symbol: url("/symbols/code.png"); }
.icon.check { --symbol: url("/symbols/check.png"); }
.icon.close { --symbol: url("/symbols/plus.png"); transform: rotate(45deg); }
.icon.search { --symbol: url("/symbols/search.png"); }
.icon.refresh { --symbol: url("/symbols/refresh.png"); }
.icon.send { --symbol: url("/symbols/send.png"); }
.icon.stop { --symbol: url("/symbols/stop.png"); }

.hero {
  border-radius: 36px; overflow: hidden; background: linear-gradient(145deg, #fbfdffba, #f4f7fd70 64%, #f9fcffc4); border: 1px solid var(--line);
  box-shadow: 0 16px 44px #425d8c22, inset 0 1px 1px #fffd, inset 0 -1px 0 #7f94bb29;
  backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%);
}
.hero-main { min-height: 147px; padding: 25px 29px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hero-copy { min-width: 0; }
.hero-label { font-size: 13px; font-weight: 460; color: var(--muted); }
.hero h2 { font-size: clamp(29px, 5vw, 40px); line-height: 1.12; letter-spacing: -.055em; font-weight: 480; margin-top: 6px; }
.hero-summary { color: var(--muted); font-size: 13px; margin-top: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero-emblem {
  flex: none; position: relative; width: 85px; height: 85px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: linear-gradient(145deg, #fff8, #e7edff25 58%, #b6c5e769);
  box-shadow: 0 9px 17px #6c79aa2b, inset 0 0 11px #fff7;
}
.emblem-core {
  width: 61px; height: 61px; border-radius: 50%; display: grid; place-items: center; color: #f4f6ff;
  background: radial-gradient(circle at 35% 23%, #c3c8d6a6, transparent 16%),
    linear-gradient(151deg, transparent 44%, #6478b7 46%, #aebcf3 47%, #404d7e 49%, transparent 53%),
    radial-gradient(ellipse at 72% 16%, #536a9c 0%, #2c3c65 32%, #131c32 73%, #3a456d 100%);
  box-shadow: 0 5px 12px #293c6736, inset 0 0 0 1px #e5eeff5c;
}
.emblem-core .icon { width: 24px; height: 24px; filter: drop-shadow(0 1px 8px #3a487d); }
.emblem-signal {
  position: absolute; right: 8px; top: 5px; background: #f5e1cb; border: 2px solid #ffffffcf;
  width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 1px 6px #8b6d55a0;
}
.hero-footer {
  min-height: 58px; padding: 3px 29px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--pane); border-top: 1px solid var(--line);
}
.hero-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.hero-status .dot { background: #9d8390; }
.quick-actions { display: flex; justify-content: center; position: relative; margin: 15px 0 22px; }
.quick-actions::before {
  content: ""; position: absolute; top: -15px; left: 50%; width: 1px; height: 20px; background: #ffffffc7;
}
.quick-create {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 5px 19px 5px 6px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 550; font-size: 14px;
}
.create-orb {
  position: relative; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%;
  background: var(--bright); border: 1px solid var(--line); color: var(--blue);
}
.create-orb .icon { width: 18px; height: 18px; }
.create-orb::before {
  content: ""; width: 68px; height: 68px; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle, #fff 27%, transparent 46%) 0 0 / 4px 4px;
  mask-image: radial-gradient(ellipse at center, transparent 37%, #000b 49%, transparent 70%);
}

.home-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; }
.running-tasks { margin-bottom: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 7px 7px; }
.section-head h2 { font-size: 21px; letter-spacing: -.045em; font-weight: 480; }
.text-button {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0; background: transparent;
  color: var(--blue); font-size: 13px; font-weight: 540; white-space: nowrap;
}
.text-button .icon, .chevron.icon { width: 15px; height: 15px; }
.card {
  min-width: 0; border: 1px solid var(--line); background: linear-gradient(148deg, #fcfdff9c, var(--pane)); border-radius: 27px; box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(122%); -webkit-backdrop-filter: blur(18px) saturate(122%);
}
.rows { overflow: hidden; }
.row { min-height: 68px; padding: 10px 15px; display: flex; gap: 11px; align-items: center; width: 100%; background: none; text-align: left; }
.row + .row { border-top: 1px solid var(--divider); }
.row-action:is(a,button):hover { background: var(--field); }
.tile {
  display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bright); color: var(--blue); flex: none; box-shadow: inset 0 1px 0 #fff3;
}
.tile .icon { width: 18px; height: 18px; }
.tile.green, .pill.green { background: var(--green-wash); color: var(--green); }
.tile.orange, .pill.orange { background: var(--orange-wash); color: var(--orange); }
.tile.red, .pill.red { background: var(--red-wash); color: var(--red); }
.tile.gray, .pill.gray { background: var(--field); color: var(--quiet); }
.row-text { min-width: 0; flex: 1; }
.row-title { display: block; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-end { display: flex; align-items: center; gap: 8px; flex: none; color: var(--quiet); }
.pill { padding: 4px 8px; border-radius: 100px; background: var(--blue-wash); color: var(--blue); font-size: 11px; font-weight: 530; white-space: nowrap; }

.tabbar {
  position: fixed; z-index: 4; width: min(calc(100% - 26px), 378px); left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 4px;
  border-radius: 100px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 10px 31px #3d486329, inset 0 1px 0 #fff7;
  backdrop-filter: blur(28px) saturate(125%); -webkit-backdrop-filter: blur(28px) saturate(125%);
}
.tabbar a {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
  min-height: 49px; border-radius: 100px; color: var(--muted); font-size: 10px; font-weight: 550;
}
.tabbar a[aria-current="page"] { color: var(--ink); background: var(--bright); box-shadow: inset 0 1px 0 #fff8; }
.tabbar .icon { width: 18px; height: 18px; }
.command-tab-label { text-align: center; line-height: 1.08; }
.counter {
  position: absolute; top: 4px; left: calc(50% + 6px); border-radius: 100px; min-width: 15px; height: 15px;
  line-height: 15px; padding: 0 3px; color: #fff; background: #8d536a; font-size: 9px; text-align: center;
}

.content-narrow { max-width: 700px; margin: 0 auto; }
.empty { padding: 36px 20px; text-align: center; }
.empty .tile { width: 51px; height: 51px; margin: 0 auto 13px; }
.empty h3 { font-size: 17px; font-weight: 550; }
.empty p { max-width: 26rem; color: var(--muted); font-size: 14px; line-height: 1.6; margin: 7px auto 0; }
.empty .button { margin-top: 14px; }
.searchbar, .field {
  display: flex; align-items: center; gap: 8px; background: var(--field); border: 1px solid var(--line);
  color: var(--quiet); border-radius: 100px; padding: 0 14px;
}
.searchbar { margin-bottom: 14px; }
.searchbar input, .field input { width: 100%; background: transparent; border: 0; min-height: 44px; padding: 0; color: var(--ink); font-size: 16px; }
.searchbar input:focus, .field input:focus { outline: none; }
:is(.searchbar,.field):focus-within { outline: 2px solid var(--focus); }
.more { display: flex; justify-content: center; margin: 15px auto; }
.pair { max-width: 420px; padding: 30px; margin: 35px auto 0; }
.pair h1 { font-size: 34px; margin-top: 16px; letter-spacing: -.045em; }
.pair-icon { width: 61px; border-radius: 50%; box-shadow: 0 7px 20px #44578634; }
.pair p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 12px 0 20px; }
form .button.full { margin-top: 14px; }
.error { color: var(--red) !important; font-size: 13px; line-height: 1.55; margin-top: 9px; white-space: pre-wrap; overflow-wrap: anywhere; }
.settings-grid { display: grid; gap: 15px; }
.settings-grid .card { padding: 19px; }
.settings-grid h2 { font-size: 18px; font-weight: 555; margin-bottom: 8px; }
.settings-grid p { font-size: 14px; color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.settings-grid .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.project-path { overflow-wrap: anywhere; }
.folder-list { max-height: 23dvh; overflow: auto; border-radius: 16px; background: var(--field); }
.folder-list .row { min-height: 44px; }
.folder-list .icon { color: var(--blue); }
.thread-heading h1 { font-size: clamp(30px, 6vw, 47px); }
.thread-heading .text-button { margin-bottom: 9px; }
.thread-heading { margin-bottom: 18px; }
.thread-links { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.thread-links .button { white-space: normal; }
.chat { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.message { padding: 15px 17px; font-size: 15px; line-height: 1.65; width: fit-content; max-width: 100%; overflow-wrap: anywhere; border-radius: 25px 25px 25px 9px; }
.message p { white-space: pre-wrap; }
.message.user { align-self: end; max-width: 88%; background: var(--blue-wash); border-radius: 25px 25px 9px 25px; }
.message-label { display: block; color: var(--muted); font-size: 11px; font-weight: 570; margin-bottom: 5px; }
.activity { padding: 10px 13px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.activity summary { cursor: pointer; }
.composer {
  position: sticky; bottom: max(83px, calc(66px + env(safe-area-inset-bottom))); z-index: 2; padding: 6px;
  border-radius: 29px; background: var(--glass);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
}
.composer-line { display: flex; align-items: end; gap: 6px; }
.composer textarea { background: transparent; flex: 1; min-width: 0; border: none; padding: 10px 10px 8px; min-height: 44px; resize: vertical; max-height: 150px; color: var(--ink); font-size: 16px; }
.composer .button { padding: 0; min-width: 44px; }
.composer .attach-button { padding: 0 10px; gap: 3px; }
.image-previews { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px; }
.image-preview { position: relative; width: 62px; height: 62px; }
.image-preview img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.remove-image { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: #151a2ad9; }
.remove-image .icon { width: 13px; height: 13px; }
.image-status { margin: 4px 10px; font-size: 13px; color: var(--muted); }
.sent-images { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.sent-images button { display: block; min-width: 0; max-width: 100%; padding: 0; border-radius: 13px; background: none; cursor: zoom-in; }
.sent-images img { display: block; width: auto; max-width: 100%; max-height: 240px; border-radius: 13px; }
textarea::placeholder, input::placeholder { color: var(--quiet); opacity: 1; }
dialog {
  margin: auto; padding: 0; color: var(--ink); background: var(--glass); width: min(calc(100% - 32px), 520px);
  max-height: 91dvh; border: 1px solid var(--line); border-radius: 34px; box-shadow: 0 22px 70px #26345340, inset 0 1px 0 #fff8;
  backdrop-filter: blur(32px) saturate(140%); -webkit-backdrop-filter: blur(32px) saturate(140%);
}
dialog::backdrop { background: #485a7238; backdrop-filter: blur(5px); }
dialog[open] { animation: sheet-in .22s ease-out; }
html:has(#attachment-viewer[open]) { overflow: hidden; overscroll-behavior: none; }
#attachment-viewer {
  position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: max(54px, calc(env(safe-area-inset-top) + 52px)) 8px max(12px, env(safe-area-inset-bottom));
  border: 0; border-radius: 0; background: #101114; color: #fff; box-shadow: none;
  backdrop-filter: none; overflow: hidden;
}
#attachment-viewer[open] { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; animation: none; }
.attachment-viewer-image { width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; background: none; cursor: zoom-out; }
.attachment-viewer-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.attachment-viewer-close {
  position: absolute; top: max(8px, calc(env(safe-area-inset-top) + 4px)); right: max(10px, env(safe-area-inset-right));
  width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #ffffff29; color: #fff;
  font-size: 28px; line-height: 1;
}
@keyframes sheet-in { from { opacity: .3; transform: translateY(16px) scale(.99); } }
.sheet-handle { display: none; }
#sheet-content { padding: 24px; }
.sheet-top { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 14px; }
.sheet-top h2 { font-size: 27px; font-weight: 480; letter-spacing: -.045em; margin-top: 8px; }
.sheet-top .button { padding: 0; min-width: 44px; }
.sheet-body > p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.sheet-actions { display: flex; justify-content: end; gap: 8px; margin-top: 17px; }
.sheet-actions > * { flex: 1; }
.sheet-body label { display: grid; gap: 7px; font-size: 13px; font-weight: 550; margin: 13px 0; }
.sheet-body :is(input,textarea,select) { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--field); color: var(--ink); font-size: 16px; }
.sheet-body textarea { min-height: 100px; resize: vertical; }
.approval-code { background: var(--field); color: var(--ink); padding: 13px; border-radius: 15px; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 250px; overflow: auto; }
.file-diff { background: var(--field); padding: 10px; border-radius: 15px; margin-top: 8px; color: var(--muted); overflow-wrap: anywhere; font-size: 13px; }
.file-diff > summary { cursor: pointer; }
.path-label { margin: 12px 0 4px; color: var(--quiet); font-size: 12px; overflow-wrap: anywhere; }
.option-notes { color: var(--muted); font-size: 12px; line-height: 1.6; margin: -4px 0 12px; padding-left: 18px; }
.toast {
  position: fixed; z-index: 5; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  background: #29354a; color: #fff; padding: 11px 16px; border-radius: 100px;
  width: max-content; max-width: calc(100% - 30px); box-shadow: 0 8px 25px #10162c34; font-size: 13px; line-height: 1.5;
}

@media (max-width: 650px) {
  body::before {
    background:
      radial-gradient(ellipse 86% 27% at 76% 39%, #ffe1c7 0%, #ffd8caa6 42%, transparent 86%),
      radial-gradient(ellipse 95% 35% at 83% 58%, #c6baebc9 5%, transparent 85%),
      radial-gradient(ellipse 107% 37% at 17% 57%, #a2c0ec 0%, #acbfebac 57%, transparent 93%),
      linear-gradient(159deg, #f3f7fc 0%, #ebf1f8 29%, #bccbea 72%, #dfe6ef 100%);
  }
  .topbar-inner { padding: max(13px, env(safe-area-inset-top)) 19px 0; }
  .brand { font-size: 14px; }
  .connection { font-size: 11px; }
  #main { padding: 41px 17px calc(104px + env(safe-area-inset-bottom)); }
  .screen-head { margin-bottom: 22px; }
  .screen-head .button { align-self: end; padding: 0 13px; }
  .home .screen-head { margin: clamp(18px, 7vh, 56px) 6px 32px; }
  .home h1 { font-size: clamp(32px, 10vw, 43px); }
  .subtitle { margin-top: 8px; font-size: 13px; }
  .hero { border-radius: 32px; }
  .hero-main { min-height: 128px; padding: 20px 19px; }
  .hero-footer { padding: 0 19px; min-height: 53px; }
  .hero-emblem { width: 70px; height: 70px; }
  .emblem-core { width: 52px; height: 52px; }
  .emblem-core .icon { width: 22px; height: 22px; }
  .quick-actions { margin-bottom: 18px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .section-head h2 { font-size: 19px; }
  .row { min-height: 65px; padding: 10px 12px; gap: 9px; }
  .row-title { font-size: 14px; }
  .row-end { gap: 4px; }
  .tile { width: 35px; height: 35px; }
  .tile .icon { width: 17px; height: 17px; }
  .pair { margin-top: 29px; padding: 24px; }
  .composer textarea { resize: none; }
  dialog { margin: auto 8px max(8px, env(safe-area-inset-bottom)); width: calc(100% - 16px); max-width: 100%; border-radius: 31px; }
  .sheet-handle { display: block; width: 34px; height: 4px; border-radius: 4px; background: #727d9c63; margin: 9px auto -2px; }
  #sheet-content { padding: 17px 17px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
