*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
  color-scheme: light;
  /* Editorial palette */
  --paper: #f7f4ef;
  --ink: #16140f;
  --muted: #6b655c;
  --line: #e2dcd2;
  --line-strong: #cfc7b9;
  --accent: #1f6f4e;
  --accent-strong: #185c40;
  --accent-soft: #e6f0ea;
  --removed: #9c4221;
  --removed-soft: #f6e8e0;
  /* Legacy aliases used by auth/account pages */
  --bg: var(--paper);
  --panel: #ffffff;
  --text: var(--ink);
  --border: var(--line);
  --danger: #b91c1c;
  --success: var(--accent);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  --serif: "Fraunces", "Times New Roman", Times, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
  input,
  textarea,
  select {
  font: inherit;
  color: inherit;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.redline-home {
  --rl-ink: #16130f;
  --rl-paper: #f6f1e6;
  --rl-red: #e03427;
  --rl-acid: #d9ff3e;
  --rl-green: #2e7d4f;
  --rl-grey: #7d786c;
  --rl-card: #fffdf6;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--rl-paper);
  color: var(--rl-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.redline-home *,
  .redline-home *::before,
  .redline-home *::after {
  box-sizing: border-box;
}

.redline-home ::-moz-selection {
  background: var(--rl-acid);
  color: var(--rl-ink);
}

.redline-home ::selection {
  background: var(--rl-acid);
  color: var(--rl-ink);
}

.rl-wrap {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

.rl-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 3px solid var(--rl-red);
  background: var(--rl-ink);
  color: var(--rl-paper);
}

.rl-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 14px 0;
}

.rl-logo {
  color: var(--rl-paper);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.rl-logo span {
  color: var(--rl-acid);
}

.rl-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.rl-nav-links a {
  color: var(--rl-paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  opacity: 0.8;
  text-decoration: none;
  text-transform: uppercase;
}

.rl-nav-links a:hover {
  color: var(--rl-acid);
  opacity: 1;
}

.rl-nav-links .rl-nav-signin {
  border: 2px solid var(--rl-acid);
  padding: 9px 18px;
  background: var(--rl-acid);
  color: var(--rl-ink);
  font-weight: 800;
  opacity: 1;
}

.rl-nav-links .rl-nav-signin:hover {
  background: transparent;
  color: var(--rl-acid);
}

.rl-hero {
  padding: 64px 0 30px;
}

.rl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: start;
  gap: 52px;
}

.rl-display,
  .rl-section-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-transform: uppercase;
}

.rl-display {
  display: grid;
  gap: 4px;
  font-size: clamp(40px, 5.4vw, 78px);
  letter-spacing: 0;
  line-height: 0.95;
}

.rl-display-line {
  display: block;
  line-height: 0.95;
}

.rl-display-human-line {
  margin: 3px 0 4px;
}

.rl-slop {
  display: inline-block;
  padding-bottom: 0.14em;
  line-height: 0.95;
  color: var(--rl-red);
  text-decoration: none;
}

.rl-human {
  display: inline-block;
  padding: 1px 12px 3px;
  transform: rotate(-1.1deg);
  background: var(--rl-acid);
  box-shadow: 5px 5px 0 var(--rl-ink);
  line-height: 0.95;
}

.rl-hero-sub {
  max-width: 520px;
  margin: 30px 0 0;
  color: #413d34;
  font-size: 18px;
  line-height: 1.6;
}

.rl-edit {
  padding-bottom: 0.11em;
  color: var(--rl-red);
  text-decoration: none;
}

.rl-slop,
  .rl-edit {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='5' viewBox='0 0 28 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 3 C3.5 1 3.5 1 7 3 S10.5 5 14 3 S17.5 1 21 3 S24.5 5 28 3' fill='none' stroke='%23e03427' stroke-width='1.35' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 28px 5px;
}

.rl-slop {
  background-size: 34px 6px;
}

.rl-fix {
  border-bottom: 2px solid var(--rl-green);
  padding: 0 3px;
  background: #e6f4d9;
  font-weight: 600;
}

.rl-tell-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: var(--rl-grey);
  font-size: 13px;
}

.rl-tell-label {
  color: var(--rl-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.rl-tell {
  border: 1.5px solid var(--rl-red);
  padding: 5px 11px;
  background: #fbe3df;
  color: var(--rl-red);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  text-decoration: none;
}

.rl-demo-card {
  border: 3px solid var(--rl-ink);
  margin: 0;
  background: var(--rl-card);
  box-shadow: 10px 10px 0 var(--rl-red);
  transform: rotate(0.7deg);
}

.rl-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--rl-ink);
  padding: 14px 18px;
  background: var(--rl-ink);
  color: var(--rl-paper);
}

.rl-demo-title {
  color: var(--rl-acid);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rl-modes {
  display: flex;
  border: 2px solid var(--rl-paper);
}

.rl-mode-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rl-mode-label {
  color: var(--rl-acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.redline-home .mode-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  border-radius: 0;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: var(--rl-paper);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.redline-home .mode-btn.is-active {
  background: var(--rl-acid);
  color: var(--rl-ink);
}

.rl-demo-body {
  padding: 18px;
}

.rl-demo-hint {
  margin: 0 0 12px;
  color: #5a554a;
  font-size: 13.5px;
  line-height: 1.5;
}

.rl-demo-hint b {
  padding: 0 4px;
  background: var(--rl-acid);
}

.rl-demo-input {
  display: block;
  width: 100%;
  min-height: 190px;
  border: 2px solid var(--rl-ink);
  padding: 14px 15px;
  resize: vertical;
  background: #ffffff;
  color: var(--rl-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
}

.rl-demo-input:focus {
  outline: 3px solid var(--rl-acid);
  outline-offset: -1px;
}

.rl-demo-input::-moz-placeholder {
  color: #a49e8f;
}

.rl-demo-input::placeholder {
  color: #a49e8f;
}

.rl-demo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  color: var(--rl-grey);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px;
}

.rl-demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.rl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  border: 3px solid var(--rl-ink);
  border-radius: 0;
  padding: 16px 26px;
  cursor: pointer;
  background: transparent;
  color: var(--rl-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 100ms ease, box-shadow 100ms ease, background 100ms ease, color 100ms ease;
}

.rl-btn-primary {
  background: var(--rl-ink);
  color: var(--rl-acid);
  box-shadow: 5px 5px 0 var(--rl-red);
}

.rl-btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--rl-red);
}

.rl-btn-ghost {
  background: transparent;
  color: var(--rl-ink);
}

.rl-btn-ghost:hover {
  background: var(--rl-ink);
  color: var(--rl-paper);
}

.rl-demo-fine {
  max-width: 240px;
  color: var(--rl-grey);
  font-size: 12px;
  line-height: 1.5;
}

[data-rewrite][aria-busy="true"] {
  pointer-events: none;
  opacity: 0.85;
}

.rl-demo-output {
  border-top: 2px solid var(--rl-ink);
  margin-top: 18px;
  padding-top: 16px;
}

.rl-demo-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rl-link-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  color: var(--rl-red);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rl-link-btn:hover {
  text-decoration: underline;
}

.rl-diff {
  border: 2px solid var(--rl-ink);
  padding: 14px 15px;
  background: #ffffff;
  color: var(--rl-ink);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.rl-diff .d-del {
  color: var(--rl-red);
  background: #fbe3df;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.rl-diff .d-ins {
  padding: 0 2px;
  background: #e6f4d9;
  color: var(--rl-green);
  opacity: 0;
  transform: translateY(4px);
  animation: rl-rise 320ms ease forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes rl-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.redline-home > section {
  padding: 84px 0;
}

.rl-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  background: var(--rl-ink);
  color: var(--rl-acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.rl-section-title {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.rl-lede {
  max-width: 640px;
  margin: 0;
  color: #413d34;
  font-size: 17px;
  line-height: 1.6;
}

.rl-general {
  background: var(--rl-ink);
  color: var(--rl-paper);
}

.rl-general .rl-section-title {
  color: var(--rl-paper);
}

.rl-general .rl-kicker {
  background: var(--rl-red);
  color: #ffffff;
}

.rl-general .rl-lede {
  color: #b6b1a3;
}

.rl-vs-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: stretch;
  margin-top: 44px;
}

.rl-vs-col {
  border: 3px solid var(--rl-paper);
  padding: 26px;
  font-size: 15.5px;
  line-height: 1.75;
}

.rl-vs-col p,
  .rl-acad-col p {
  margin: 0;
}

.rl-before {
  border-color: var(--rl-red);
  background: #241d1a;
  color: #d8d2c4;
}

.rl-after {
  background: var(--rl-card);
  color: var(--rl-ink);
  box-shadow: 8px 8px 0 var(--rl-acid);
}

.rl-vs-label,
  .rl-a-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rl-before .rl-vs-label,
  .rl-acad-in .rl-a-tag {
  background: var(--rl-red);
  color: #ffffff;
}

.rl-after .rl-vs-label {
  background: var(--rl-ink);
  color: var(--rl-acid);
}

.rl-vs-mid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rl-vs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 3px solid var(--rl-paper);
  border-radius: 50%;
  transform: rotate(-8deg);
  background: var(--rl-acid);
  color: var(--rl-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.rl-tellmark {
  border-bottom: 2px solid var(--rl-red);
  padding: 0 2px;
  background: rgb(224 52 39 / 0.28);
}

.rl-general-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 2px solid #39332c;
  margin-top: 40px;
  background: #39332c;
}

.rl-gp {
  padding: 22px 20px;
  background: var(--rl-ink);
}

.rl-gp h3 {
  margin: 0;
  color: var(--rl-acid);
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rl-gp p {
  margin: 0;
  color: #a39e90;
  font-size: 13.5px;
  line-height: 1.55;
}

.rl-academic {
  border-block: 3px solid var(--rl-ink);
  background: #efe9db;
}

.rl-acad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 44px;
}

.rl-acad-col {
  border: 3px solid var(--rl-ink);
  padding: 26px;
  background: var(--rl-card);
  font-size: 15px;
  line-height: 1.8;
}

.rl-acad-out {
  box-shadow: 8px 8px 0 var(--rl-green);
}

.rl-acad-out .rl-a-tag {
  background: var(--rl-green);
  color: #ffffff;
}

.rl-pin {
  border-bottom: 2px solid var(--rl-green);
  padding: 0 2px;
  background: #e6f4d9;
  font-weight: 600;
}

.rl-acad-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  color: #5a554a;
  font-size: 13px;
}

.rl-chip {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--rl-green);
  background: #e6f4d9;
}

.rl-acad-honest {
  max-width: 640px;
  border-left: 4px solid var(--rl-ink);
  margin: 26px 0 0;
  padding-left: 16px;
  color: #5a554a;
  font-size: 13.5px;
  line-height: 1.6;
}

.rl-pricing .rl-lede b {
  padding: 0 4px;
  background: var(--rl-acid);
}

.rl-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.rl-price-card {
  position: relative;
  border: 3px solid var(--rl-ink);
  padding: 30px 26px;
  background: var(--rl-card);
}

.rl-price-card.rl-popular {
  box-shadow: 8px 8px 0 var(--rl-red);
}

.rl-pop-tag {
  position: absolute;
  top: -15px;
  left: 22px;
  padding: 5px 12px;
  background: var(--rl-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rl-amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.rl-credits {
  margin-top: 6px;
  color: var(--rl-red);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rl-price-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.rl-price-card li {
  position: relative;
  border-top: 1.5px solid #e4ddcc;
  padding: 9px 0 9px 24px;
  color: #413d34;
  font-size: 14px;
  line-height: 1.5;
}

.rl-price-card li::before {
  position: absolute;
  left: 0;
  color: var(--rl-red);
  content: "→";
  font-weight: 800;
}

.rl-price-card .rl-btn {
  width: 100%;
  margin-top: 20px;
}

.rl-final {
  border-top: 4px solid var(--rl-ink);
  padding: 104px 28px;
  background: var(--rl-acid);
  text-align: center;
}

.rl-final .rl-section-title {
  font-size: clamp(34px, 6vw, 76px);
}

.rl-final .rl-btn-primary {
  margin-top: 34px;
  box-shadow: 5px 5px 0 var(--rl-card);
}

.rl-final .rl-btn-primary:hover {
  box-shadow: 8px 8px 0 var(--rl-card);
}

.rl-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 34px 28px;
  background: var(--rl-ink);
  color: #8a857a;
  font-size: 13px;
}

.rl-footer .rl-logo {
  font-size: 15px;
}

.rl-footer p {
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

.rl-foot-links {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.rl-foot-links a {
  color: #8a857a;
  text-decoration: none;
}

.rl-foot-links a:hover {
  color: var(--rl-acid);
}

@media (max-width: 980px) {
  .rl-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rl-demo-card {
    transform: none;
  }

  .rl-general-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .rl-vs-grid,
    .rl-acad-grid,
    .rl-price-grid {
    grid-template-columns: 1fr;
  }

  .rl-vs-mid {
    padding: 16px 0;
  }

  .rl-vs-badge {
    transform: none;
  }

  .rl-price-card.rl-popular {
    box-shadow: 6px 6px 0 var(--rl-red);
  }
}

@media (max-width: 720px) {
  .rl-nav-links a:not(.rl-nav-signin) {
    display: none;
  }
}

@media (max-width: 560px) {
  .rl-wrap,
    .rl-nav-inner {
    width: min(100% - 32px, 1240px);
  }

  .rl-display {
    gap: 5px;
  }

  .rl-slop {
    background-size: 16px 6px;
  }

  .rl-hero {
    padding-top: 44px;
  }

  .redline-home > section {
    padding: 64px 0;
  }

  .rl-general-points {
    grid-template-columns: 1fr;
  }

  .rl-demo-head,
    .rl-demo-actions,
    .rl-demo-output-head {
    align-items: stretch;
    flex-direction: column;
  }

  .rl-mode-group {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .rl-modes {
    width: 100%;
  }

  .redline-home .mode-btn {
    flex: 1;
  }
}

.shell {
  min-height: 100vh;
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 3px solid #e03427;
  background: var(--ink);
  color: var(--paper);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand,
  .nav-actions,
  .action-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  color: var(--paper);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.brand span {
  color: #d9ff3e;
}

.nav-actions {
  gap: 24px;
}

.nav-actions a:not(.btn),
  .nav-actions .nav-account {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  opacity: 0.82;
  text-transform: uppercase;
}

.nav-actions a:not(.btn):hover,
  .nav-actions .nav-account:hover,
  .nav-actions a.is-active {
  color: #d9ff3e;
  opacity: 1;
}

.account-actions {
  margin: 18px 0 26px;
}

.main {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 52px 0 80px;
}

.panel {
  border: 3px solid var(--ink);
  border-radius: 0;
  background: #fffdf6;
  box-shadow: 8px 8px 0 #e03427;
}

.primary-panel,
  .metric-panel,
  .auth-panel,
  .account-panel {
  padding: 26px;
}

.panel-header {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0;
  color: #e03427;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.panel-header h1,
  .panel-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.panel-header h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.panel-header h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.muted {
  max-width: 58ch;
  margin: 0 0 22px;
  color: var(--muted);
}

.btn-secondary:hover,
  .btn-ghost:hover {
  border-color: var(--line-strong);
}

.full-width {
  width: 100%;
}

.metrics {
  display: grid;
  gap: 12px;
  margin: 0;
}

.metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.metrics dt {
  color: var(--muted);
}

.metrics dd {
  margin: 0;
  font-weight: 600;
}

.auth-layout {
  display: grid;
  min-height: calc(100vh - 210px);
  place-items: center;
}

.account-layout {
  display: grid;
  gap: 16px;
}

.auth-panel,
  .account-panel {
  width: min(100%, 520px);
}

.signup-closed-panel {
  box-shadow: 8px 8px 0 #d9ff3e;
}

.signup-closed-panel .panel-header h1 {
  max-width: 8ch;
}

.signup-closed-copy {
  max-width: 36ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 500;
}

.detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.input {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  outline: none;
}

.input:focus {
  outline: 3px solid #d9ff3e;
  outline-offset: -1px;
}

.notice {
  border: 2px solid var(--ink);
  border-radius: 0;
  margin-bottom: 14px;
  padding: 11px 12px;
  font-weight: 500;
}

.notice-error {
  border-color: rgb(185 28 28 / 0.24);
  color: var(--danger);
  background: rgb(185 28 28 / 0.06);
}

.notice-success {
  border-color: rgb(31 111 78 / 0.24);
  color: var(--success);
  background: rgb(31 111 78 / 0.06);
}

/* Admin is intentionally denser than the customer-facing product. */

.admin-body {
  background: #f3f4f6;
  color: #18202b;
  font-size: 14px;
}

.admin-skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  border-radius: 4px;
  padding: 8px 12px;
  background: white;
  color: #101828;
  font-weight: 700;
}

.admin-skip:focus {
  transform: translateY(0);
}

.admin-shell {
  min-height: 100vh;
  --admin-blue: #315fe8;
  --admin-line: #d9dee7;
  --admin-muted: #667085;
}

.admin-shell *:focus-visible,.admin-auth-shell *:focus-visible {
  outline-color: var(--admin-blue);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 28px;
  background: #101828;
  color: white;
}

.admin-brand {
  flex: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}

.admin-brand b {
  color: #8fb0ff;
}

.admin-operator {
  position: relative;
  color: #d0d5dd;
  font-size: .72rem;
}

.admin-operator summary {
  display: flex;
  min-height: 36px;
  max-width: min(42vw, 360px);
  align-items: center;
  gap: 9px;
  border-radius: 4px;
  padding: 0 9px;
  cursor: pointer;
  list-style: none;
}

.admin-operator summary::-webkit-details-marker {
  display: none;
}

.admin-operator summary:hover,.admin-operator[open] summary {
  background: #1d2939;
  color: white;
}

.admin-operator-email {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-operator-chevron {
  width: 6px;
  height: 6px;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 120ms ease;
}

.admin-operator[open] .admin-operator-chevron {
  transform: translateY(2px) rotate(225deg);
}

.admin-operator-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 5px);
  right: 0;
  width: 220px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 4px;
  background: white;
  box-shadow: 0 12px 28px rgb(16 24 40 / .18);
  color: #344054;
}

.admin-operator-menu a,.admin-operator-menu button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 4px;
  padding: 0 10px;
  cursor: pointer;
  background: transparent;
  color: inherit;
  font-size: .74rem;
  font-weight: 600;
  text-align: left;
  box-sizing: border-box;
}

.admin-operator-menu a:hover,.admin-operator-menu button:hover {
  background: #f2f4f7;
  color: #101828;
}

.admin-operator-menu form {
  border-top: 1px solid #eaecf0;
  margin-top: 4px;
  padding-top: 4px;
}

.admin-operator-menu button {
  color: #b42318;
}

.admin-tabs {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: stretch;
  min-height: 43px;
  border-bottom: 1px solid #cbd2dd;
  padding: 0 28px;
  background: white;
}

.admin-tabs a {
  display: grid;
  place-items: center;
  border-bottom: 2px solid transparent;
  padding: 0 18px;
  color: #667085;
  font-size: .76rem;
  font-weight: 650;
}

.admin-tabs a:hover {
  color: #101828;
  background: #f8fafc;
}

.admin-tabs a.is-active {
  border-bottom-color: var(--admin-blue);
  color: var(--admin-blue);
}

.admin-main {
  display: grid;
  gap: 14px;
  width: min(1540px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.admin-pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-height: 51px;
}

.admin-pagehead p {
  margin: 0 0 2px;
  color: var(--admin-muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-pagehead h1 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.admin-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--admin-muted);
  font-size: .68rem;
}

.admin-refresh {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  padding: 0 11px;
  background: white;
  color: var(--admin-blue);
  font-weight: 650;
}

.admin-refresh:hover {
  border-color: #98a2b3;
  background: #f8fafc;
}

.admin-notice {
  border: 1px solid #a6f4c5;
  padding: 9px 12px;
  background: #ecfdf3;
  color: #067647;
  font-size: .76rem;
}

.admin-notice-warning {
  border-color: #fedf89;
  background: #fffaeb;
  color: #b54708;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: white;
  overflow: hidden;
}

.admin-kpis-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-kpis-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-kpis article {
  display: grid;
  gap: 5px;
  min-width: 0;
  border-right: 1px solid var(--admin-line);
  padding: 13px 15px;
}

.admin-kpis article:last-child {
  border: 0;
}

.admin-kpis span, .admin-kpis small {
  color: var(--admin-muted);
  font-size: .67rem;
}

.admin-kpis span {
  font-weight: 650;
  text-transform: uppercase;
}

.admin-kpis strong {
  overflow: hidden;
  color: #101828;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1;
  text-overflow: ellipsis;
}

.admin-kpis strong i {
  margin-left: 2px;
  color: var(--admin-muted);
  font-size: .68rem;
  font-style: normal;
  font-weight: 500;
}

.admin-kpis .admin-kpi-text {
  font-size: 1.1rem;
  letter-spacing: -.01em;
}

.admin-grid-two, .admin-layout-2-1 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-layout-2-1 {
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
}

.admin-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-panel {
  min-width: 0;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  padding: 15px;
  background: white;
  box-shadow: 0 1px 2px rgb(16 24 40 / .03);
}

.admin-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.admin-panel > header h2 {
  margin: 0;
  color: #101828;
  font-size: .88rem;
  font-weight: 700;
}

.admin-panel > header p {
  margin: 2px 0 0;
  color: var(--admin-muted);
  font-size: .68rem;
}

.admin-panel > header a, .admin-back {
  color: var(--admin-blue);
  font-size: .7rem;
  font-weight: 650;
}

.admin-badge, .admin-pill {
  display: inline-flex;
  align-items: center;
  width: -moz-max-content;
  width: max-content;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  padding: 2px 7px;
  background: #f9fafb;
  color: #475467;
  font-size: .62rem;
  font-weight: 650;
  white-space: nowrap;
}

.admin-pill.is-good {
  border-color: #a6f4c5;
  background: #ecfdf3;
  color: #067647;
}

.admin-pill.is-bad {
  border-color: #fecdca;
  background: #fef3f2;
  color: #b42318;
}

.admin-pill.is-accent {
  border-color: #b2ccff;
  background: #eff4ff;
  color: #3538cd;
}

.admin-badge.is-good {
  border-color: #a6f4c5;
  background: #ecfdf3;
  color: #067647;
}

.admin-badge.is-warning {
  border-color: #fedf89;
  background: #fffaeb;
  color: #b54708;
}

.admin-state-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.admin-state-row article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 7px;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  padding: 9px;
}

.admin-state-row small {
  color: var(--admin-muted);
  font-size: .63rem;
  text-transform: capitalize;
}

.admin-state-row strong {
  grid-column: 1 / -1;
  color: #101828;
  font-size: 1.25rem;
}

.admin-launch-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #eaecf0;
  border-radius: 4px;
  overflow: hidden;
}

.admin-launch-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-launch-grid article {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  border-right: 1px solid #eaecf0;
  padding: 10px;
}

.admin-launch-grid article:last-child {
  border-right: 0;
}

.admin-launch-grid span,.admin-launch-grid small {
  color: var(--admin-muted);
  font-size: .63rem;
}

.admin-launch-grid span {
  font-weight: 650;
  text-transform: uppercase;
}

.admin-launch-grid strong {
  overflow: hidden;
  color: #101828;
  font-size: .78rem;
  text-overflow: ellipsis;
}

.admin-launch-grid .admin-pill {
  color: inherit;
  text-transform: none;
}

.admin-config-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.admin-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #98a2b3;
}

.admin-dot.is-queued {
  background: #f79009;
}

.admin-dot.is-running {
  background: #2e90fa;
}

.admin-dot.is-succeeded {
  background: #12b76a;
}

.admin-dot.is-failed,.admin-dot.is-cancelled {
  background: #f04438;
}

.admin-dl {
  display: grid;
  margin: 0;
}

.admin-dl div {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  border-top: 1px solid #eaecf0;
  padding: 8px 0;
}

.admin-dl dt {
  color: var(--admin-muted);
  font-size: .69rem;
}

.admin-dl dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
  color: #344054;
  font-size: .69rem;
  font-weight: 600;
}

.admin-dl-wide div {
  grid-template-columns: 130px minmax(0, 1fr);
}

.admin-dl-wide dd {
  text-align: left;
}

.admin-panel-inset {
  padding: 0 15px 12px;
}

.admin-table-panel {
  padding: 0;
  overflow: hidden;
}

.admin-table-panel > header {
  margin: 0;
  padding: 14px 15px;
}

.admin-table-wrap {
  overflow-x: auto;
  scrollbar-color: #cbd2dd transparent;
}

.admin-table-wrap:focus-visible {
  outline: 2px solid var(--admin-blue);
  outline-offset: -2px;
  border-radius: 2px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .74rem;
  text-align: left;
}

.admin-table th {
  border-block: 1px solid var(--admin-line);
  padding: 8px 10px;
  background: #f9fafb;
  color: #667085;
  font-size: .65rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  max-width: 360px;
  border-bottom: 1px solid #eaecf0;
  padding: 9px 10px;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

@media (hover: hover) {
  .admin-table tbody tr:hover td {
    background: #f8fafc;
  }
}

.admin-table tbody tr:focus-within td {
  background: #f8fafc;
}

.admin-table code, .admin-feed code, .admin-audit-grid code {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: .68rem;
}

.admin-table td small {
  display: block;
  margin-top: 2px;
  color: var(--admin-muted);
  font-size: .66rem;
}

.admin-table td b {
  font-weight: 600;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: capitalize;
}

.admin-row-link {
  color: var(--admin-blue);
  font-weight: 650;
  white-space: nowrap;
}

.admin-empty {
  margin: 0;
  padding: 16px;
  color: var(--admin-muted);
  font-size: .7rem;
}

.admin-positive {
  color: #067647;
  font-weight: 700;
}

.admin-negative {
  color: #b42318;
  font-weight: 700;
}

.admin-feed {
  display: grid;
}

.admin-feed article {
  border-top: 1px solid #eaecf0;
  padding: 9px 0;
}

.admin-feed article:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-feed article div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.admin-feed time {
  color: var(--admin-muted);
  font-size: .6rem;
}

.admin-feed b {
  display: block;
  margin-top: 4px;
  font-size: .68rem;
}

.admin-feed p {
  max-height: 3em;
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--admin-muted);
  font-size: .64rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-audit-grid article {
  display: grid;
  gap: 5px;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  padding: 9px;
}

.admin-audit-grid time,.admin-audit-grid small {
  color: var(--admin-muted);
  font-size: .6rem;
}

.admin-search button,.admin-form button,.admin-filterbar button {
  min-height: 34px;
  border: 1px solid #294bc1;
  border-radius: 0 4px 4px 0;
  padding: 8px 12px;
  background: var(--admin-blue);
  color: white;
  font-size: .74rem;
  font-weight: 650;
  cursor: pointer;
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form label {
  display: grid;
  gap: 4px;
  color: #344054;
  font-size: .7rem;
  font-weight: 650;
}

.admin-form input:not([type="checkbox"]),.admin-form textarea {
  width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  padding: 8px;
  background: white;
  font-size: .74rem;
  font-weight: 400;
  box-sizing: border-box;
}

.admin-form textarea {
  min-height: 64px;
  resize: vertical;
}

.admin-form button {
  justify-self: start;
  border-radius: 4px;
}

.admin-form button:disabled,.admin-filterbar button:disabled {
  cursor: wait;
  opacity: .65;
}

.admin-form button.is-danger {
  border-color: #b42318;
  background: #d92d20;
}

.admin-toggle {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px !important;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  padding: 8px;
}

.admin-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--admin-blue);
}

.admin-config {
  margin: 0 0 12px;
  color: var(--admin-muted);
  font-size: .7rem;
}

.admin-settings-grid {
  align-items: stretch;
}

.admin-detail-json {
  overflow-wrap: anywhere;
  color: var(--admin-muted);
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: .66rem;
}

.admin-user-link {
  color: #101828;
}

.admin-user-link:hover b {
  color: var(--admin-blue);
  text-decoration: underline;
}

.admin-user-agent {
  min-width: 220px;
  overflow-wrap: anywhere;
}

.admin-user-link + .admin-pill {
  margin-top: 6px;
}

.admin-filterbar {
  display: flex;
  align-items: stretch;
}

.admin-filterbar input,.admin-filterbar select {
  min-width: 130px;
  border: 1px solid #cfd4dc;
  border-right: 0;
  padding: 8px;
  background: white;
  font-size: .74rem;
}

.admin-filterbar input {
  width: 230px;
  border-radius: 4px 0 0 4px;
}

.admin-filterbar button {
  border-radius: 0 4px 4px 0;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--admin-line);
  padding: 10px 15px;
  color: var(--admin-muted);
  font-size: .7rem;
}

.admin-pagination div {
  display: flex;
  gap: 14px;
}

.admin-pagination a {
  color: var(--admin-blue);
  font-weight: 650;
}

.admin-percentiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.admin-percentiles article {
  display: grid;
  gap: 5px;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  padding: 9px;
}

.admin-percentiles span {
  color: var(--admin-muted);
  font-size: .62rem;
  text-transform: uppercase;
}

.admin-percentiles strong {
  font-size: 1.05rem;
}

.admin-percentiles strong small {
  color: var(--admin-muted);
  font-size: .58rem;
  font-weight: 500;
}

.admin-percentiles-three {
  grid-template-columns: repeat(3, 1fr);
}

.admin-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  align-items: end;
  gap: 7px;
  height: 230px;
  padding-top: 18px;
}

.admin-chart-col {
  display: grid;
  grid-template-rows: 14px 1fr 14px;
  align-items: end;
  gap: 3px;
  height: 100%;
  text-align: center;
}

.admin-chart-value,.admin-chart-col small {
  color: var(--admin-muted);
  font-size: .62rem;
}

.admin-chart-track {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  height: 100%;
  border-radius: 2px 2px 0 0;
  background: #f2f4f7;
  overflow: hidden;
}

.admin-chart-track i {
  display: block;
  width: 100%;
  min-height: 0;
}

.admin-chart-success {
  background: #12b76a;
}

.admin-chart-fail {
  background: #f04438;
}

.admin-chart-flight {
  background: #2e90fa;
}

.admin-chart-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 9px;
  color: var(--admin-muted);
  font-size: .66rem;
}

.admin-chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.admin-chart-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.admin-chart-legend .is-success {
  background: #12b76a;
}

.admin-chart-legend .is-fail {
  background: #f04438;
}

.admin-chart-legend .is-flight {
  background: #2e90fa;
}

.admin-chart-pair {
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  border-bottom: 1px solid #d0d5dd;
  background: linear-gradient(to top, #f9fafb, transparent);
}

.admin-chart-pair i {
  display: block;
  width: min(38%, 20px);
  min-height: 0;
  border-radius: 2px 2px 0 0;
}

.admin-chart-signups,.admin-chart-legend .is-signups {
  background: #7f56d9;
}

.admin-chart-active,.admin-chart-legend .is-active {
  background: #315fe8;
}

.admin-chart-empty {
  display: grid;
  min-height: 170px;
  margin: 0;
  place-items: center;
  border: 1px dashed #d0d5dd;
  border-radius: 4px;
  color: var(--admin-muted);
  font-size: .74rem;
}

.admin-metric-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 2px 8px;
  min-height: 84px;
  align-content: center;
}

.admin-metric-callout strong {
  color: #101828;
  font-size: 2rem;
  letter-spacing: -.04em;
  line-height: 1;
}

.admin-metric-callout span,.admin-metric-callout small {
  color: var(--admin-muted);
  font-size: .72rem;
}

.admin-metric-callout small {
  grid-column: 1 / -1;
}

.admin-feedback-feed {
  max-height: 210px;
  overflow: auto;
}

.admin-inline-details {
  margin-top: 12px;
  color: var(--admin-muted);
  font-size: .68rem;
}

.admin-inline-details > summary {
  width: -moz-max-content;
  width: max-content;
  cursor: pointer;
  color: var(--admin-blue);
  font-weight: 650;
}

.admin-inline-details .admin-feed {
  margin-top: 10px;
}

.admin-inline-details .admin-feed article div b {
  margin: 0;
}

.admin-pipeline-panel {
  padding: 0;
  overflow: hidden;
}

.admin-pipeline-panel > header {
  margin: 0;
  padding: 14px 15px;
}

.admin-attempt {
  border-top: 1px solid var(--admin-line);
}

.admin-attempt > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 15px;
  cursor: pointer;
  list-style: none;
}

