/*
 * The shell: the checkpointzero.net header (logo tile, search, actions), and inside a
 * repository, a left rail with its sections and a card back to the community.
 */
#cz-sidebar {
  font-family: var(--fonts-proportional);
  color: var(--color-text, #e9eaec);
}
#cz-sidebar > summary {
  display: none;
}
#cz-sidebar svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Rail ─────────────────────────────────────────────────────────────────── */
.cz-sidebar-content {
  position: fixed;
  inset: 57px auto 0 0;
  width: 240px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 12px 14px;
  background: var(--cz-bg, #070808);
  border-right: 1px solid var(--cz-border-soft, #1a1c1e);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ffffff1f transparent;
}
.cz-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 8px !important;
  font: 400 10px/1.5 var(--fonts-monospace, monospace) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: var(--cz-faint, #686b70) !important;
}
.cz-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 10px;
  margin: 1px 0;
  border-radius: 8px;
  color: var(--cz-muted, #94979c) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  position: relative;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.cz-link:hover {
  background: var(--cz-hover, #ffffff0a);
  color: var(--cz-fg, #f2f3f4) !important;
}
.cz-link.active,
.cz-link[aria-current="page"] {
  background: var(--cz-active, #ffffff10);
  color: var(--cz-fg, #f2f3f4) !important;
}
.cz-link.active::before,
.cz-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--cz-blue, #2c80bb);
}
.cz-link > svg,
.cz-link > .svg {
  width: 16px;
  min-width: 16px;
  height: 16px;
  color: var(--cz-faint, #686b70);
  transition: color 0.15s;
}
.cz-link:hover > svg,
.cz-link:hover > .svg,
.cz-link.active > .svg,
.cz-link[aria-current="page"] > svg {
  color: var(--cz-fg-2, #c3c5c8);
}
.cz-link .label {
  margin-left: auto !important;
  font: 400 10px/1 var(--fonts-monospace, monospace) !important;
  min-width: 20px;
  text-align: center;
  padding: 4px 6px !important;
  border-radius: 6px !important;
}

/* The repository you're in */
.cz-repo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 9px 10px;
  border: 1px solid var(--cz-border, #24272a);
  border-radius: 10px;
  background: var(--cz-surface, #0d0e0f);
  text-decoration: none !important;
  transition: border-color 0.15s;
}
.cz-repo-card:hover {
  border-color: var(--cz-border-strong, #33363a);
}
.cz-repo-glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--cz-secondary, #1b1d1f);
  color: var(--cz-fg-2, #c3c5c8);
}
.cz-repo-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.cz-repo-text small {
  font: 10px var(--fonts-monospace, monospace);
  color: var(--cz-faint, #686b70);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cz-repo-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--cz-fg, #f2f3f4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The community card: a plain card with a hairline of blue across its top edge */
.cz-community {
  position: relative;
  margin-top: auto;
  padding: 14px 14px 8px;
  border: 1px solid var(--cz-border, #24272a);
  border-radius: 12px;
  background: var(--cz-surface, #0d0e0f);
  overflow: hidden;
}
.cz-community::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2c80bb99 30%, #7db6dc 50%, #2c80bb99 70%, transparent);
}
.cz-community-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cz-fg, #f2f3f4);
}
.cz-community-brand img {
  flex-shrink: 0;
  border-radius: 7px;
}
.cz-community-brand small {
  display: block;
  font: 9px/1.8 var(--fonts-monospace, monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cz-muted, #94979c);
}
.cz-community p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--cz-fg-2, #c3c5c8);
  margin: 12px 0 8px;
}
.cz-community nav {
  border-top: 1px solid var(--cz-border, #24272a);
  padding-top: 4px;
}
.cz-community nav a {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  color: var(--cz-fg-2, #c3c5c8);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s;
}
.cz-community nav a:hover {
  color: #fff;
}
.cz-community nav a span {
  color: var(--cz-blue-soft, #7db6dc);
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) #navbar {
  position: sticky;
  top: 0;
  z-index: 30;
}
body:is(.cz-has-rail, :has(> #cz-sidebar[data-server-rendered])) > .full.height {
  margin-left: 240px;
}
body:is(.cz-has-rail, :has(> #cz-sidebar[data-server-rendered])) #navbar {
  margin-left: -240px !important;
  width: calc(100% + 240px);
}
body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .page-content > .ui.container,
body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .secondary-nav > .ui.container {
  width: calc(100% - 64px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .page-content {
  padding-bottom: 48px;
}
body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) > .page-footer {
  padding: 20px 32px;
}
body:is(.cz-has-rail, :has(> #cz-sidebar[data-server-rendered])) > .page-footer {
  margin-left: 240px;
}
body:is(.cz-repo-navigation, :has(> #cz-sidebar[data-server-rendered])) .secondary-nav > overflow-menu,
body:is(.cz-repo-navigation, :has(> #cz-sidebar[data-server-rendered])) .secondary-nav > .tabs.divider {
  display: none !important;
}

/* ── Header: logo tile, FORGE tag, search ─────────────────────────────────── */
#navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
  background: none !important;
}
.cz-logo-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--cz-border, #24272a);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    background-color 0.3s;
}
#navbar-logo:hover .cz-logo-tile {
  border-color: #ffffff33;
  background: #ffffff08;
}
.cz-logo-tile img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 5px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#navbar-logo:hover .cz-logo-tile img {
  transform: perspective(120px) rotateY(-16deg) rotateX(8deg) scale(1.06);
}
.cz-logo-tile::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -50%;
  width: 33%;
  transform: skewX(-12deg);
  background: linear-gradient(90deg, transparent, #ffffff1f, transparent);
  opacity: 0;
  transition:
    translate 0.7s ease-out,
    opacity 0.7s;
}
#navbar-logo:hover .cz-logo-tile::after {
  translate: 480% 0;
  opacity: 1;
}
.cz-logo-words {
  display: flex;
  flex-direction: column;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cz-fg, #f2f3f4);
}
.cz-logo-words > span:last-child {
  color: var(--cz-muted, #94979c);
  transition: color 0.3s;
}
#navbar-logo:hover .cz-logo-words > span:last-child {
  color: var(--cz-blue-soft, #7db6dc);
}
.cz-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  width: 240px;
  margin: 0 6px 0 0;
  padding: 0 6px 0 10px;
  border: 1px solid var(--cz-border, #24272a);
  border-radius: 6.5px;
  background: #ffffff06;
  color: var(--cz-muted, #94979c);
  transition:
    border-color 0.15s,
    background-color 0.15s,
    width 0.25s;
}
.cz-search:hover {
  border-color: var(--cz-border-strong, #33363a);
}
.cz-search:focus-within {
  width: 300px;
  border-color: #2c80bbb3;
  background: #0c0d0e;
  box-shadow: 0 0 0 3px #2c80bb26;
}
.cz-search svg {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}
.cz-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0 !important;
  background: transparent !important;
  color: var(--cz-fg, #f2f3f4);
  font: 13px var(--fonts-proportional);
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.cz-search input::placeholder {
  color: var(--cz-muted, #94979c);
}
.cz-search kbd {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid var(--cz-border, #24272a);
  border-radius: 5px;
  background: var(--cz-surface, #0d0e0f);
  font: 10px var(--fonts-monospace, monospace);
  color: var(--cz-muted, #94979c);
}
.cz-search:focus-within kbd {
  opacity: 0;
}

@media (min-width: 1025px) {
  #cz-sidebar:not([open]) > .cz-sidebar-content {
    display: flex;
  }
}
/* In a repository on a shorter screen, the community card tightens up so the
   repository's own links keep the room */
@media (min-width: 1025px) and (max-height: 980px) {
  body:is(.cz-repo-navigation, :has(> #cz-sidebar[data-server-rendered])) .cz-community p {
    display: none;
  }
  body:is(.cz-repo-navigation, :has(> #cz-sidebar[data-server-rendered])) .cz-community {
    padding-bottom: 4px;
  }
  body:is(.cz-repo-navigation, :has(> #cz-sidebar[data-server-rendered])) .cz-community nav {
    margin-top: 10px;
  }
  body:is(.cz-repo-navigation, :has(> #cz-sidebar[data-server-rendered])) .cz-community nav a {
    padding: 5px 0;
  }
  body:is(.cz-repo-navigation, :has(> #cz-sidebar[data-server-rendered])) .cz-sidebar-content {
    gap: 16px;
  }
}

/* ── Narrow screens: the rail becomes a menu under the header ─────────────── */
@media (max-width: 1024px) {
  body:is(.cz-has-rail, :has(> #cz-sidebar[data-server-rendered])) > .full.height,
  body:is(.cz-has-rail, :has(> #cz-sidebar[data-server-rendered])) > .page-footer {
    margin-left: 0;
  }
  body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) #navbar {
    margin-left: 0 !important;
    width: 100%;
    position: relative;
  }
  .cz-search {
    display: none;
  }
  #cz-sidebar {
    position: absolute;
    inset: 57px 0 auto;
    z-index: 25;
  }
  body:has(#cz-sidebar[data-server-rendered]) .page-content {
    padding-top: 41px;
  }
  /* The native disclosure remains usable when scripts are disabled. */
  body.no-js #cz-sidebar {
    position: relative;
    inset: auto;
  }
  body.no-js:has(#cz-sidebar[data-server-rendered]) .page-content {
    padding-top: 0;
  }
  #cz-sidebar > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    list-style: none;
    background: var(--cz-bg, #070808);
    border-bottom: 1px solid var(--cz-border-soft, #1a1c1e);
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--cz-fg-2, #c3c5c8);
  }
  #cz-sidebar > summary::-webkit-details-marker {
    display: none;
  }
  .cz-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .cz-summary-context {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 11px var(--fonts-monospace, monospace);
    color: var(--cz-muted, #94979c);
  }
  .cz-chevron {
    margin-left: auto;
    transition: rotate 0.2s;
  }
  #cz-sidebar[open] .cz-chevron {
    rotate: 180deg;
  }
  #cz-sidebar[open] .cz-sidebar-content {
    position: absolute;
    inset: 41px 0 auto;
    width: min(320px, 100vw);
    max-height: calc(100dvh - 100px);
    border-bottom: 1px solid var(--cz-border, #24272a);
    border-radius: 0 0 12px 0;
    box-shadow: 12px 24px 48px #000a;
  }
  #cz-sidebar:not([open]) .cz-sidebar-content {
    display: none;
  }
  .cz-community {
    margin-top: 0;
  }
  body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .page-content > .ui.container,
  body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .secondary-nav > .ui.container {
    width: calc(100% - 32px) !important;
  }
  body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .repo-header {
    gap: 16px;
    flex-wrap: wrap;
  }
  body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .repo-header .repo-buttons {
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .cz-logo-words {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #cz-sidebar *,
  #navbar-logo * {
    transition: none !important;
  }
}

/* Authentication: a public-project introduction beside the native Forge form. */
body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .page-content.user.signin {
  display: flex;
  align-items: center;
  min-height: calc(100dvh - 124px);
  padding: 56px 32px 72px;
  background-image: radial-gradient(ellipse at 12% 32%, #2c80bb0d, transparent 52%);
}
.cz-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(40px, 7vw, 104px);
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  align-items: center;
}
.cz-auth-intro h1 {
  margin: 18px 0 20px;
  color: var(--cz-fg, var(--color-text));
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.cz-auth-intro h1 span { color: var(--cz-muted, var(--color-text-light)); }
.cz-auth-lede {
  max-width: 410px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cz-muted, var(--color-text-light));
}
.cz-auth-benefits { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 22px; }
.cz-auth-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.cz-auth-benefits li > span {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--cz-faint, var(--color-text-light));
  font: 11px var(--fonts-monospace);
}
.cz-auth-benefits strong { font-size: 14px; font-weight: 500; }
.cz-auth-benefits p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: var(--cz-muted, var(--color-text-light)); }
.cz-auth-public { padding-top: 24px; border-top: 1px solid var(--color-border); }
.cz-auth-public strong { font-size: 13px; font-weight: 500; }
.cz-auth-public p { margin: 7px 0 12px; font-size: 13px; line-height: 1.6; color: var(--cz-muted, var(--color-text-light)); }
.cz-auth-public nav { display: flex; flex-wrap: wrap; gap: 20px; }
.cz-auth-public a { font-size: 13px; font-weight: 500; }
.cz-auth-public a span { margin-left: 4px; color: var(--cz-muted, var(--color-text-light)); }
.cz-auth-form-column { min-width: 0; }
.cz-auth-form-column > .column { width: 100% !important; max-width: none !important; padding: 0 !important; }
body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .cz-auth-form-column .ui.container.fluid {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.cz-auth-form-column .ui.attached.header { padding: 24px 24px 18px !important; font-size: 22px !important; }
.cz-auth-form-column .ui.attached.segment { padding: 24px !important; }
.cz-auth-form-column .ui.form .field { margin-bottom: 22px; }
.cz-auth-form-column .ui.form input[type="text"],
.cz-auth-form-column .ui.form input[type="password"] { min-height: 44px; }
.cz-auth-form-column .ui.form .primary.button { min-height: 44px; }
.cz-auth-form-column a[href*="/forgot_password"] { font-size: 13px; }
.cz-auth-provider {
  padding: 28px 24px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-box-body);
}
.cz-auth-provider h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.cz-auth-provider p { margin: 12px 0 22px; font-size: 14px; line-height: 1.65; color: var(--cz-muted, var(--color-text-light)); }
.cz-auth-provider a.cz-auth-github {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 8px;
  background: var(--color-text) !important;
  color: var(--color-body) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.cz-auth-provider a.cz-auth-github:hover { opacity: 0.9; }
.cz-auth-provider .cz-auth-provider-note { margin: 14px 0 0; text-align: center; font-size: 12px; }
.cz-auth-password { border-top: 1px solid var(--color-border); padding-top: 16px; }
.cz-auth-password > summary { cursor: pointer; color: var(--cz-muted, var(--color-text-light)); font-size: 13px; padding: 4px 0 16px; }
.cz-auth-password[open] > summary { color: var(--color-text); }
@media (max-width: 760px) {
  body:is(.cz-shell, :has(> #cz-sidebar[data-server-rendered])) .page-content.user.signin { padding: 40px 20px 56px; }
  .cz-auth-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 460px; }
  .cz-auth-intro h1 { font-size: clamp(36px, 8vw, 48px); }
  .cz-auth-benefits { display: none; }
  .cz-auth-public { margin-top: 24px; padding-top: 20px; }
}

/* ZeroPad help and downloads: native controls stay available underneath. */
.cz-release-intro { margin: 28px 0 30px; }
.cz-release-intro h1 { margin: 8px 0 14px; font: 600 clamp(26px, 4vw, 40px)/1.15 var(--fonts-proportional); letter-spacing: -.04em; }
.cz-release-intro > p:not(.cz-kicker) { color: var(--color-text-light); line-height: 1.7; }
.cz-release-intro nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; font-size: 12px; }
.cz-release-intro nav a { color: var(--color-text-light); }
.cz-release-intro nav a:hover { color: var(--color-text); }
.repository.releases #release-list > li { padding: 24px 0 30px; }
.repository.releases #release-list .release-title-wrap h4 { font-size: 23px; letter-spacing: -.02em; }
.cz-release-download { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; margin: 0 0 24px; background: var(--color-box-body); border: 1px solid var(--color-secondary); border-radius: 14px; }
.cz-release-download h2 { margin: 8px 0 10px; font: 600 22px/1.2 var(--fonts-proportional); letter-spacing: -.025em; }
.cz-release-download p { margin: 0; color: var(--color-text-light); font-size: 13px; line-height: 1.6; }
.cz-release-download .cz-download-note { max-width: 430px; margin-top: 12px; font-size: 12px; }
.cz-download-actions { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 12px; }
.cz-download-actions small { font-size: 10px; color: var(--color-text-light); text-align: center; }
.cz-download-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 12px 20px; border-radius: 9px; background: var(--color-text); color: var(--color-body) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.cz-download-button:hover { opacity: .88; }
.cz-download-button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
.repository.releases details.download { padding: 14px 18px; border: 1px solid var(--color-secondary); border-radius: 10px; background: var(--color-box-body); }
.repository.releases details.download > summary { cursor: pointer; font-size: 12px; font-weight: 500; color: var(--color-text-light); }
.repository.wiki.view .file-content { padding-bottom: 40px; }
.repository.wiki.view .wiki-content-parts { border: 1px solid var(--color-secondary); border-radius: 14px; background: var(--color-box-body); padding: clamp(18px, 3vw, 32px); }
.repository.wiki.view .wiki-content-main { min-width: 0; }
.repository.wiki.view .markup { font-size: 14px; line-height: 1.85; }
.repository.wiki.view .markup h1 { font-size: 32px; letter-spacing: -.035em; }
.repository.wiki.view .markup h2 { margin-top: 30px; font-size: 22px; letter-spacing: -.025em; }
.repository.wiki.view .markup table { display: block; max-width: 100%; overflow-x: auto; }
.repository.wiki.view .repo-button-row { flex-wrap: wrap; gap: 12px; }
.repository.wiki.view .clone-panel { max-width: 100%; }
.repository.wiki.view .ui.dividing.header { border-color: var(--color-secondary); padding: 18px 0; }
@media (max-width: 767px) {
  .cz-release-download { flex-direction: column; align-items: stretch; padding: 20px; gap: 20px; }
  .cz-download-actions { align-items: stretch; }
  .repository.releases #release-list > li { padding-top: 18px; }
  .repository.wiki.view .repo-button-row .clone-panel { width: 100%; }
  .repository.wiki.view .clone-panel input { width: 0; min-width: 0; flex: 1; }
}

/* CheckpointSource account forms: one clear password card, native auth intact. */
.cz-auth-provider { padding: 32px; }
.cz-auth-provider h2 { font-size: 25px; line-height: 1.2; }
.cz-auth-password { padding: 20px 0 0; }
.cz-auth-password > summary { font-weight: 500; padding: 0 8px 18px; }
.cz-auth-password .ui.top.attached.header { border-radius: 12px 12px 0 0; font-size: 18px !important; text-align: left; }
.cz-auth-password .ui.attached.segment { border-radius: 0 0 12px 12px; }
.cz-password-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cz-password-heading label { font-size: 13px; font-weight: 500; }
.cz-password-heading a { font-size: 12px !important; font-weight: 400; }
.cz-password-input { position: relative; }
.cz-password-input input { padding-right: 64px !important; width: 100%; }
.cz-password-toggle { position: absolute; right: 8px; top: 6px; min-height: 32px; padding: 4px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--color-text-light); cursor: pointer; font: 12px var(--fonts-proportional); }
.cz-password-toggle:hover { background: var(--color-hover); color: var(--color-text); }
.cz-password-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.cz-recovery-page { padding: 64px 20px !important; min-height: calc(100dvh - 124px); }
.cz-recovery-page > .page.grid { max-width: 440px; margin: 0 auto !important; }
.cz-recovery-page > .page.grid > .column { width: 100% !important; padding: 0 !important; }
.cz-recovery-page .ui.attached.header { padding: 24px !important; font-size: 24px; border-radius: 12px 12px 0 0; }
.cz-recovery-page .ui.attached.segment { padding: 24px !important; border-radius: 0 0 12px 12px; }
.cz-recovery-page .ui.attached.segment p { text-align: left; line-height: 1.7; color: var(--color-text-light); }
.cz-recovery-help { margin-top: 28px; padding: 24px 0; border-top: 1px solid var(--color-border); }
.cz-recovery-help h3 { font-size: 15px; }
.cz-recovery-help p { font-size: 13px; line-height: 1.7; color: var(--color-text-light); }
.cz-recovery-help a { font-size: 13px; }
.cz-recovery-back { display: block; margin-top: 32px; color: var(--color-text) !important; }
@media(max-width:760px) { .cz-auth-provider { padding: 24px; } .cz-auth-provider h2 { font-size: 23px; } }
