/* Shared visual identity with the public store builder. */
:root {
  color-scheme: light;
  --bg: var(--gh-background);
  --panel: var(--gh-surface);
  --panel2: var(--gh-soft);
  --line: var(--gh-line);
  --border: var(--gh-line);
  --text: var(--gh-ink);
  --muted: var(--gh-muted);
  --accent: var(--gh-brand);
  --danger: var(--gh-danger);
  --ok: var(--gh-brand);
  font-family: var(--gh-font);
}
body {
  background: var(--bg) !important;
  color: var(--text);
}
.shell {
  grid-template-columns: 238px minmax(0, 1fr);
}
.sidebar {
  background: var(--gh-soft) !important;
  border-right: 1px solid var(--gh-line);
  backdrop-filter: none;
  padding: 30px 18px;
  gap: 24px;
}
.brand-mark {
  background: transparent !important;
  color: var(--accent);
  font-size: 27px;
  letter-spacing: -2px;
  font-weight: 800;
  border-radius: 0;
}
.brand strong {
  font-size: 15px;
  letter-spacing: -0.3px;
}
.brand small {
  font-size: 10px;
}
.nav-heading {
  font-size: 9px;
  letter-spacing: 1.6px;
  padding-top: 19px;
  color: var(--gh-muted);
}
.sidebar nav {
  gap: 4px;
}
.nav {
  font-size: 12px;
  font-weight: 550;
  min-height: 44px;
  padding: 12px 15px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav.active {
  background: var(--accent) !important;
  color: var(--gh-surface) !important;
  box-shadow: 0 3px 9px color-mix(in srgb, var(--gh-ink) 6%, transparent);
}
.nav:hover:not(.active) {
  background: var(--gh-soft) !important;
  color: var(--text);
}
.sidebar-foot {
  background: var(--gh-soft) !important;
  border: 0;
  border-radius: 12px;
  font-size: 12px;
}
.sidebar-foot small {
  font-size: 10px;
  line-height: 1.5;
}
.sidebar-foot button {
  font-size: 11px;
}
main {
  padding: 35px 40px;
  max-width: 1500px;
}
header {
  margin-bottom: 29px;
  gap: 18px;
}
h1 {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
.eyebrow {
  color: var(--accent) !important;
  font-size: 9px;
  letter-spacing: 1.7px;
}
p {
  line-height: 1.65;
}
.muted {
  color: var(--muted) !important;
}
.metric,
.panel,
.item,
.login-card,
.guidance-card,
.template-preview,
.brand-preview,
.finance-grid > div,
.audit-details,
.setup-preview,
.setup-category,
.quote-line-row {
  background: var(--panel) !important;
  box-shadow: none;
  color: var(--text);
  border-color: var(--line);
}
.metric {
  padding: 23px;
  border-radius: 14px;
}
.metric strong {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
}
.metric span {
  font-size: 12px;
}
.metric small {
  font-size: 10px;
}
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 24px;
}
.panel {
  border-radius: 15px;
  padding: 24px;
}
.item {
  border-radius: 12px;
  padding: 19px;
}
.item-meta {
  font-size: 11px;
  gap: 8px 15px;
  line-height: 1.6;
}
.compact {
  font-size: 12px;
  line-height: 1.7;
}
.panel-head {
  margin-bottom: 15px;
}
.panel-head h2 {
  margin-bottom: 0;
}
input,
select,
textarea {
  background: white !important;
  color: var(--text) !important;
  border-color: var(--gh-line) !important;
  border-radius: 9px;
  min-height: 44px;
  font-size: 13px;
  padding: 11px 13px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
  min-height: initial;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
textarea {
  resize: vertical;
}
label {
  font-size: 12px;
  color: var(--gh-muted);
  font-weight: 550;
  line-height: 1.5;
}
.primary,
.ghost,
.icon {
  font-weight: 600;
  font-size: 12px;
  min-height: 42px;
  border-radius: 8px;
  transition: background 0.18s;
}
.primary {
  background: var(--accent) !important;
  color: white !important;
  padding: 12px 18px;
}
.primary:hover {
  background: var(--gh-brand-hover) !important;
}
.ghost,
.icon {
  background: white;
  color: var(--text);
  border: 1px solid var(--gh-line);
}
.ghost:hover,
.icon:hover {
  background: var(--panel2);
}
.ghost.active {
  background: var(--panel2);
  border-color: var(--accent);
}
button.danger {
  background: #fbede7;
  color: var(--danger);
  border: 1px solid #e7c5b8;
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 42px;
  font-size: 12px;
}
.icon {
  font-size: 18px;
  min-width: 42px;
}
:where(button, input, select, textarea, a, summary):focus-visible {
  outline: 3px solid var(--gh-brand) !important;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chip {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
}
.chip-warn {
  background: #fff5dd;
  color: #806016;
  border-color: #e2d2a4;
}
.chip-danger,
.fatal {
  color: var(--gh-danger);
  background: #fff0ec;
  border-color: #e2b4a6;
}
.chip-ok {
  background: color-mix(in srgb, var(--gh-brand) 7%, var(--gh-background));
  color: var(--gh-brand);
  border-color: color-mix(in srgb, var(--gh-brand) 22%, var(--gh-background));
}
.chip-muted {
  background: color-mix(in srgb, var(--gh-brand) 5%, var(--gh-background));
  color: var(--gh-muted);
}
.chip-accent {
  background: color-mix(in srgb, var(--gh-brand) 8%, var(--gh-background));
  color: var(--accent);
}
dialog {
  background: var(--gh-surface) !important;
  color: var(--text);
  border-color: color-mix(in srgb, var(--gh-brand) 14%, var(--gh-background));
  box-shadow: 0 25px 90px color-mix(in srgb, var(--gh-ink) 15%, transparent);
  border-radius: 17px;
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: color-mix(in srgb, var(--gh-ink) 40%, transparent);
  backdrop-filter: blur(4px);
}
form {
  padding: 26px;
}
.dialog-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  margin: 0;
}
.dialog-actions {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.login-card {
  margin: 9vh auto;
  padding: 38px;
  border-radius: 22px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--gh-ink) 3%, transparent) !important;
}
.login-card h1 {
  font-size: 33px;
}
.login-card p {
  font-size: 13px;
}
.login-card a,
.wizard-dialog a {
  color: var(--accent);
}
.operation-note {
  background: color-mix(in srgb, var(--gh-brand) 6%, var(--gh-background)) !important;
  border: 1px solid color-mix(in srgb, var(--gh-brand) 13%, var(--gh-background));
  font-size: 12px;
  line-height: 1.7;
}
.operation-note strong {
  font-weight: 600;
}
.empty {
  font-size: 13px;
  padding: 40px;
  background: var(--gh-soft);
}
.toolbar {
  margin-bottom: 20px;
}
.audit-details {
  background: var(--gh-soft) !important;
}
.choice-card {
  border-color: var(--line);
  background: var(--gh-soft);
}
.choice-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--gh-soft);
}
.badge-source {
  background: color-mix(in srgb, var(--gh-brand) 8%, var(--gh-background));
  color: var(--gh-muted);
  border-color: color-mix(in srgb, var(--gh-brand) 18%, var(--gh-background));
}
.badge-complexity.medium {
  color: #81621c;
  background: #fff3d7;
}
.badge-complexity.high {
  color: #913f2a;
  background: #ffece2;
}
.help-drawer {
  padding: 24px;
}
.help-btn {
  color: var(--accent);
}
.guidance-search input {
  background: white;
}
.wizard-steps span.active {
  background: var(--gh-soft);
}
.setup-category[aria-pressed="true"] {
  background: var(--gh-soft) !important;
  border-color: var(--accent);
  box-shadow: inset 3px 0 var(--accent);
}
.setup-preview-head {
  border-bottom-color: var(--preview-accent, var(--accent));
}
.setup-preview-tabs [aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--gh-soft);
}
.setup-preview button {
  background: color-mix(in srgb, var(--gh-brand) 5%, var(--gh-background));
  color: var(--text);
}
.setup-chat {
  background: color-mix(in srgb, var(--gh-brand) 5%, var(--gh-background));
}
.setup-error {
  background: #fff0ec;
  color: var(--gh-danger);
  border-color: #e2b4a6;
}
.setup-details {
  background: var(--gh-soft);
}
.setup-demo-next {
  border-color: var(--line);
}
.mobile-topbar,
.mobile-quicknav {
  background: var(--gh-background) !important;
  border-color: var(--line) !important;
  color: var(--text);
}
.quicknav-pill {
  background: var(--gh-soft) !important;
  color: var(--text) !important;
  border-color: color-mix(in srgb, var(--gh-brand) 15%, var(--gh-background)) !important;
}
.quicknav-pill.active {
  background: var(--accent) !important;
  color: white !important;
}
.mobile-menu-btn,
.mobile-refresh-btn {
  background: var(--gh-soft) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}