.admin-attempt > summary::-webkit-details-marker {
  display: none;
}

.admin-attempt > summary:hover {
  background: #f8fafc;
}

.admin-attempt > summary > span:first-child {
  display: grid;
  gap: 2px;
}

.admin-attempt > summary b {
  color: #101828;
  font-size: .76rem;
}

.admin-attempt > summary small {
  color: var(--admin-muted);
  font-size: .62rem;
}

.admin-attempt-summary-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.admin-attempt-body {
  border-top: 1px solid #eaecf0;
  padding: 14px 15px 18px;
  background: #fcfcfd;
}

.admin-pipeline-error {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  border: 1px solid #fecdca;
  margin-bottom: 12px;
  padding: 9px 10px;
  background: #fef3f2;
  color: #b42318;
  font-size: .7rem;
}

.admin-view-switch {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 5px;
  margin-bottom: 14px;
  overflow: hidden;
  background: white;
}

.admin-view-switch button {
  min-width: 84px;
  min-height: 34px;
  border: 0;
  border-right: 1px solid #d0d5dd;
  padding: 0 12px;
  cursor: pointer;
  background: white;
  color: #475467;
  font-size: .7rem;
  font-weight: 650;
}

.admin-view-switch button:last-child {
  border-right: 0;
}

.admin-view-switch button:hover {
  background: #f8fafc;
  color: #101828;
}

