/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

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

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

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

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

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

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

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

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

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

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

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

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

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

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

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

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

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

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

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

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .static {
    position: static;
  }

  .isolate {
    isolation: isolate;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .hidden {
    display: none;
  }

  .hidden\! {
    display: none !important;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .table {
    display: table;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .italic {
    font-style: italic;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  color: #152e46;
  font-synthesis: none;
  background: #f6f8fa;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

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

button, a, input, select, textarea {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #d98419;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  letter-spacing: -.035em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 750;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  color: #596b7c;
}

svg {
  flex-shrink: 0;
}

button, .button {
  border: 0;
}

.button {
  color: #172c40;
  background: #f6ad45;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 46px;
  padding: .85rem 1.25rem;
  font-weight: 700;
  display: inline-flex;
}

.button:hover {
  background: #f8bb65;
}

.button.small {
  min-height: 40px;
  padding: .55rem 1rem;
}

.button.secondary {
  background: #fff;
  border: 1px solid #d5dee6;
}

.button.navy {
  color: #fff;
  background: #153852;
}

.public-header {
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1280px;
  margin: auto;
  padding: 1.5rem 3rem;
  display: flex;
}

.brand {
  letter-spacing: -.055em;
  white-space: nowrap;
  align-items: center;
  gap: .45rem;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
}

.brand-icon {
  color: #fff;
  background: #153852;
  border-radius: 7px;
  padding: .4rem;
  display: flex;
}

.brand-dot {
  color: #bf7411;
  margin-left: -.4rem;
}

.public-header nav {
  align-items: center;
  gap: 2rem;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
}

.hero {
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 5rem;
  max-width: 1280px;
  margin: auto;
  padding: 5rem 3rem 6rem;
  display: grid;
}

.eyebrow {
  letter-spacing: .16em;
  color: #617385;
  margin-bottom: 1.5rem;
  font-size: .75rem;
  font-weight: 750;
}

.hero h1 span {
  color: #326a79;
}

.hero-copy {
  max-width: 32rem;
  margin: 1.6rem 0 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.fine {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  font-size: .78rem;
  display: flex;
}

.hero-board {
  background: #fff;
  border: 1px solid #dce4ea;
  border-radius: 14px;
  overflow: hidden;
  transform: rotate(-1deg);
  box-shadow: 0 25px 60px #152e4610;
}

.board-top {
  color: #fff;
  background: #153852;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.4rem;
  display: flex;
}

.mini-logo {
  letter-spacing: .07em;
  align-items: center;
  gap: .65rem;
  font-size: .75rem;
  font-weight: 650;
  display: flex;
}

.pill {
  color: #28704d;
  white-space: nowrap;
  background: #e8f3ed;
  border-radius: 20px;
  align-items: center;
  gap: .35rem;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 650;
  display: inline-flex;
}

.board-top .pill {
  color: #dfebf4;
  background: #ffffff13;
}

.board-body {
  padding: 1.6rem;
}

.board-body .eyebrow {
  margin-bottom: .6rem;
}

.board-body h2 {
  font-size: 1.7rem;
}

.muted {
  color: #687b8c;
  font-size: .9rem;
}

.board-body > .muted {
  margin-top: .5rem;
  margin-bottom: 1.5rem;
}

.doc-row {
  border-top: 1px solid #e8edf2;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 0;
  display: flex;
}

.doc-row div {
  flex: 1;
}

.doc-row strong {
  font-size: .87rem;
  font-weight: 650;
}

.doc-row p {
  margin-top: .2rem;
  font-size: .75rem;
}

.file-icon {
  color: #4a687d;
  background: #f0f5f8;
  border-radius: 8px;
  padding: .7rem;
  display: inline-flex;
}

.green {
  color: #428261;
}

.board-footer {
  border-top: 1px solid #e8edf2;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  font-size: .8rem;
  display: flex;
}

.board-footer span {
  align-items: center;
  gap: .4rem;
  display: flex;
}

.status-dot {
  background: #44855e;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.board-note {
  color: #617487;
  background: #f0f5f8;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .8rem;
  font-size: .75rem;
  display: flex;
}

.trust-strip {
  color: #567082;
  background: #fff;
  border-top: 1px solid #e1e7ed;
  border-bottom: 1px solid #e1e7ed;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
  padding: 1.5rem 2rem;
  font-size: .85rem;
  display: flex;
}

.trust-strip > span {
  letter-spacing: .1em;
  font-size: .65rem;
}

.section {
  max-width: 1280px;
  margin: auto;
  padding: 5rem 3rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
  display: grid;
}

.card {
  background: #fff;
  border: 1px solid #e0e7ed;
  border-radius: 10px;
  padding: 1.6rem;
}

.card p {
  margin-top: .8rem;
  font-size: .95rem;
  line-height: 1.8;
}

.step-number {
  color: #587990;
  margin-bottom: 1.8rem;
  font-size: .85rem;
  font-weight: 700;
  display: block;
}

.cta-panel {
  color: #fff;
  background: #153852;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1184px;
  margin: 0 auto 4rem;
  padding: 3rem;
  display: flex;
}

.cta-panel p {
  color: #b9cbd7;
  margin-bottom: 1rem;
}

footer {
  border-top: 1px solid #e1e7ed;
  align-items: center;
  gap: 2rem;
  max-width: 1280px;
  margin: auto;
  padding: 2rem 3rem;
  font-size: .85rem;
  display: flex;
}

footer p {
  flex: 1;
}

@media (max-width: 900px) {
  .hero {
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .public-header {
    padding: 1rem 1.5rem;
  }

  .public-header nav, .feature-grid {
    gap: 1rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .cta-panel {
    margin: 0 1.5rem 3rem;
  }
}

@media (max-width: 650px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
  }

  .public-header nav > a:not(.button) {
    display: none;
  }

  .brand {
    font-size: 1.4rem;
  }

  .public-header {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

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

  .cta-panel {
    padding: 2rem;
    display: block;
  }

  .cta-panel > div {
    margin-top: 1.5rem;
  }

  footer {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 1.5rem;
  }

  footer p {
    flex-basis: 100%;
  }

  .trust-strip {
    gap: 1rem 1.5rem;
  }

  .hero-board {
    transform: none;
  }

  .board-body {
    padding: 1.2rem;
  }

  .fine {
    font-size: .75rem;
  }
}

input, select, textarea {
  color: #19354c;
  background: #fff;
  border: 1px solid #cbd6df;
  border-radius: 6px;
  width: 100%;
  min-height: 44px;
  padding: .7rem .8rem;
  line-height: 1.5;
}

input[type="checkbox"] {
  accent-color: #1a536b;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

textarea {
  resize: vertical;
}

select {
  padding-right: 1.6rem;
}

input[type="file"] {
  font-size: .85rem;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  margin-bottom: .7rem;
  font-size: .9rem;
  font-weight: 650;
}

.field {
  flex-direction: column;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
}

.field small {
  color: #687b8c;
  font-size: .8rem;
  font-weight: 400;
}

.form {
  flex-direction: column;
  gap: .3rem;
  margin-top: 1rem;
  display: flex;
}

.form > .button {
  align-self: flex-start;
  margin-top: 1rem;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  display: grid;
}

.check-label {
  align-items: flex-start;
  gap: .7rem;
  margin: .75rem 0;
  font-size: .9rem;
  line-height: 1.6;
  display: flex;
}

.check-label a {
  text-decoration: underline;
}

.form-actions {
  border-top: 1px solid #e6ecf1;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
}

.form-card {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.form-card h2, .settings-grid h2 {
  font-size: 1.4rem;
}

.alert {
  color: #775629;
  background: #fff6e7;
  border: 1px solid #f0ddbd;
  border-radius: 7px;
  align-items: flex-start;
  gap: .65rem;
  margin: 1rem 0;
  padding: 1rem;
  font-size: .875rem;
  line-height: 1.65;
  display: flex;
}

.alert a {
  font-weight: 650;
  text-decoration: underline;
}

.alert.error {
  color: #953b31;
  background: #fff1ef;
  border-color: #edcbc7;
}

.alert svg {
  margin-top: 3px;
}

.text-button {
  color: #2a617a;
  text-align: left;
  background: none;
  align-items: center;
  gap: .35rem;
  padding: .4rem 0;
  font-size: .875rem;
  font-weight: 650;
  display: inline-flex;
}

.text-button:hover {
  text-decoration: underline;
}

.icon-button {
  background: #f2f5f8;
  border: 1px solid #e0e6ec;
  border-radius: 6px;
  padding: .6rem;
  display: inline-flex;
}

.back-link {
  color: #3b637c;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  display: inline-flex;
}

.small-copy {
  margin: 1rem 0;
  font-size: .8rem;
  line-height: 1.7;
}

.centered {
  text-align: center;
}

.pill.neutral {
  color: #5a6d7d;
  background: #eff3f6;
}

.pill.warning {
  color: #855917;
  background: #fff0d8;
}

.pill.danger {
  color: #a34032;
  background: #fde9e4;
}

.danger-text {
  color: #aa413a;
}

.button.danger-button {
  color: #963e34;
  background: #fff1ee;
  border: 1px solid #dfb9b3;
}

.spin {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.toast {
  color: #fff;
  z-index: 100;
  background: #183e52;
  border-radius: 8px;
  align-items: center;
  gap: 1rem;
  max-width: calc(100vw - 2rem);
  padding: 1rem 1.3rem;
  font-size: .9rem;
  display: flex;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 30px #112b4630;
}

.toast button {
  color: #fff;
  background: none;
  display: flex;
}

.empty {
  text-align: center;
  color: #6d8597;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  padding: 3rem 1.5rem;
  display: flex;
}

.empty p {
  max-width: 350px;
  font-size: .9rem;
}

.empty h3 {
  color: #34536a;
}

.empty .button {
  margin-top: .6rem;
}

.spread {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.loading-screen, .setup-screen {
  max-width: 700px;
  margin: 10vh auto;
  padding: 2rem;
}

.loading-screen p, .setup-screen p {
  margin: 2rem 0;
}

.setup-screen h1 {
  margin-top: 2rem;
  font-size: 2.4rem;
}

.setup-screen .button {
  margin: .5rem .5rem .5rem 0;
}

.auth-page {
  background: #fff;
  grid-template-columns: .85fr 1.15fr;
  min-height: 100vh;
  display: grid;
}

.auth-aside {
  color: #fff;
  background: #13364e;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
  padding: 3rem 3.5rem;
  display: flex;
}

.auth-aside .brand-icon {
  background: #ffffff12;
}

.auth-aside .eyebrow {
  color: #96bccb;
}

.auth-aside h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
}

.auth-aside p, .auth-aside small {
  color: #b8cbd6;
}

.auth-aside p {
  line-height: 1.8;
}

.auth-feature {
  color: #dce9ee;
  gap: 1rem;
  margin-top: 3rem;
  font-size: .9rem;
  display: flex;
}

.auth-feature svg {
  color: #e9b36b;
}

.auth-main {
  padding: 2rem 4rem;
}

.auth-form {
  max-width: 440px;
  margin: 3rem auto;
}

.auth-form h1 {
  font-size: 2.2rem;
}

.auth-form > .eyebrow {
  font-size: .7rem;
}

.auth-form > p {
  margin-top: 1rem;
  font-size: .95rem;
}

.auth-form .form > .button {
  width: 100%;
}

.auth-switch {
  text-align: center;
  padding-top: 1rem;
}

.auth-switch a {
  color: #235b73;
  font-weight: 650;
}

.segmented {
  background: #eaf0f4;
  border-radius: 8px;
  gap: 4px;
  margin: 1.5rem 0;
  padding: 4px;
  display: inline-flex;
}

.segmented button {
  color: #597182;
  background: none;
  border-radius: 5px;
  padding: .55rem .9rem;
  font-size: .85rem;
}

.segmented button.active {
  color: #17374d;
  background: #fff;
  font-weight: 650;
  box-shadow: 0 1px 4px #17374d18;
}

.plan-options {
  gap: 1rem;
  display: grid;
}

.plan-option {
  text-align: left;
  background: #fff;
  border: 1px solid #d5dfe6;
  border-radius: 8px;
  padding: 1rem 1.2rem;
}

.plan-option.selected {
  background: #f4f8fa;
  border: 2px solid #2e6177;
  padding: calc(1rem - 1px) calc(1.2rem - 1px);
}

.plan-option > span {
  float: right;
  font-size: 1.3rem;
  font-weight: 700;
}

.plan-option small {
  font-size: .8rem;
  font-weight: 400;
}

.plan-option p {
  margin-top: .5rem;
  font-size: .85rem;
}

meter {
  width: 100%;
  height: 5px;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  color: #c1d0dc;
  z-index: 30;
  background: #102d44;
  flex-direction: column;
  width: 248px;
  padding: 1.65rem 1.1rem;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.sidebar > .brand {
  color: #fff;
  padding: 0 .65rem;
  font-size: 1.55rem;
}

.sidebar .brand-icon {
  background: #ffffff0e;
}

.nav-label {
  letter-spacing: .14em;
  color: #829caf;
  margin: 2.4rem 1rem .7rem;
  font-size: .65rem;
  font-weight: 650;
}

.sidebar nav {
  flex-direction: column;
  gap: .35rem;
  display: flex;
}

.sidebar nav a {
  border-radius: 6px;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
  font-size: .9rem;
  font-weight: 550;
  display: flex;
}

.sidebar nav a.active {
  color: #fff;
  background: #ffffff13;
}

.sidebar nav a.active:before {
  content: "";
  background: #f6ad45;
  border-radius: 0 3px 3px 0;
  width: 3px;
  height: 24px;
  position: absolute;
  left: 0;
}

.sidebar nav a:hover {
  background: #ffffff0a;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 3rem;
}

.plan-card {
  background: #ffffff04;
  border: 1px solid #ffffff17;
  border-radius: 8px;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.5rem;
  padding: 1.1rem;
  display: flex;
}

.plan-card > span {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #97adbd;
  font-size: .7rem;
}

.plan-card strong {
  color: #e0eaf0;
  font-size: .85rem;
}

.plan-card a {
  color: #e8b973;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  display: flex;
}

.user-row {
  align-items: center;
  gap: .65rem;
  padding: .4rem .3rem;
  display: flex;
}

.avatar {
  color: #325e75;
  background: #d8e8ef;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-weight: 650;
  display: inline-flex;
}

.user-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.user-row strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #e3edf4;
  font-size: .8rem;
  display: block;
  overflow: hidden;
}

.user-row small {
  color: #8fa7b8;
  font-size: .7rem;
  display: block;
}

.user-row button {
  color: #acc1d0;
  background: none;
}

.app-body {
  width: calc(100% - 248px);
  min-width: 0;
  margin-left: 248px;
}

.app-topbar {
  background: #fff;
  border-bottom: 1px solid #dfe7ed;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  height: 78px;
  padding: 1rem 2.5rem;
  display: flex;
}

.company-label {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 600;
  overflow: hidden;
}

.app-topbar > .button {
  white-space: nowrap;
}

.app-content {
  max-width: 1500px;
  margin: auto;
  padding: 2.7rem 2.5rem 4rem;
}

.page-title {
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
}

.page-title h1 {
  font-size: 2rem;
  font-weight: 720;
}

.page-title p:not(.eyebrow) {
  margin-top: .7rem;
  font-size: .9rem;
}

.page-title .eyebrow {
  margin-bottom: .6rem;
  font-size: .65rem;
}

.mobile-menu, .mobile-close, .nav-scrim {
  display: none;
}

.account-banner {
  color: #775425;
  background: #fff0d9;
  padding: .8rem 2.5rem;
  font-size: .85rem;
}

.account-banner a {
  margin-left: .5rem;
  font-weight: 650;
  text-decoration: underline;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
  display: grid;
}

.stat-card {
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 9px;
  padding: 1.3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-card p {
  color: #718493;
  margin-bottom: .5rem;
  font-size: .8rem;
}

.stat-card strong {
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  padding-right: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
}

.stat-icon {
  float: right;
  color: #6b899c;
  background: #f0f5f8;
  border-radius: 7px;
  padding: .65rem;
  display: flex;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 1.5rem;
  display: grid;
}

.panel {
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 9px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.panel-heading {
  border-bottom: 1px solid #e7edf2;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  display: flex;
}

.panel-heading h2 {
  letter-spacing: -.02em;
  font-size: 1.05rem;
}

.panel-heading p {
  margin-top: .4rem;
  font-size: .8rem;
}

.panel-heading > a {
  white-space: nowrap;
  color: #407088;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
}

.job-list-row {
  border-bottom: 1px solid #ecf0f3;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem 1.5rem;
  display: flex;
}

.job-list-row:last-child {
  border: 0;
}

.job-list-row:hover {
  background: #f9fbfc;
}

.job-list-row > div {
  flex: 1;
  min-width: 0;
}

.job-list-row h3 {
  letter-spacing: -.01em;
  font-size: .95rem;
}

.job-list-row p {
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: .4rem;
  font-size: .75rem;
  overflow: hidden;
}

.expiry-row {
  border-bottom: 1px solid #e9eef2;
  grid-template-columns: 1fr auto;
  gap: .35rem;
  padding: 1.1rem 1.5rem;
  font-size: .75rem;
  display: grid;
}

.expiry-row strong {
  grid-column: 1 / -1;
  font-size: .85rem;
}

.expiry-row .pill {
  font-size: .7rem;
}

.navy-card {
  color: #edf4f7;
  background: #193e53;
  border-radius: 9px;
  padding: 1.5rem;
}

.navy-card h3 {
  margin: 1rem 0 .5rem;
}

.navy-card p {
  color: #b4cad7;
  font-size: .85rem;
}

.navy-card a {
  color: #efba71;
  align-items: center;
  gap: .5rem;
  margin-top: 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
}

.filters {
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.filters select {
  width: auto;
  max-width: 220px;
  font-size: .85rem;
}

.search {
  color: #718897;
  background: #fff;
  border: 1px solid #d2dde6;
  border-radius: 7px;
  flex: 1;
  align-items: center;
  gap: .65rem;
  padding: 0 .85rem;
  display: flex;
}

.search input {
  border: 0;
  min-width: 0;
  padding-left: 0;
  font-size: .85rem;
}

.job-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  display: grid;
}

.job-card {
  padding: 1.4rem;
}

.job-card:hover {
  border-color: #a8bfcd;
  box-shadow: 0 3px 15px #18384e07;
}

.job-card h2 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}

.job-card p {
  min-height: 3rem;
  margin: .6rem 0 1rem;
  font-size: .85rem;
}

.trade-tag {
  color: #5e7688;
  background: #f2f5f8;
  border-radius: 4px;
  padding: .25rem .6rem;
  font-size: .7rem;
  display: inline-flex;
}

.job-card-bottom {
  color: #698292;
  border-top: 1px solid #e4ebf0;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: .75rem;
  display: flex;
}

.job-meta {
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 0 2rem;
  font-size: .875rem;
  display: flex;
}

.job-meta > span {
  flex-direction: column;
  gap: .4rem;
  display: flex;
}

.job-meta strong {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #788d9b;
  font-size: .7rem;
}

.job-meta .button {
  margin-left: auto;
}

.document-list-row {
  border-bottom: 1px solid #e9eef2;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
}

.document-list-row:last-child {
  border: 0;
}

.document-list-row > div:not(.row-actions) {
  flex: 1;
  min-width: 0;
}

.document-list-row strong {
  overflow-wrap: anywhere;
  font-size: .875rem;
}

.document-list-row p {
  margin-top: .3rem;
  font-size: .75rem;
}

.attachment-row {
  border-bottom: 1px solid #e9eef2;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.5rem;
  display: flex;
}

.attachment-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.attachment-row strong {
  overflow-wrap: anywhere;
  font-size: .85rem;
  display: block;
}

.attachment-row small {
  color: #718596;
  font-size: .75rem;
  display: block;
}

.share-card {
  padding: 1.5rem;
}

.share-card h2 {
  margin: 1rem 0;
  font-size: 1.45rem;
}

.share-card p {
  font-size: .875rem;
}

.share-card > .button {
  width: 100%;
  margin-top: .8rem;
}

.share-card > .back-link {
  margin: 1rem 0;
}

.share-card > input {
  color: #668294;
  font-size: .75rem;
}

.row-actions {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.inline-edit {
  border-top: 1px solid #e6edf2;
  flex-flow: wrap;
  align-items: flex-end;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.inline-edit .field {
  max-width: 210px;
}

.inline-edit .button {
  align-self: flex-end;
}

.settings-nav {
  border-bottom: 1px solid #d8e2e9;
  gap: 1.7rem;
  margin-bottom: 2rem;
  display: flex;
}

.settings-nav a {
  color: #6a8192;
  padding: .5rem 0 1rem;
  font-size: .9rem;
}

.settings-nav a.active {
  color: #1c536d;
  border-bottom: 2px solid #1c536d;
  font-weight: 650;
}

.settings-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  display: grid;
}

.danger-zone {
  border-color: #e6d2cf;
  margin-top: 1.5rem;
}

.danger-zone h2 {
  font-size: 1.3rem;
}

.danger-zone .form {
  max-width: 500px;
}

.usage {
  flex-direction: column;
  margin: 2rem 0;
  display: flex;
}

.usage strong {
  font-size: 2rem;
}

.usage span {
  color: #6d8595;
  font-size: .85rem;
}

progress {
  accent-color: #38758a;
  width: 100%;
  height: 6px;
  margin-top: .9rem;
}

.onboarding {
  max-width: 900px;
  margin: auto;
}

.wizard-progress {
  gap: .5rem;
  margin-bottom: 2rem;
  display: flex;
}

.wizard-progress span {
  background: #dde6ed;
  border-radius: 4px;
  flex: 1;
  height: 5px;
}

.wizard-progress span.done {
  background: #42778b;
}

.trade-checks, .ppe-grid {
  grid-template-columns: 1fr 1fr;
  gap: .2rem 1rem;
  display: grid;
}

.step-tabs {
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 2rem;
  padding-bottom: .7rem;
  display: flex;
  overflow-x: auto;
}

.step-tabs > span {
  white-space: nowrap;
  color: #8a9ca8;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  display: flex;
}

.step-tabs b {
  background: #e6edf2;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  font-size: .75rem;
  display: flex;
}

.step-tabs .active {
  color: #234c65;
  font-weight: 650;
}

.step-tabs .active b {
  color: #fff;
  background: #234c65;
}

.step-tabs .complete b {
  color: #39805c;
  background: #dceee7;
}

.wizard-card {
  max-width: 900px;
}

.wizard-card > h2 {
  font-size: 1.5rem;
}

.wizard-card .form {
  margin-top: 1.5rem;
}

.wizard-card fieldset {
  margin: 1.5rem 0;
}

.wizard-card > p {
  margin: 1rem 0;
}

.template-preview {
  background: #f7fafc;
  border: 1px solid #d9e5ed;
  border-radius: 8px;
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.template-preview h3 {
  margin-top: 1rem;
}

.summary-list {
  grid-template-columns: 160px 1fr;
  gap: .75rem;
  margin: 1.5rem 0;
  font-size: .9rem;
  display: grid;
}

.summary-list dt {
  color: #758a99;
}

.summary-list dd {
  margin: 0;
  font-weight: 550;
}

.review-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  display: grid;
}

.review-notes {
  padding: 1.4rem;
}

.review-notes h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-warning {
  border-left: 2px solid #dfb674;
  margin: 1rem 0;
  padding: .2rem 0 .2rem .8rem;
  font-size: .8rem;
  line-height: 1.8;
}

.review-notes > .button {
  width: 100%;
  margin-top: .8rem;
  font-size: .85rem;
}

.review-aside {
  align-self: start;
  position: sticky;
  top: 1.5rem;
}

.editor-section .panel-heading {
  padding: 1rem 1.25rem;
}

.editor-section .panel-heading h2 {
  font-size: 1rem;
}

.rich-toolbar {
  background: #f8fafc;
  border-bottom: 1px solid #e8eef3;
  gap: .2rem;
  padding: .5rem 1rem;
  display: flex;
}

.rich-toolbar button {
  color: #56738a;
  background: none;
  border-radius: 4px;
  padding: .45rem;
  display: flex;
}

.rich-toolbar button:hover {
  background: #e4edf3;
}

.rich-editor {
  color: #304b5e;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  min-height: 140px;
  padding: 1.25rem;
  font-size: .95rem;
  line-height: 1.85;
}

.rich-editor p {
  color: inherit;
}

.rich-editor ul {
  padding-left: 1.5rem;
  list-style: outside;
}

.rich-editor ol {
  padding-left: 1.5rem;
  list-style: decimal;
}

.rich-editor b, .rich-editor strong {
  font-weight: 700;
}

.rich-editor i, .rich-editor em {
  font-style: italic;
}

.rich-editor:focus {
  outline-offset: -2px;
  outline: 2px solid #7097ab;
}

.acknowledgement {
  background: #f1f6f9;
  border: 1px solid #d2e0ea;
  border-radius: 6px;
  padding: 1rem;
}

.version-row {
  text-align: left;
  background: #fff;
  border-bottom: 1px solid #e4ebf1;
  width: 100%;
  padding: .8rem 1.5rem .8rem 0;
  display: block;
  position: relative;
}

.version-row strong {
  font-size: .8rem;
}

.version-row small {
  color: #7a8c99;
  font-size: .75rem;
  display: block;
}

.version-row svg {
  position: absolute;
  top: 1rem;
  right: 0;
}

.public-page {
  max-width: 1120px;
  margin: auto;
  padding: 3rem 2rem 5rem;
}

.centered-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.centered-heading h1 {
  font-size: 3rem;
}

.centered-heading > p:not(.eyebrow) {
  margin: 1.3rem 0;
}

.pricing-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: auto;
  display: grid;
}

.pricing-card {
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 12px;
  padding: 2rem;
}

.pricing-card.featured {
  border: 2px solid #244f66;
}

.pricing-card .eyebrow {
  margin-bottom: 1.2rem;
}

.pricing-card h2 {
  font-size: 3rem;
}

.pricing-card h2 small {
  letter-spacing: 0;
  color: #6b8292;
  font-size: .9rem;
  font-weight: 400;
}

.pricing-card > p {
  margin: 1rem 0;
  font-size: .9rem;
}

.pricing-card > .button {
  width: 100%;
  margin: 1rem 0;
}

.pricing-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  align-items: center;
  gap: .7rem;
  padding: .4rem 0;
  font-size: .875rem;
  display: flex;
}

.pricing-card li svg {
  color: #3c7a64;
}

.faq {
  max-width: 760px;
  margin: 4rem auto 0;
}

.faq h2 {
  margin-bottom: 2rem;
}

.faq details {
  border-bottom: 1px solid #dbe4eb;
  padding: 1.2rem 0;
}

.faq summary {
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
}

.faq details p {
  margin-top: 1rem;
  font-size: .9rem;
  line-height: 1.8;
}

.how-list {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
}

.how-step {
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  display: flex;
}

.how-step h2 {
  font-size: 1.7rem;
}

.how-step .eyebrow {
  margin: 0 0 .6rem;
  font-size: .7rem;
}

.legal {
  max-width: 780px;
  margin: auto;
}

.legal h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.legal h2 {
  margin: 2rem 0 .8rem;
  font-size: 1.35rem;
}

.legal p {
  margin-bottom: 1rem;
  font-size: .95rem;
  line-height: 1.9;
}

.legal a {
  text-decoration: underline;
}

.share-page {
  min-height: 100vh;
}

.share-page > header {
  border-bottom: 1px solid #dce5ec;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1050px;
  margin: auto;
  padding: 1.5rem 2rem;
  display: flex;
}

.share-page > main {
  max-width: 1050px;
  margin: auto;
  padding: 3rem 2rem;
}

.share-page h1 {
  font-size: 2.5rem;
}

.share-address {
  margin: 1rem 0;
}

.share-page footer {
  max-width: 1050px;
}

.share-page .job-meta {
  margin: 1rem 0;
}

@media (min-width: 1600px) {
  .app-content {
    padding: 3rem 4rem;
  }

  .app-topbar {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (max-width: 1150px) {
  .sidebar {
    width: 218px;
  }

  .app-body {
    width: calc(100% - 218px);
    margin-left: 218px;
  }

  .app-content {
    padding: 2rem 1.5rem;
  }

  .app-topbar {
    padding: 1rem 1.5rem;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr);
  }

  .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .auth-aside, .auth-main {
    padding: 2rem;
  }

  .stat-card {
    padding: 1.1rem;
  }

  .stat-card strong {
    font-size: 1.6rem;
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: 218px;
  }

  .dashboard-grid, .review-layout {
    grid-template-columns: 1fr;
  }

  .review-aside {
    grid-row: 1;
    position: static;
  }

  .review-notes > .button {
    width: auto;
    margin-right: .5rem;
  }

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

  .stats-grid {
    gap: .6rem;
  }

  .stat-icon {
    display: none;
  }

  .stat-card strong {
    padding: 0;
  }

  .page-title {
    align-items: flex-start;
  }

  .page-title h1 {
    font-size: 1.8rem;
  }

  .page-title > .button {
    white-space: nowrap;
    padding: .65rem .9rem;
    font-size: .8rem;
  }

  .filters {
    flex-wrap: wrap;
  }

  .search {
    flex-basis: 100%;
  }

  .filters select {
    flex: 1;
    max-width: none;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }

  .auth-form {
    margin: 2rem auto;
  }

  .auth-main {
    width: 100%;
    max-width: 600px;
    margin: auto;
  }

  .document-list-row {
    flex-wrap: wrap;
  }

  .document-list-row > div:not(.row-actions) {
    flex-basis: 50%;
  }

  .row-actions {
    margin-left: auto;
  }
}

@media (max-width: 650px) {
  .sidebar {
    width: 260px;
    transition: transform .2s;
    transform: translateX(-100%);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .app-body {
    width: 100%;
    margin-left: 0;
  }

  .mobile-menu {
    color: #375b73;
    background: none;
    padding: .2rem;
    display: flex;
  }

  .mobile-close {
    color: #fff;
    background: none;
    display: flex;
    position: absolute;
    top: 1.8rem;
    right: 1rem;
  }

  .nav-scrim {
    z-index: 25;
    background: #0b263e77;
    display: block;
    position: fixed;
    inset: 0;
  }

  .app-topbar {
    height: 68px;
    padding: .8rem 1rem;
  }

  .app-topbar .button {
    padding: .5rem .7rem;
    font-size: .75rem;
  }

  .company-label {
    flex: 1;
    font-size: .8rem;
  }

  .app-content {
    padding: 1.75rem 1rem 3rem;
  }

  .page-title {
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .page-title h1 {
    font-size: 1.8rem;
  }

  .page-title p:not(.eyebrow) {
    font-size: .85rem;
  }

  .stats-grid {
    gap: .5rem;
  }

  .stat-card {
    padding: .85rem .6rem;
  }

  .stat-card p {
    font-size: .7rem;
    line-height: 1.5;
  }

  .stat-card strong {
    font-size: 1.3rem;
  }

  .panel-heading, .job-list-row, .document-list-row {
    padding: 1rem;
  }

  .job-list-row .pill {
    display: none;
  }

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

  .card {
    padding: 1.25rem;
  }

  .form-grid, .trade-checks, .ppe-grid {
    grid-template-columns: 1fr;
  }

  .job-meta {
    gap: 1rem 2rem;
  }

  .job-meta > .button {
    margin: 0;
  }

  .attachment-row {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .attachment-row > .pill {
    margin-left: 1.8rem;
  }

  .row-actions {
    gap: .8rem;
  }

  .settings-nav {
    gap: 1rem;
  }

  .settings-nav a {
    font-size: .8rem;
  }

  .account-banner {
    padding: .8rem 1rem;
  }

  .public-page {
    padding: 2rem 1.25rem;
  }

  .centered-heading h1, .legal h1 {
    font-size: 2.2rem;
  }

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

  .pricing-card {
    padding: 1.5rem;
  }

  .how-step {
    gap: 1rem;
    padding: 1.25rem;
  }

  .how-step > .file-icon {
    display: none;
  }

  .how-step h2 {
    font-size: 1.4rem;
  }

  .share-page > header {
    padding: 1rem;
  }

  .share-page > main {
    padding: 2rem 1rem;
  }

  .share-page > header > .pill {
    font-size: .65rem;
  }

  .share-page h1 {
    font-size: 2rem;
  }

  .share-page .document-list-row {
    align-items: flex-start;
  }

  .share-page .document-list-row .button {
    margin-left: auto;
  }

  .summary-list {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .summary-list dd {
    margin-bottom: .7rem;
  }

  .step-tabs {
    gap: 1rem;
  }

  .editor-section .panel-heading {
    flex-wrap: wrap;
  }

  .auth-main {
    padding: 1.5rem;
  }

  .inline-edit {
    padding: 1rem;
  }

  .onboarding .card .card {
    border: 0;
    padding: 0;
  }

  .toast {
    font-size: .85rem;
    bottom: 1rem;
  }

  .review-notes .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 650px) {
  .public-header {
    gap: .8rem;
    padding: 1rem;
  }

  .public-header nav {
    gap: .75rem;
  }

  .public-header nav > a[href="/login"] {
    font-size: .8rem;
    display: inline;
  }

  .public-header nav > .button {
    padding: .5rem .65rem;
    font-size: .75rem;
  }

  .public-header .brand {
    font-size: 1.3rem;
  }
}

.sr-only {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.plan-picker {
  gap: 24px;
  margin: 24px 0;
  display: grid;
}

.billing-period legend {
  color: #617385;
  margin-bottom: 10px;
  font-size: .78rem;
}

.period-options {
  background: #edf2f5;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  gap: 6px;
  padding: 5px;
  display: flex;
}

.period-options label {
  cursor: pointer;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  font-size: .88rem;
  font-weight: 650;
  display: flex;
}

.period-options label.chosen {
  background: #fff;
  box-shadow: 0 2px 7px #17364b10;
}

.period-options input {
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  position: absolute;
}

.period-options label:focus-within {
  outline-offset: 2px;
  outline: 3px solid #d98419;
}

.period-options small {
  color: #326b55;
  font-size: .7rem;
}

.plan-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.plan-choice {
  cursor: pointer;
  background: #fff;
  border: 1px solid #d4dfe7;
  border-radius: 14px;
  flex-direction: column;
  min-width: 0;
  padding: 24px 20px;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  position: relative;
}

.plan-choice:hover {
  border-color: #698b9f;
  box-shadow: 0 8px 24px #18384e0a;
}

.plan-choice.chosen {
  background: #f7fafb;
  border-color: #214c63;
  box-shadow: 0 0 0 1px #214c63;
}

.plan-choice-top {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.plan-choice-top strong {
  font-size: 1.15rem;
}

.plan-choice input[type="radio"] {
  accent-color: #214c63;
  width: 19px;
  height: 19px;
  min-height: 19px;
  padding: 0;
}

.plan-description {
  color: #627789;
  min-height: 40px;
  margin-top: 8px;
  font-size: .8rem;
  line-height: 1.6;
}

.plan-price {
  letter-spacing: -.05em;
  margin: 22px 0;
  font-size: 2.25rem;
  font-weight: 750;
  display: block;
}

.plan-price small {
  letter-spacing: 0;
  color: #607586;
  font-size: .8rem;
  font-weight: 400;
}

.plan-features {
  border-top: 1px solid #dfe7ed;
  gap: 12px;
  padding-top: 20px;
  font-size: .79rem;
  line-height: 1.5;
  display: grid;
}

.plan-features > span {
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.plan-features svg {
  color: #437963;
  margin-top: 2px;
}

.plan-selection {
  color: #627789;
  margin-top: 24px;
  font-size: .75rem;
  font-weight: 650;
}

.chosen .plan-selection {
  color: #234f65;
}

.signup-plan-step > .button {
  width: 100%;
  margin-top: 24px;
}

.signup-plan-step > .text-button {
  margin: 16px auto;
  padding: 10px;
  display: block;
}

.auth-form:has(.signup-plan-step) {
  width: 100%;
  max-width: 640px;
}

.auth-main:has(.signup-plan-step) {
  max-width: none;
}

.billing-layout {
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.5fr);
  align-items: start;
}

.current-plan {
  background: #f0f5f7;
}

.subscription-card {
  padding: 32px;
}

.subscription-card > .eyebrow {
  margin: 0 0 12px;
}

.subscription-card h2 {
  font-size: 1.7rem;
}

.checkout-summary {
  border-top: 1px solid #e0e8ed;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
  padding-top: 24px;
  display: flex;
}

.checkout-summary > div {
  gap: 6px;
  display: grid;
}

.checkout-summary span {
  color: #607586;
  font-size: .8rem;
}

.checkout-summary strong {
  letter-spacing: -.04em;
  font-size: 1.65rem;
}

.checkout-summary small {
  letter-spacing: 0;
  font-size: .8rem;
  font-weight: 400;
}

.checkout-note {
  align-items: center;
  gap: 8px;
  display: flex;
  margin-top: 20px !important;
  font-size: .78rem !important;
}

.logo-upload {
  cursor: pointer;
  background: #f6fafb;
  border: 1.5px dashed #9fb7c5;
  border-radius: 14px;
  align-items: center;
  gap: 24px;
  padding: 32px;
  transition: background .15s;
  display: flex;
  position: relative;
}

.logo-upload:hover {
  background: #edf5f8;
}

.logo-upload:focus-within {
  outline-offset: 3px;
  outline: 3px solid #d98419;
}

.logo-preview {
  color: #3b647c;
  background: #fff;
  border: 1px solid #dce6ed;
  border-radius: 12px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  display: flex;
}

.logo-preview img {
  object-fit: contain;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.logo-upload-copy {
  gap: 7px;
  min-width: 0;
  display: grid;
}

.logo-upload-copy strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.logo-upload-copy > span {
  color: #657e8e;
  font-size: .8rem;
}

.logo-upload-copy .logo-browse {
  color: #214c63;
  text-underline-offset: 4px;
  margin-top: 6px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
}

.field-label {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  display: flex;
}

.required-tag {
  letter-spacing: .02em;
  color: #627887;
  white-space: nowrap;
  background: #edf2f5;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .65rem;
  font-weight: 650;
}

.site-details-form {
  gap: 16px;
}

.site-details-form .field {
  gap: 8px;
  margin-top: 8px;
}

.site-details-form fieldset {
  background: #f7fafb;
  border: 1px solid #e1e9ee;
  border-radius: 12px;
  margin-top: 16px;
  padding: 24px;
}

.site-details-form legend {
  float: left;
  width: 100%;
  margin-bottom: 16px;
}

.site-details-form .ppe-grid {
  clear: both;
}

.site-details-form .check-label {
  background: #fff;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  margin: 0;
  padding: 12px;
}

.site-details-form .check-label:has(input:checked) {
  background: #edf5f8;
  border-color: #7598aa;
}

.site-details-form .ppe-grid {
  gap: 10px;
}

.form-section-heading {
  border-top: 1px solid #e0e8ed;
  margin-top: 20px;
  padding-top: 28px;
}

.form-section-heading .eyebrow {
  margin-bottom: 10px;
  display: block;
}

.form-section-heading p {
  font-size: .85rem;
}

.onboarding > .card {
  padding: 32px;
}

.onboarding .form-actions {
  margin-top: 32px;
  padding-top: 24px;
}

.form input::placeholder, .form textarea::placeholder {
  color: #80929e;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .billing-layout {
    grid-template-columns: 1fr;
  }

  .current-plan {
    max-width: none;
  }

  .checkout-summary {
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .plan-choice-grid {
    grid-template-columns: 1fr;
  }

  .plan-description {
    min-height: 0;
  }

  .plan-choice {
    padding: 22px;
  }

  .plan-price {
    margin: 16px 0;
  }

  .period-options label {
    flex-wrap: wrap;
    gap: 2px 6px;
    padding: 10px 8px;
  }

  .subscription-card, .onboarding > .card {
    padding: 20px;
  }

  .checkout-summary {
    align-items: stretch;
  }

  .checkout-summary > .button {
    width: 100%;
  }

  .logo-upload {
    text-align: center;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }

  .logo-preview {
    width: 88px;
    height: 88px;
  }

  .site-details-form fieldset {
    padding: 16px;
  }

  .site-details-form .form-actions .button {
    flex: 1;
  }

  .required-tag {
    white-space: normal;
  }

  .plan-price {
    font-size: 2rem;
  }
}

.saved-logo-panel {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 16px 8px;
  display: flex;
}

.saved-logo-panel > img {
  object-fit: contain;
  background: #fafcfd;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  width: 100%;
  max-width: 280px;
  height: 180px;
  padding: 16px;
}

.saved-logo-status {
  color: #547465;
  font-size: .78rem;
}

.saved-logo-panel > .button {
  margin-top: 4px;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}