.admin-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: color-mix(in srgb, var(--gh-brand) 10%, var(--gh-background));
  padding: 25px 28px;
  border-radius: 16px;
  margin-bottom: 23px;
}
.admin-welcome h2 {
  margin: 8px 0;
  font-size: 28px;
  letter-spacing: -1px;
}
.admin-welcome p {
  font-size: 12px;
  max-width: 470px;
  color: var(--gh-muted);
}
.admin-welcome a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
.admin-welcome-art {
  font:
    italic 60px Georgia,
    serif;
  color: color-mix(in srgb, var(--gh-brand) 36%, var(--gh-background));
  padding: 0 20px;
}
.brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.brief-section {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px;
  background: var(--gh-soft);
}
.brief-section h3 {
  font-size: 12px;
  margin: 0 0 10px;
}
.brief-section p,
.brief-section li {
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.brief-section ul {
  padding-left: 18px;
}
.brief-section.full {
  grid-column: 1/-1;
}
.brief-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.scope-review-note {
  padding: 13px 16px;
  border-radius: 9px;
  background: #fff7df;
  color: #795b13;
  font-size: 12px;
}
.quote-line-row {
  padding: 12px !important;
}
.quote-line-row > div:last-child {
  align-items: start;
  flex-wrap: wrap;
}
.quote-line-row select {
  width: auto;
  flex: 1;
}
.quote-line-row input[type="number"] {
  min-width: 95px;
}
.quote-line-row .quote-line-name {
  font-weight: 600;
}
.ops-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.ops-tabs button {
  padding: 12px 16px;
}
.ops-tabs button[aria-selected="true"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.ops-intro {
  max-width: 700px;
  font-size: 13px;
  color: var(--muted);
}
.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ops-message {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  background: var(--gh-soft);
}
.ops-message.staff {
  background: color-mix(in srgb, var(--gh-brand) 6%, var(--gh-background));
}
.ops-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0 0;
  font-size: 13px;
}
.ops-message small {
  font-size: 10px;
  color: var(--muted);
}
.ops-error {
  color: var(--gh-danger);
  background: #fff0ec;
  border-radius: 9px;
  padding: 12px;
  font-size: 12px;
  margin: 12px 0;
}
.ops-error:empty {
  display: none;
}
.ops-list {
  margin-top: 18px;
}
.ops-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ops-summary span {
  padding: 8px 12px;
  background: color-mix(in srgb, var(--gh-brand) 6%, var(--gh-background));
  border-radius: 8px;
  font-size: 11px;
}
.ops-form-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.ops-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 18px;
  border: 1px dashed color-mix(in srgb, var(--gh-brand) 26%, var(--gh-background));
  background: color-mix(in srgb, var(--gh-brand) 4%, var(--gh-background));
  border-radius: 12px;
  font-size: 13px;
  margin: 15px 0;
}
.variant-edit {
  padding: 14px;
  background: var(--gh-soft);
  border-radius: 10px;
  margin: 10px 0;
}
.variant-edit h3 {
  font-size: 13px;
}
.ops-dialog {
  width: min(780px, calc(100vw - 24px));
}
.product-image-preview {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 9px;
}
@media (max-width: 1100px) {
  main {
    padding: 26px;
  }
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .admin-welcome-art {
    display: none;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  main {
    padding: 20px 14px !important;
  }
  .sidebar {
    background: var(--gh-soft) !important;
  }
  .brief-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }
  .brief-section.full {
    grid-column: auto;
  }
  .admin-welcome {
    padding: 20px;
    display: block;
  }
  .admin-welcome h2 {
    font-size: 24px;
  }
  .admin-welcome a {
    margin-top: 10px;
  }
  .toolbar {
    grid-template-columns: 1fr;
  }
  .ops-tabs {
    gap: 6px;
  }
  .ops-tabs button {
    font-size: 11px;
    padding: 11px;
  }
  .item,
  .panel {
    overflow-wrap: anywhere;
  }
  .ops-actions {
    width: auto;
  }
  .dialog-actions button {
    width: auto !important;
    flex: 1;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  header h1 {
    font-size: 26px;
  }
  .header-actions button {
    padding: 10px;
  }
  .login-card {
    padding: 26px !important;
    margin-top: 30px !important;
  }
  .ops-dialog form {
    padding: 18px !important;
  }
  .brief-section {
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.brief-card {
  background: var(--gh-surface);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 14px;
  min-width: 0;
}
.brief-card h3 {
  margin: 0 0 10px;
}
.brief-card p {
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.brief-card .muted {
  font-size: 12px;
}
.brief-tag {
  background: var(--gh-soft);
  border: 1px solid color-mix(in srgb, var(--gh-brand) 14%, var(--gh-background));
  color: var(--gh-brand);
  font-size: 11px;
  border-radius: 30px;
  padding: 7px 11px;
}
.scope-note {
  padding: 16px 20px;
  background: var(--gh-soft);
  border: 1px solid color-mix(in srgb, var(--gh-brand) 13%, var(--gh-background));
  border-radius: 10px;
  color: var(--gh-muted);
  font-size: 12px;
  line-height: 1.8;
}
.ops-grid > .scope-note,
.ops-grid > .ops-actions,
.ops-grid > h3,
.ops-grid > .empty {
  grid-column: 1/-1;
}
.ops-grid > button {
  justify-self: start;
}
.ops-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#operationsFields {
  display: grid;
  gap: 14px;
}
#operationsFields label {
  display: grid;
  gap: 6px;
}
#productExtras label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
#productExtras .brief-card {
  padding: 12px;
  margin-bottom: 10px;
}
.brief-grid .brief-card {
  background: var(--gh-soft);
}
.ops-grid > button {
  grid-column: 1 / -1;
  align-self: start;
  min-height: 44px;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar,
  .mobile-drawer-backdrop {
    transition: none !important;
  }
}
@media (max-width: 820px) {
  .sidebar:not(.mobile-open) {
    visibility: hidden;
    pointer-events: none;
    box-shadow: none !important;
  }
  .sidebar.mobile-open {
    visibility: visible;
  }
}
/* Sign-in shares the public builder's calm, editorial identity. */
.signin-shell {
  width: min(1160px, calc(100% - 64px));
  min-height: 740px;
  margin: 5vh auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border: 1px solid var(--gh-line);
  border-radius: 26px;
  overflow: hidden;
  background: var(--gh-surface);
  box-shadow: 0 24px 80px color-mix(in srgb, var(--gh-ink) 6%, transparent);
}
.signin-story {
  padding: 45px 40px;
  background: color-mix(in srgb, var(--gh-brand) 9%, var(--gh-background));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.signin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--gh-brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
.signin-brand > span {
  font-size: 39px;
  letter-spacing: -3px;
}
.signin-story-copy {
  margin-top: 62px;
  z-index: 1;
}
.signin-story-copy h2 {
  font-size: 39px;
  line-height: 1.14;
  letter-spacing: -1.6px;
  margin: 15px 0 20px;
  font-weight: 550;
}
.signin-story-copy > p:last-child {
  max-width: 320px;
  color: var(--gh-muted);
  font-size: 14px;
}
.signin-story-foot {
  margin: 40px 0 0;
  font-size: 11px;
  color: var(--gh-muted);
}
.signin-content {
  padding: 38px 56px;
  display: flex;
  flex-direction: column;
}
.signin-back {
  align-self: flex-end;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.signin-form-wrap {
  margin: 48px 0 40px;
}
.signin-form-wrap h1 {
  font-size: 34px;
  letter-spacing: -1.3px;
  line-height: 1.2;
  margin: 12px 0;
}
.signin-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 27px;
}
.signin-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 4px;
  background: color-mix(in srgb, var(--gh-brand) 5%, var(--gh-background));
  gap: 4px;
  margin-bottom: 26px;
}
.signin-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--gh-muted);
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
  border-radius: 8px;
  cursor: pointer;
}
.signin-tabs button[aria-selected="true"] {
  background: var(--gh-surface);
  color: var(--accent);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--gh-ink) 6%, transparent);
}
.signin-content form {
  padding: 0;
}
.signin-content label {
  display: block;
  margin: 18px 0 8px;
}
.signin-content input {
  height: 48px;
}
.signin-password {
  position: relative;
}
.signin-password input {
  padding-right: 64px;
}
.signin-password button {
  position: absolute;
  right: 5px;
  top: 3px;
  height: 42px;
  min-width: 52px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}