.admin-view-switch button.is-active {
  background: #eff4ff;
  color: #3538cd;
}

.admin-phase-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-phase {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
}

.admin-phase:last-child {
  padding-bottom: 0;
}

.admin-phase::before {
  position: absolute;
  top: 27px;
  bottom: -1px;
  left: 14px;
  width: 1px;
  background: #d0d5dd;
  content: "";
}

.admin-phase:last-child::before {
  display: none;
}

.admin-phase-marker {
  position: relative;
  z-index: 1;
  padding-top: 9px;
}

.admin-phase-marker span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #b2ccff;
  border-radius: 50%;
  background: #eff4ff;
  color: #3538cd;
  font-size: .65rem;
  font-weight: 750;
}

.admin-phase.is-unavailable .admin-phase-marker span {
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #667085;
}

.admin-phase-content {
  min-width: 0;
  border: 1px solid #d9dee7;
  border-radius: 5px;
  padding: 11px;
  background: white;
}

.admin-phase-content > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.admin-phase-content h3,.admin-comparison h3 {
  margin: 0;
  color: #101828;
  font-size: .76rem;
}

.admin-phase-content header p,.admin-comparison header p {
  margin: 2px 0 0;
  color: var(--admin-muted);
  font-size: .64rem;
}

.admin-phase-text,.admin-candidate pre,.admin-phase-details pre {
  max-height: 340px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #344054;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: .7rem;
  line-height: 1.55;
}

