:root {
  color-scheme: light;
  --bg: #f6f6f8;
  --surface: #fff;
  --text: #25252a;
  --muted: #71717b;
  --border: #e5e5eb;
  --accent: #548b77;
  --accent-soft: #e5f0eb;
  --radius: 12px;
  --font: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
select,
input {
  accent-color: var(--accent);
}
button:disabled,
select:disabled,
input:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
button {
  color: inherit;
}
.shell {
  display: grid;
  grid-template-columns: 206px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 33px 15px 22px;
  background: linear-gradient(155deg, #e8eeebd9, #ecebf0e6 60%, #e6eae9e6);
  border-right: 1px solid #dcdde2;
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 13px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.brand small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1px;
  display: block;
  color: var(--muted);
  margin-top: 1px;
}
.brand-mark {
  width: 34px;
  height: 39px;
  border-radius: 12px;
  background: #242b28;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 3px 8px #17261e19;
}
.brand-mark i {
  width: 7px;
  height: 7px;
  border: 1.5px solid #a8d9bc;
  border-right-color: #526f5d;
  border-radius: 50%;
}
.sidebar-label {
  margin: 42px 13px 10px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.4px;
  color: #888c89;
}
nav {
  display: grid;
  gap: 4px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  text-align: left;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
nav button[aria-current="page"] {
  background: #ffffffb5;
  box-shadow: 0 1px 3px #16251e0a;
}
nav button:hover {
  background: #ffffff80;
}
.nav-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  color: white;
  box-shadow: inset 0 0 0 1px #0000000a;
}
.nav-icon svg {
  width: 15px;
  height: 15px;
}
svg {
  vertical-align: middle;
}
footer {
  margin-top: auto;
  padding: 25px 12px 0;
  color: #85898a;
  font-size: 10px;
  line-height: 1.7;
}
footer small {
  display: block;
  margin-top: 10px;
  color: #9a9c9e;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #609c7a;
  margin-right: 4px;
}
main {
  padding: 35px 36px 30px;
  min-width: 0;
}
header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 27px;
  gap: 10px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #93969b;
  margin-bottom: 9px;
}
h1 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 650;
  margin: 0;
}
header p {
  margin: 7px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.save-state {
  font-size: 10px;
  color: #839189;
  white-space: nowrap;
  margin-top: 13px;
}
.save-state.error {
  color: #b44242;
}
.section-title {
  font-weight: 600;
  font-size: 12px;
  margin: 24px 0 9px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-title:first-child {
  margin-top: 0;
}
.section-title .count {
  font-size: 10px;
  color: var(--muted);
  background: #e8e8ed;
  padding: 0 6px;
  border-radius: 5px;
}
.section-title .spacer {
  flex: 1;
}
.group {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 2px 3px #1b1e2702;
}
.row {
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}
.row + .row {
  border-top: 1px solid var(--border);
}
.copy {
  flex: 1;
  min-width: 0;
}
.copy strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.copy small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
  line-height: 1.5;
}
.hint {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 9px 3px 0;
}
.hint strong {
  font-weight: 600;
}
.provider-icon {
  width: 35px;
  height: 35px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-shrink: 0;
  background: #fafafa;
  display: grid;
  place-items: center;
}
.provider-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.provider-icon[data-id="claude"] {
  background: #fbefe9;
  border-color: #efdfd5;
}
.provider-icon[data-id="claude"] img {
  filter: invert(47%) sepia(38%) saturate(602%) hue-rotate(336deg);
}
.account-row {
  padding: 15px 13px;
  gap: 10px;
}
.account-detail {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.account-state {
  color: #48846c;
}
.account-state.stale {
  color: #a77731;
}
.account-state.error,
.account-state.needsAuth {
  color: #a77731;
}
.account-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.grip {
  width: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #b0b0b8;
  cursor: grab;
}
.grip svg {
  width: 15px;
}
.dragging {
  opacity: 0.4;
}
.drag-over {
  box-shadow: inset 0 2px var(--accent);
}
.icon-button {
  border: 0;
  background: none;
  color: #9b9ba4;
  padding: 5px;
  border-radius: 5px;
  display: grid;
  place-items: center;
}
.icon-button svg {
  width: 15px;
  height: 15px;
}
.icon-button:hover {
  background: #f0f0f4;
  color: var(--text);
}
.icon-button[aria-pressed="true"] {
  color: var(--accent);
}
.switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 31px;
  height: 19px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.switch span {
  width: 31px;
  height: 19px;
  background: #d5d5dc;
  border-radius: 20px;
  transition: background 150ms var(--ease);
}
.switch span:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #0003;
  transition: transform 150ms var(--ease);
}
.switch input:checked + span {
  background: var(--accent);
}
.switch input:checked + span:before {
  transform: translateX(12px);
}
.switch input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.button {
  border: 1px solid #dddde4;
  border-radius: 6px;
  background: linear-gradient(#fff, #fafafa);
  padding: 5px 10px;
  font-size: 11px;
  box-shadow: 0 1px 2px #00000007;
  white-space: nowrap;
}
.button:hover {
  background: #f1f3f2;
}
.text-button {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 11px;
  padding: 3px;
}
.text-button:hover {
  text-decoration: underline;
}
.empty {
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 15px 4px 0;
  color: #989aa3;
}
.privacy svg {
  width: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.privacy p {
  font-size: 10px;
  line-height: 1.6;
  margin: 0;
}
.segment {
  display: flex;
  padding: 2px;
  background: #eeeef2;
  border-radius: 7px;
  gap: 2px;
}
.segment button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.segment button[aria-pressed="true"] {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px #00000012;
}
.segment button:disabled {
  opacity: 0.45;
}
.stack-row {
  display: block;
}
.stack-row > .copy {
  margin-bottom: 10px;
}
select {
  padding: 6px 24px 6px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  max-width: 230px;
  font-size: 11px;
}
.swatches {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.swatch {
  border: 2px solid transparent;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  padding: 3px;
  background: none;
}
.swatch i {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--swatch);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #00000012;
}
.swatch[aria-pressed="true"] {
  border-color: var(--swatch);
}
.swatch:first-child i {
  background: conic-gradient(
    #ee86a8,
    #c591e9,
    #71a7df,
    #70bb92,
    #e1c967,
    #ee86a8
  );
}
.appearance-preview {
  height: 152px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 0 21px;
  background:
    radial-gradient(ellipse at 25% 130%, #d1bdab 0, transparent 65%),
    radial-gradient(ellipse at 105% -20%, #a8bdb3 0, transparent 70%), #e3e5df;
}
.preview-label {
  position: absolute;
  left: 16px;
  top: 13px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.1px;
  color: #64736a;
}
.preview-desk {
  position: absolute;
  width: 62%;
  height: 104px;
  left: 15%;
  top: 42px;
  transform: rotate(-5deg);
  border-radius: 8px;
  background: #ffffff65;
  border: 1px solid #ffffffb5;
  box-shadow: 0 12px 25px #58645019;
}
.preview-desk:before {
  content: "";
  display: block;
  margin: 12px;
  width: 45%;
  height: 5px;
  border-radius: 5px;
  background: #ffffff85;
  box-shadow:
    0 13px #ffffff50,
    0 26px #ffffff50;
}
.preview-rail {
  position: absolute;
  right: 0;
  top: 22px;
  background: #111713;
  padding: 9px 7px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-radius: 11px 0 0 11px;
  transition: opacity 150ms;
}
.preview-ring {
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--accent);
  border-right-color: #49574e;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.preview-ring img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}
.appearance-preview[data-edge="left"] .preview-rail {
  left: 0;
  right: auto;
  border-radius: 0 11px 11px 0;
}
.appearance-preview[data-edge="top"] .preview-rail,
.appearance-preview[data-edge="bottom"] .preview-rail {
  flex-direction: row;
  left: 50%;
  right: auto;
  top: 0;
  transform: translateX(-50%);
  border-radius: 0 0 11px 11px;
}
.appearance-preview[data-edge="bottom"] .preview-rail {
  top: auto;
  bottom: 0;
  border-radius: 11px 11px 0 0;
}
.sound-select {
  display: flex;
  align-items: center;
  gap: 7px;
}
.sound-select select {
  min-width: 105px;
}
.about {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 21px;
}
.about h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 650;
}
.about p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 11px;
}
.about .brand-mark {
  width: 43px;
  height: 48px;
  flex-shrink: 0;
}
.about .brand-mark i {
  width: 9px;
  height: 9px;
}
.loading {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  max-width: 80%;
  background: #29342e;
  color: white;
  font-size: 12px;
  padding: 11px 17px;
  border-radius: 9px;
  box-shadow: 0 5px 30px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 150ms;
  z-index: 50;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%);
}
#toast.error {
  background: #763e3e;
}
#preview-banner {
  font-size: 10px;
  color: #7d6744;
  padding: 8px 11px;
  background: #f5eddc;
  border: 1px solid #e9debf;
  border-radius: 7px;
  margin-bottom: 18px;
}
.reorder {
  display: flex;
  gap: 1px;
}
.reorder button {
  padding: 2px;
  color: #999;
}
.reorder svg {
  width: 11px;
}
.credits {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 3px;
  font-size: 10px;
  color: var(--muted);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #232427;
    --surface: #2b2c30;
    --text: #e9e9ed;
    --muted: #a0a1a9;
    --border: #393a40;
    --accent-soft: #2c4038;
  }
  .sidebar {
    background: linear-gradient(155deg, #29332fe6, #2d2c34e6);
    border-color: #3b3c42;
  }
  nav button[aria-current="page"] {
    background: #ffffff12;
  }
  nav button:hover {
    background: #ffffff0c;
  }
  .button {
    background: #383a3f;
    border-color: #484950;
  }
  .button:hover {
    background: #414448;
  }
  .provider-icon {
    background: #34363a;
    border-color: #45464d;
  }
  .provider-icon img {
    filter: invert(1);
  }
  .provider-icon[data-id="claude"] {
    background: #4a3831;
    border-color: #624639;
  }
  .segment {
    background: #222327;
  }
  .segment button[aria-pressed="true"] {
    background: #4a4c52;
  }
  .section-title .count {
    background: #38393f;
  }
  .icon-button:hover {
    background: #ffffff10;
    color: white;
  }
  .switch span {
    background: #53555d;
  }
  .appearance-preview {
    filter: brightness(0.83);
  }
  #preview-banner {
    background: #3b352a;
    color: #d7c291;
    border-color: #554936;
  }
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: 170px 1fr;
  }
  main {
    padding: 28px 22px;
  }
  .sidebar {
    padding: 28px 10px;
  }
  .brand {
    font-size: 17px;
    padding: 0 8px;
  }
  .row {
    padding: 13px 12px;
  }
  .segment button {
    padding: 5px 7px;
  }
  .account-controls {
    gap: 3px;
  }
  .reorder {
    display: none;
  }
  .swatches {
    gap: 1px;
  }
  .swatch {
    width: 22px;
    height: 22px;
    padding: 2px;
  }
}
@media (max-width: 560px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .sidebar-label,
  footer,
  .brand small {
    display: none;
  }
  nav {
    display: flex;
    margin-top: 14px;
    gap: 5px;
  }
  nav button {
    font-size: 11px;
    padding: 7px;
    gap: 5px;
  }
  .nav-icon {
    width: 21px;
    height: 21px;
  }
  .brand {
    font-size: 16px;
  }
  .brand-mark {
    height: 29px;
    width: 27px;
  }
  .brand-mark i {
    width: 5px;
    height: 5px;
  }
  main {
    padding: 24px 16px;
  }
  header {
    margin-bottom: 23px;
  }
  .eyebrow {
    display: none;
  }
  h1 {
    font-size: 24px;
  }
  .row {
    flex-wrap: wrap;
  }
  .segment {
    flex-wrap: wrap;
  }
  .swatches {
    max-width: 200px;
  }
  .account-row {
    flex-wrap: nowrap;
  }
  .account-controls {
    margin-left: auto;
  }
  .account-row .reorder,
  .account-row .icon-button[data-mute] {
    display: none;
  }
  .save-state {
    font-size: 9px;
  }
  .credits {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body.native {
  background: transparent;
}
body.native main {
  background: var(--bg);
}
body.native .sidebar {
  backdrop-filter: none;
}
@media (max-width: 560px) {
  nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
  }
  nav button {
    justify-content: center;
    flex-direction: column;
    padding: 7px 2px;
    font-size: 10px;
  }
  .nav-icon {
    width: 23px;
    height: 23px;
  }
}

.account-state.absent,
.account-state.disabled {
  color: var(--muted);
}
.privacy {
  color: var(--muted);
}
.eyebrow {
  color: var(--muted);
}

.account-label{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