.signin-content details {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.signin-content details summary {
  cursor: pointer;
  min-height: 30px;
}
.signin-content .signin-submit {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 49px;
  margin-top: 20px;
  font-size: 13px;
}
.signin-hint {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0;
}
.signin-text-button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  line-height: inherit;
}
.signin-setup {
  margin: 28px 0 0;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.signin-setup a {
  color: var(--accent);
  font-weight: 600;
}
.signin-footer {
  margin-top: auto;
  color: var(--gh-muted);
  font-size: 10px;
}
.signin-token-help {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.signin-error {
  font-size: 12px;
  background: #fff1ec;
  color: #963b2b;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.6;
}
.signin-error:empty {
  display: none;
}
.signin-art {
  margin: 32px 0 0 14px;
  background: color-mix(in srgb, var(--gh-brand) 3%, var(--gh-background));
  border: 1px solid color-mix(in srgb, var(--gh-brand) 21%, var(--gh-background));
  border-radius: 13px;
  transform: rotate(-4deg);
  box-shadow: 15px 20px 0 color-mix(in srgb, var(--gh-brand) 17%, var(--gh-background));
  position: relative;
}
.signin-art-top {
  display: flex;
  gap: 5px;
  padding: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--gh-brand) 11%, var(--gh-background));
}
.signin-art-top span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gh-brand) 27%, var(--gh-background));
}
.signin-art-body {
  display: flex;
  min-height: 135px;
}
.signin-art-side {
  width: 24%;
  background: color-mix(in srgb, var(--gh-brand) 5%, var(--gh-background));
  padding: 18px 12px;
}
.signin-art-side i {
  display: block;
  height: 5px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--gh-brand) 14%, var(--gh-background));
  margin: 0 0 14px;
}
.signin-art-side i:first-child {
  background: var(--gh-brand);
}
.signin-art-main {
  flex: 1;
  padding: 20px;
}
.signin-art-heading {
  height: 7px;
  width: 62%;
  background: var(--gh-muted);
  border-radius: 5px;
}
.signin-art-cards {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}
.signin-art-cards i {
  height: 35px;
  flex: 1;
  border: 1px solid color-mix(in srgb, var(--gh-brand) 12%, var(--gh-background));
  border-radius: 6px;
  background: color-mix(in srgb, var(--gh-brand) 6%, var(--gh-background));
}
.signin-art-row {
  height: 6px;
  width: 90%;
  background: color-mix(in srgb, var(--gh-brand) 11%, var(--gh-background));
  margin-bottom: 10px;
  border-radius: 5px;
}
.signin-art-row.short {
  width: 70%;
}
.signin-art-label {
  position: absolute;
  bottom: -19px;
  right: 5px;
  background: var(--gh-brand);
  color: var(--gh-surface);
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 11px;
  transform: rotate(6deg);
}
#accountForm label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
#accountButton {
  margin: 12px 0 8px;
}
@media (max-width: 820px) {
  .signin-shell {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 14px auto;
    border-radius: 20px;
  }
  .signin-story {
    padding: 22px 26px;
  }
  .signin-story-copy,
  .signin-art,
  .signin-story-foot {
    display: none;
  }
  .signin-brand > span {
    font-size: 30px;
  }
  .signin-content {
    padding: 22px 26px 26px;
  }
  .signin-form-wrap {
    margin: 20px 0 25px;
  }
  .signin-form-wrap h1 {
    font-size: 30px;
  }
  .signin-back {
    align-self: flex-start;
  }
  .signin-footer {
    padding-top: 5px;
  }
  .signin-content .signin-tabs {
    margin-bottom: 22px;
  }
}

.signin-content form {
  padding: 0 !important;
}
.signin-error.signin-success {
  background: color-mix(in srgb, var(--gh-brand) 6%, var(--gh-background));
  color: var(--gh-brand);
}