.admin-phase-details {
  border-top: 1px solid #eaecf0;
  margin-top: 10px;
  padding-top: 8px;
}

.admin-phase-details summary {
  width: -moz-max-content;
  width: max-content;
  cursor: pointer;
  color: var(--admin-blue);
  font-size: .66rem;
  font-weight: 650;
}

.admin-phase-details pre {
  margin-top: 8px;
}

.admin-constraint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-constraint-grid > div {
  min-width: 0;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  overflow: hidden;
}

.admin-constraint-grid h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 8px 9px;
  background: #f9fafb;
  color: #475467;
  font-size: .66rem;
  text-transform: uppercase;
}

.admin-constraint-grid h4 span {
  color: var(--admin-blue);
}

.admin-constraint-grid article {
  display: grid;
  gap: 4px;
  border-top: 1px solid #eaecf0;
  padding: 8px 9px;
}

.admin-constraint-grid article b,.admin-constraint-grid article code {
  overflow-wrap: anywhere;
  color: #344054;
  font-size: .68rem;
}

.admin-constraint-grid article small {
  color: var(--admin-muted);
  font-size: .62rem;
  line-height: 1.45;
}

.admin-slot-list {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.admin-slot-list article {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  padding: 7px 8px;
  color: var(--admin-muted);
  font-size: .65rem;
}

.admin-slot-list code {
  overflow-wrap: anywhere;
  color: #344054;
}

.admin-candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-candidate {
  min-width: 0;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  padding: 9px;
}

.admin-candidate.is-selected {
  border-color: #84adff;
  box-shadow: inset 3px 0 #315fe8;
}

.admin-candidate > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-candidate > header > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.admin-candidate pre {
  min-height: 72px;
  max-height: 230px;
}

.admin-candidate footer {
  display: grid;
  gap: 2px;
  border-top: 1px solid #eaecf0;
  margin-top: 8px;
  padding-top: 7px;
  color: var(--admin-muted);
  font-size: .62rem;
}

.admin-candidate footer .is-error {
  color: #b42318;
}

.admin-candidate footer small {
  color: var(--admin-muted);
}

.admin-diff-picker {
  display: grid;
  grid-template-columns: auto minmax(220px, 440px);
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #344054;
  font-size: .7rem;
  font-weight: 650;
}

.admin-diff-picker select {
  min-height: 36px;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  padding: 0 9px;
  background: white;
  color: #344054;
}

.admin-comparison {
  border: 1px solid #d9dee7;
  border-radius: 5px;
  padding: 12px;
  background: white;
}

.admin-comparison > header {
  margin-bottom: 10px;
}

.admin-diff-legend {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--admin-muted);
  font-size: .62rem;
}

