:root {
  color: #0d0d0d;
  background: #ffffff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --color-text: #0d0d0d;
  --color-muted: #6b6b6b;
  --color-subtle: #767676;
  --color-border: rgba(13, 13, 13, 0.08);
  --color-border-strong: rgba(29, 29, 31, 0.17);
  --color-canvas: #ffffff;
  --color-sidebar: #f7f7f7;
  --color-hover: rgba(29, 29, 31, 0.055);
  --color-selected: #ececec;
  --color-positive: #1f7a49;
  --color-blue: #1769e0;
  --color-danger: #c8333a;
  --shadow-dialog:
    0 28px 80px rgba(0, 0, 0, 0.17), 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-floating:
    0 18px 54px rgba(0, 0, 0, 0.09), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shell-header-height: 60px;
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 72px;
  --content-max: 1180px;
  --content-gutter: 40px;
  --control-height: 40px;
  --font-page-title: 24px;
  --font-section-title: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}

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

body,
button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
a[href],
select {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
}

input,
textarea,
select {
  color: inherit;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

::selection {
  background: rgba(23, 105, 224, 0.18);
}

#root {
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.surface-page {
  min-height: 100vh;
  background: var(--color-canvas);
}

.surface-content {
  width: min(calc(100% - 2 * var(--content-gutter)), var(--content-max));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-size: var(--font-section-title);
  font-weight: 500;
  line-height: 1.5;
}

.button-primary,
.button-secondary,
.button-quiet,
.button-danger {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 120ms ease,
    color 120ms ease,
    border-color 120ms ease,
    transform 120ms ease;
}

.button-primary {
  background: #111;
  color: #fff;
}

.button-primary:hover:not(:disabled) {
  background: #292929;
}

.button-primary:active:not(:disabled),
.button-secondary:active:not(:disabled),
.button-quiet:active:not(:disabled),
.button-danger:active:not(:disabled) {
  transform: scale(0.98);
}

.button-primary:disabled {
  background: #dedede;
  color: #777;
}

.button-secondary {
  border: 1px solid var(--color-border);
  background: #fff;
  color: #29292b;
}

.button-secondary:hover:not(:disabled) {
  background: #f6f6f6;
}

.button-quiet {
  padding-inline: 10px;
  color: #363638;
}

.button-quiet:hover:not(:disabled) {
  background: var(--color-hover);
}

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

.button-danger:hover:not(:disabled) {
  background: #a9282f;
}

.button-danger:disabled {
  background: #ececee;
  color: #85858a;
}

.button-primary svg,
.button-secondary svg,
.button-quiet svg,
.button-danger svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}

.standalone-message {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  gap: 16px;
}

.standalone-message p {
  margin: 0;
  font-size: 20px;
  font-weight: 620;
}

.standalone-message a {
  color: var(--color-blue);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