.admin-diff-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.admin-diff-legend i {
  width: 12px;
  height: 7px;
  border-radius: 2px;
}

.admin-diff-legend .is-delete {
  background: #fee4e2;
}

.admin-diff-legend .is-insert {
  background: #d1fadf;
}

.admin-diff-output {
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #344054;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: .72rem;
  line-height: 1.75;
}

.admin-diff-output del {
  border-radius: 2px;
  padding: 1px 0;
  background: #fee4e2;
  color: #b42318;
  text-decoration: line-through;
}

.admin-diff-output ins {
  border-radius: 2px;
  padding: 1px 0;
  background: #d1fadf;
  color: #067647;
  text-decoration: none;
}

.admin-pipeline-identities {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -moz-column-gap: 18px;
       column-gap: 18px;
  border: 1px solid #eaecf0;
  border-radius: 4px;
  padding: 0 10px;
  background: white;
}

.admin-pipeline-identities dd small {
  display: block;
  margin-top: 2px;
  color: var(--admin-muted);
}

.admin-metadata-block {
  border: 1px solid #d9dee7;
  border-radius: 4px;
  margin-top: 8px;
  background: white;
}

.admin-metadata-block > summary {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  color: #344054;
  font-size: .68rem;
  font-weight: 700;
}

.admin-metadata-block > pre {
  max-height: 420px;
  border-top: 1px solid #eaecf0;
  margin: 0;
  padding: 10px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #475467;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: .66rem;
  line-height: 1.5;
}

.admin-metadata-block > dl {
  display: grid;
  gap: 6px;
  border-top: 1px solid #eaecf0;
  margin: 0;
  padding: 10px;
}

.admin-metadata-block > dl div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 8px;
  font-size: .68rem;
}

.admin-metadata-block dt {
  color: var(--admin-muted);
}

.admin-metadata-block dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #344054;
}

.admin-disclosure summary {
  cursor: pointer;
  color: #101828;
  font-weight: 700;
}

.admin-disclosure pre,.admin-error-panel pre,.admin-event-feed pre,.admin-detail-json pre,.admin-feed details pre {
  max-height: 360px;
  margin: 12px 0 0;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: .68rem;
  line-height: 1.5;
}

.admin-error-panel {
  border-color: #fecdca;
  background: #fffbfa;
}

.admin-event-feed p {
  max-height: none;
}

.admin-feed details {
  margin-top: 6px;
  font-size: .66rem;
}

.admin-feed details summary {
  cursor: pointer;
  color: var(--admin-blue);
}

.admin-inline-action {
  position: relative;
  width: -moz-max-content;
  width: max-content;
}

.admin-inline-action > summary {
  cursor: pointer;
  color: var(--admin-blue);
  font-size: .68rem;
  font-weight: 650;
}

.admin-inline-form {
  position: absolute;
  z-index: 10;
  top: calc(100% + 5px);
  right: 0;
  width: 240px;
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  padding: 10px;
  background: white;
  box-shadow: 0 10px 24px rgb(16 24 40 / .14);
}

.admin-subsection-disclosure {
  border-top: 1px solid var(--admin-line);
}

.admin-subsection-disclosure > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
  cursor: pointer;
  color: #344054;
  font-size: .72rem;
  font-weight: 700;
}

.admin-subsection-disclosure > summary small {
  color: var(--admin-muted);
  font-size: .64rem;
  font-weight: 500;
}

.admin-account-actions {
  position: sticky;
  top: 57px;
}

.admin-account-actions > details {
  border-top: 1px solid #eaecf0;
}

.admin-account-actions > details > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  cursor: pointer;
  color: #344054;
  font-size: .72rem;
  font-weight: 700;
}

.admin-account-actions > details[open] > summary {
  color: var(--admin-blue);
}

.admin-account-actions > details > .admin-form,.admin-account-actions > details > .admin-config {
  margin-bottom: 14px;
}

.admin-grid-two.admin-settings-grid {
  align-items: start;
}

.admin-auth-body {
  background: #f3f4f6;
  color: #18202b;
}

.admin-auth-shell {
  min-height: 100vh;
  background: #f3f4f6;
  --admin-blue: #315fe8;
  --admin-line: #d9dee7;
  --admin-muted: #667085;
}

.admin-auth-topbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #101828;
  color: white;
}

.admin-auth-exit {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding: 0 9px;
  color: #d0d5dd;
  font-size: .72rem;
  font-weight: 650;
}

.admin-auth-exit:hover {
  background: #1d2939;
  color: white;
}

.admin-auth-main {
  display: grid;
  min-height: calc(100vh - 52px);
  width: min(100% - 32px, 440px);
  margin: 0 auto;
  padding: 48px 0 72px;
  place-items: center;
  box-sizing: border-box;
}

.admin-auth-card {
  width: 100%;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 28px;
  background: white;
  box-shadow: 0 8px 28px rgb(16 24 40 / .08);
  box-sizing: border-box;
}

.admin-auth-header {
  border-bottom: 1px solid #eaecf0;
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.admin-auth-header h1 {
  margin: 0;
  color: #101828;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.admin-auth-card .form-stack {
  gap: 14px;
}

.admin-auth-card .field {
  gap: 6px;
  color: #344054;
  font-size: .75rem;
  font-weight: 650;
}

.admin-auth-card .input {
  min-height: 44px;
  border: 1px solid #cfd4dc;
  border-radius: 5px;
  padding: 0 11px;
  color: #101828;
  font-size: .85rem;
}

.admin-auth-card .input:focus {
  border-color: var(--admin-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(49 95 232 / .14);
}

.admin-auth-card .btn {
  min-height: 44px;
  border: 1px solid #294bc1;
  border-radius: 5px;
  margin-top: 4px;
  padding: 0 16px;
  background: var(--admin-blue);
  box-shadow: none;
  color: white;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.admin-auth-card .btn:hover {
  border-color: #2448bd;
  background: #294bc1;
  box-shadow: none;
  transform: none;
}

.admin-auth-card .notice {
  border: 1px solid #fecdca;
  border-radius: 5px;
  margin-bottom: 16px;
  padding: 10px 11px;
  background: #fef3f2;
  color: #b42318;
  font-size: .78rem;
}

@media (max-width: 1050px) {
  .admin-kpis {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-kpis article:nth-child(3) {
    border-right: 0;
  }

  .admin-kpis article:nth-child(-n+3) {
    border-bottom: 1px solid var(--admin-line);
  }

  .admin-kpis-four {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-kpis-four article:nth-child(3) {
    border-right: 1px solid var(--admin-line);
  }

  .admin-kpis-four article:nth-child(-n+3) {
    border-bottom: 0;
  }

  .admin-launch-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-launch-grid article {
    border-bottom: 1px solid #eaecf0;
  }

  .admin-launch-grid article:nth-child(4n) {
    border-right: 0;
  }

  .admin-audit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .admin-topbar {
    min-height: 52px;
    padding: 0 10px 0 14px;
  }

  .admin-operator {
    max-width: 58%;
  }

  .admin-operator summary {
    min-height: 44px;
    max-width: 100%;
  }

  .admin-operator-menu {
    width: min(280px, calc(100vw - 28px));
  }

  .admin-operator-menu a,.admin-operator-menu button {
    min-height: 44px;
  }

  .admin-tabs {
    min-height: 44px;
    overflow-x: auto;
    padding: 0 7px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tabs a {
    min-height: 44px;
    flex: none;
    padding: 0 14px;
  }

  .admin-main {
    width: min(100% - 24px, 1540px);
    padding-top: 15px;
  }

  .admin-pagehead {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-page-actions {
    width: 100%;
    justify-content: space-between;
  }

  .admin-refresh {
    min-height: 44px;
  }

  .admin-search,.admin-filterbar {
    width: 100%;
  }

  .admin-search input,.admin-filterbar input {
    width: 100%;
    min-width: 0;
  }

  .admin-search input,.admin-search button,.admin-filterbar input,.admin-filterbar select,.admin-filterbar button,.admin-form input:not([type="checkbox"]),.admin-form button {
    min-height: 44px;
  }

  .admin-filterbar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .admin-filterbar input,.admin-filterbar select,.admin-filterbar button {
    flex: 1 1 130px;
    border: 1px solid #cfd4dc;
    border-radius: 4px;
  }

  .admin-toggle {
    min-height: 44px;
    box-sizing: border-box;
  }

  .admin-toggle input {
    width: 20px;
    height: 20px;
  }

  .admin-panel > header a,.admin-back,.admin-pagination a,.admin-disclosure summary,.admin-feed details summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .admin-kpis,.admin-kpis-four,.admin-kpis-three {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-kpis article,.admin-kpis article:nth-child(3) {
    border-right: 1px solid var(--admin-line);
    border-bottom: 1px solid var(--admin-line);
  }

  .admin-kpis article:nth-child(even) {
    border-right: 0;
  }

  .admin-kpis article:last-child {
    border-bottom: 0;
  }

  .admin-launch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-launch-grid article,.admin-launch-grid article:nth-child(4n) {
    border-right: 1px solid #eaecf0;
  }

  .admin-launch-grid article:nth-child(even) {
    border-right: 0;
  }

  .admin-grid-two,.admin-layout-2-1 {
    grid-template-columns: 1fr;
  }

  .admin-state-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-chart {
    gap: 3px;
    height: 190px;
  }

  .admin-chart-col {
    grid-template-rows: 14px 1fr 14px;
  }

  .admin-audit-grid {
    grid-template-columns: 1fr;
  }

  .admin-percentiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-table th:first-child {
    position: sticky;
    z-index: 3;
    left: 0;
    box-shadow: 1px 0 0 var(--admin-line);
  }

  .admin-table td:first-child {
    position: sticky;
    z-index: 1;
    left: 0;
    background: white;
    box-shadow: 1px 0 0 #eaecf0;
  }

  .admin-table tbody tr:hover td:first-child,.admin-table tbody tr:focus-within td:first-child {
    background: #f8fafc;
  }

  .admin-table td[colspan]:first-child {
    position: static;
    box-shadow: none;
  }

  .admin-account-actions {
    position: static;
  }

  .admin-inline-form {
    position: static;
    width: 240px;
    margin-top: 8px;
    box-shadow: none;
  }

  .admin-constraint-grid,.admin-candidate-grid,.admin-pipeline-identities {
    grid-template-columns: 1fr;
  }

  .admin-attempt > summary {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .admin-attempt-summary-pills {
    justify-content: flex-start;
  }

  .admin-view-switch {
    width: 100%;
  }

  .admin-view-switch button {
    min-height: 44px;
    min-width: 0;
    flex: 1;
  }

  .admin-diff-picker {
    grid-template-columns: 1fr;
  }

  .admin-diff-picker select {
    width: 100%;
    min-height: 44px;
  }

  .admin-slot-list article {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .admin-slot-list article small {
    grid-column: 1 / -1;
  }

  .admin-auth-topbar {
    padding: 0 14px;
  }

  .admin-auth-exit {
    min-height: 44px;
  }

  .admin-auth-main {
    min-height: calc(100vh - 52px);
    padding: 28px 0 48px;
    place-items: start center;
  }

  .admin-auth-card {
    padding: 22px 20px;
  }
}

.btn-google {
  justify-content: center;
}

.google-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  line-height: 1;
}

.legal-page {
  padding: 48px 0 72px;
}

.legal-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.legal-shell h1 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.legal-updated {
  margin: 0 0 32px;
  color: var(--muted);
}

.legal-copy {
  display: grid;
  gap: 18px;
  color: var(--ink);
}

.legal-copy h2 {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
}

.legal-copy p {
  max-width: 72ch;
  color: var(--muted);
}

.legal-link {
  color: var(--accent);
  font-weight: 600;
}

.legal-link:hover {
  color: var(--accent-strong);
}

/* ---- Signed-in workspace ---- */

.app-home {
  display: grid;
  gap: 28px;
}

.app-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 24px;
}

.app-hero h1 {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}

.credit-pill {
  display: grid;
  min-width: 132px;
  border: 3px solid var(--ink);
  padding: 14px 18px;
  background: #d9ff3e;
  color: var(--ink);
  box-shadow: 5px 5px 0 #e03427;
  text-align: center;
}

.credit-pill span {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.credit-pill small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
  gap: 22px;
}

.app-rewrite-panel,
  .app-side-panel {
  border: 3px solid var(--ink);
  background: #fffdf6;
  box-shadow: 7px 7px 0 #e03427;
}

.app-rewrite-panel {
  display: grid;
  gap: 0;
}

.app-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 3px solid var(--ink);
  padding: 18px;
}

.app-panel-head.compact {
  padding-bottom: 14px;
}

.app-panel-head h2 {
  margin: 3px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.app-mode-field {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--ink);
  padding: 0 0 0 12px;
  background: var(--ink);
  color: #d9ff3e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.app-mode-field select {
  min-width: 134px;
  border: 0;
  border-left: 2px solid var(--ink);
  padding: 11px 34px 11px 12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background:
      linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 16px) 52% / 6px 6px no-repeat,
      linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 11px) 52% / 6px 6px no-repeat,
      #d9ff3e;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  outline-offset: 3px;
}

.app-demo-hint {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.app-demo-input {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  resize: vertical;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.7;
  outline: none;
}

.app-demo-input:focus {
  box-shadow: inset 0 0 0 3px #d9ff3e;
}

.app-demo-input::-moz-placeholder {
  color: #8f887b;
}

.app-demo-input::placeholder {
  color: #8f887b;
}

.app-demo-meta,
  .app-demo-actions,
  .app-demo-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.app-demo-meta {
  padding: 10px 18px 0;
  color: var(--muted);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.app-demo-actions {
  padding: 16px 18px 18px;
}

.app-demo-action-notes {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.app-job-progress {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-job-progress[data-status="failed"] {
  color: #c92a1d;
}

.app-job-progress[data-status="succeeded"] {
  color: #22643d;
}

.app-demo-fine,
  .app-muted {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.app-demo-output {
  border-top: 3px solid var(--ink);
  padding: 16px 18px 18px;
}

.app-demo-output-head {
  margin-bottom: 10px;
}

.app-demo-error {
  color: #b42318;
  font-weight: 700;
}

.app-demo-status {
  color: var(--muted);
}

.rewrite-feedback {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.rewrite-feedback[hidden],
  .rewrite-edit[hidden] {
  display: none;
}

.rewrite-feedback-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.rewrite-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.rewrite-edit {
  display: grid;
  gap: 8px;
}

.rewrite-edit label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rewrite-edit textarea {
  width: 100%;
  border: 2px solid var(--ink);
  padding: 12px;
  resize: vertical;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
}

.rewrite-edit .btn {
  justify-self: start;
}

.app-side {
  display: grid;
  gap: 18px;
}

.app-side-panel {
  padding: 0;
}

.mini-packs,
  .recent-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.mini-pack {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 2px solid var(--ink);
  padding: 12px 13px;
  cursor: pointer;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.mini-pack:hover:not(:disabled) {
  background: #d9ff3e;
}

.mini-pack:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.mini-pack span,
  .mini-pack b {
  font-weight: 800;
}

.recent-item {
  border: 1px solid var(--line);
  padding: 12px;
  background: #ffffff;
}

a.recent-item:hover {
  border-color: var(--ink);
  background: #fff;
}

.recent-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.recent-item-head time {
  margin-left: auto;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.recent-status {
  color: var(--ink);
}

.recent-item p,
  .empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
}

.rewrite-detail {
  display: grid;
  gap: 20px;
}

.rewrite-detail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 18px;
}

.rewrite-detail-head h1 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  font-weight: 400;
  line-height: .95;
}

.rewrite-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  color: var(--muted);
  font-size: .78rem;
}

.rewrite-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rewrite-detail-grid .panel {
  min-width: 0;
}

.rewrite-detail-grid h2 {
  margin: 3px 0 0;
  font-size: 1.1rem;
}

.rewrite-output-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.rewrite-detail-copy {
  margin-top: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .rewrite-detail-grid {
    grid-template-columns: 1fr;
  }

  .rewrite-detail-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 920px) {
  .app-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .credit-pill {
    width: -moz-fit-content;
    width: fit-content;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .app-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .app-mode-field {
    width: 100%;
    justify-content: space-between;
  }

  .app-mode-field select {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
    .main {
    width: min(100% - 32px, 1240px);
  }

  .topbar-inner {
    align-items: center;
  }

  .nav-actions {
    gap: 12px;
  }

  .nav-actions .nav-public {
    display: none;
  }

  .auth-layout {
    min-height: calc(100vh - 176px);
    place-items: start stretch;
    padding-top: 42px;
  }

  .panel {
    box-shadow: 5px 5px 0 #e03427;
  }

  .primary-panel,
    .metric-panel,
    .auth-panel,
    .account-panel {
    padding: 20px;
  }
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 0;
  padding: 0 20px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 1px;
  background: transparent;
  color: inherit;
  text-transform: uppercase;
  transition:
      background 140ms ease,
      border-color 140ms ease,
      color 140ms ease,
      transform 100ms ease,
      box-shadow 100ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary,
  .btn-accent {
  background: var(--ink);
  color: #d9ff3e;
  border-color: var(--ink);
  box-shadow: 5px 5px 0 #e03427;
}

.btn-primary:hover,
  .btn-accent:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #e03427;
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.topbar .btn-ghost {
  border-color: #d9ff3e;
  background: #d9ff3e;
  color: var(--ink);
}

.topbar .btn-ghost:hover {
  background: transparent;
  color: #d9ff3e;
}

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

.page-home {
  background: var(--paper);
  color: var(--ink);
}

/* Paper grain overlay */

.page-home > * {
  position: relative;
  z-index: 2;
}

/* ---- Nav ---- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  -webkit-backdrop-filter: saturate(140%) blur(8px);
          backdrop-filter: saturate(140%) blur(8px);
  background: rgb(247 244 239 / 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--line);
}

/* ---- Sections ---- */

.section {
  padding: 80px 0;
}

@media (max-width: 760px) {
  .section {
    padding: 56px 0;
  }
}

.micro {
  display: inline-block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- Hero ---- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 8px 0 0;
  color: var(--ink);
}

.display em {
  font-style: italic;
  color: var(--accent);
}

/* ---- Demo box ---- */

.demo {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  overflow: hidden;
}

.mode-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.mode-btn:hover {
  color: var(--ink);
}

.mode-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}

.demo-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  padding: 22px 22px 8px;
  resize: vertical;
  min-height: 140px;
  outline: none;
}

.demo-input::-moz-placeholder {
  color: var(--muted);
}

.demo-input::placeholder {
  color: var(--muted);
}

[data-rewrite][aria-busy="true"] {
  pointer-events: none;
  opacity: 0.85;
}

/* ---- Demo output / diff ---- */

.diff {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

.diff .d-del {
  color: var(--removed);
  background: var(--removed-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  padding: 0 2px;
  border-radius: 2px;
}

.diff .d-ins {
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 0 2px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(4px);
  animation: d-rise 320ms ease forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes d-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Tabs ---- */

.\!tabs {
  display: grid !important;
  gap: 24px !important;
}

.tabs {
  display: grid;
  gap: 24px;
}

.tablist {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.\!tab {
  -webkit-appearance: none !important;
     -moz-appearance: none !important;
          appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  padding: 8px 14px !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  transition: color 140ms ease, background 140ms ease !important;
}

.tab {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: color 140ms ease, background 140ms ease;
}

.\!tab:hover {
  color: var(--ink) !important;
}

.tab:hover {
  color: var(--ink);
}

.\!tab.is-active {
  color: var(--ink) !important;
}

.tab.is-active {
  color: var(--ink);
}

.tabpanel[hidden] {
  display: none;
}

.diff-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.diff-card-cap {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf7;
}

.diff-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.diff-col {
  padding: 24px 26px 28px;
}

.diff-col + .diff-col {
  border-left: 1px solid var(--line);
}

.diff-col-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diff-text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.diff-before {
  color: var(--muted);
}

.diff-after {
  color: var(--ink);
}

@media (max-width: 760px) {
  .diff-card-body {
    grid-template-columns: 1fr;
  }

  .diff-col + .diff-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---- Why grid ---- */

/* ---- Pricing ---- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tier {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier.is-featured {
  border-color: var(--ink);
  box-shadow: 0 8px 24px rgb(22 20 15 / 0.06);
}

.tier header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.tier-name {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.tier-price {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1;
}

.tier-currency {
  font-size: 1.125rem;
  color: var(--muted);
  margin-right: 2px;
  vertical-align: 0.45em;
}

.tier-amount {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.tier-credits {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 760px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}

/* ---- Final CTA ---- */

.final {
  padding: 96px 0;
}

.final-inner .btn {
  margin-top: 10px;
}

/* ---- Footer ---- */

/* ---- Reveal motion ---- */

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
      opacity 520ms cubic-bezier(0.2, 0.6, 0.2, 1),
      transform 520ms cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
    [data-reveal].is-revealed,
    .diff .d-ins {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .tab-indicator {
    transition: none !important;
  }
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.block {
  display: block;
}

.table {
  display: table;
}

.hidden {
  display: none;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize {
  resize: both;
}

.border {
  border-width: 1px;
}

.capitalize {
  text-transform: capitalize;
}

/* ----------------------------------------------------------------
   Shared shell for non-homepage routes.
   ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
   Shared button system (used by home + legacy pages).
   ---------------------------------------------------------------- */

/* ================================================================
   HOMEPAGE — editorial layout
   ================================================================ */
