/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@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;
    --radius-lg: var(--radius);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --radius: 0.625rem;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    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;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.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 {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-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"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .rounded-lg {
    border-radius: var(--radius);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .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,);
  }
}
@font-face {
  font-family: "InterVariable";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@layer base {
  :root {
    --radius: 0.625rem;
    --background: oklch(0.9825 0.0054 274.97);
    --foreground: oklch(0.141 0.005 285.823);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.141 0.005 285.823);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.141 0.005 285.823);
    --primary: oklch(0.7119 0.1806 131.91);
    --primary-hex: #65b32e;
    --primary-foreground: oklch(0.985 0 0);
    --secondary: oklch(0.967 0.001 286.375);
    --secondary-foreground: oklch(0.21 0.006 285.885);
    --muted: oklch(0.967 0.001 286.375);
    --muted-foreground: oklch(0.552 0.016 285.938);
    --accent: oklch(0.967 0.001 286.375);
    --accent-foreground: oklch(0.21 0.006 285.885);
    --destructive: oklch(0.6371 0.2104 28.54);
    --border: oklch(0.9128 0 0);
    --input: oklch(0.92 0.004 286.32);
    --ring: oklch(0.705 0.015 286.067);
    --warning: oklch(0.769 0.188 70.08);
    --ink: #001f26;
    font-family: InterVariable, ui-sans-serif, system-ui, sans-serif;
  }
  h1, h2 {
    letter-spacing: 0.01em;
  }
  html {
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
  }
  body {
    background: var(--background);
    color: var(--foreground);
    min-height: 100dvh;
  }
  a {
    color: inherit;
  }
  img, canvas, video {
    max-width: 100%;
  }
  :focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }
}
@layer components {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem calc(1rem + env(safe-area-inset-right, 0px)) 0.8rem calc(1rem + env(safe-area-inset-left, 0px));
    background: #fff;
    border-bottom: 1px solid var(--border);
    min-height: 3.5rem;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 0;
  }
  .brand-logo {
    display: block;
    height: 1.75rem;
    width: auto;
    flex: 0 0 auto;
  }
  .brand-mark {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.1rem;
  }
  .brand-sub {
    display: none;
    color: var(--muted-foreground);
    font-size: 0.9rem;
  }
  .navbar-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .save-indicator {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    white-space: nowrap;
  }
  @media (min-width: 640px) {
    .brand-sub {
      display: inline;
    }
    .navbar {
      min-height: 5rem;
      padding: 0 calc(2rem + env(safe-area-inset-right, 0px)) 0 calc(2rem + env(safe-area-inset-left, 0px));
    }
    .brand-logo {
      height: 2rem;
    }
  }
  .page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem calc(0.875rem + env(safe-area-inset-right, 0px)) 4rem calc(0.875rem + env(safe-area-inset-left, 0px));
  }
  .page-head {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .page-head h1 {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    line-height: 1.25;
  }
  .page > h1 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
  }
  .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--primary);
    margin: 0;
  }
  .muted {
    color: var(--muted-foreground);
  }
  @media (min-width: 768px) {
    .page {
      padding: 1.5rem calc(1.25rem + env(safe-area-inset-right, 0px)) 3rem calc(1.25rem + env(safe-area-inset-left, 0px));
    }
    .page-head {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
      gap: 1rem;
    }
    .page-head h1 {
      font-size: 1.6rem;
    }
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border-radius: var(--radius);
    padding: 0.55rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    color: var(--foreground);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .btn-primary {
    background: var(--primary);
    color: #fff;
  }
  .btn-primary:hover {
    filter: brightness(0.95);
  }
  .btn-secondary {
    background: #fff;
    border-color: var(--border);
  }
  .btn-destructive {
    background: var(--destructive);
    color: #fff;
  }
  .btn-ghost {
    background: transparent;
  }
  .btn-sm {
    min-height: 2.5rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
  }
  .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .icon-btn {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    text-decoration: none;
    flex: 0 0 auto;
  }
  .editor-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem calc(0.75rem + env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) calc(0.75rem + env(safe-area-inset-left, 0px));
    background: color-mix(in oklab, #fff 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
  }
  .editor-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    padding-inline: 0.4rem;
    font-size: 0.85rem;
  }
  body:has(.editor-actions) .page {
    padding-bottom: 9rem;
  }
  @media (min-width: 768px) {
    .editor-actions {
      position: static;
      padding: 0;
      background: transparent;
      border-top: 0;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      justify-content: flex-end;
    }
    .editor-actions .btn {
      flex: 0 1 auto;
      font-size: 0.9rem;
    }
    body:has(.editor-actions) .page {
      padding-bottom: 3rem;
    }
  }
  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: none;
    margin-bottom: 1rem;
  }
  .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0;
  }
  .card-step {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex: 0 0 auto;
  }
  .card-title {
    margin: 0;
    font-size: 1.05rem;
  }
  .card-body {
    padding: 0.9rem 1rem 1.1rem;
  }
  .card-body p.muted {
    margin: 0.4rem 0 0.2rem;
  }
  @media (min-width: 768px) {
    .card-header {
      padding: 1rem 1.15rem 0;
    }
    .card-body {
      padding: 1rem 1.15rem 1.2rem;
    }
  }
  .field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.7rem;
  }
  .field-inline {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
  }
  .field-label {
    font-size: 0.8rem;
    font-weight: 600;
  }
  .req {
    color: var(--destructive);
  }
  .field-input, textarea.field-input, input.field-input {
    border: 1px solid var(--input);
    border-radius: var(--radius);
    padding: 0.55rem 0.7rem;
    font: inherit;
    font-size: 1rem;
    background: #fff;
    min-height: 2.5rem;
    width: 100%;
    min-width: 0;
  }
  .field-input:disabled {
    background: var(--muted);
    color: var(--muted-foreground);
  }
  input[type="file"].field-reset, input[type="file"] {
    max-width: 100%;
  }
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem 1rem;
  }
  .stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  .stack-lg {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  @media (min-width: 768px) {
    .grid-2 {
      grid-template-columns: 1fr 1fr;
    }
  }
  .badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--muted);
    color: var(--secondary-foreground);
  }
  .badge-success {
    background: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--primary) 18%, white);
    }
    color: #2f6a12;
  }
  .badge-destructive {
    background: var(--destructive);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--destructive) 16%, white);
    }
    color: #9f1d1d;
  }
  .badge-neutral {
    background: var(--muted);
  }
  .table-wrap {
    display: none;
  }
  .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
  }
  .data-table th, .data-table td {
    text-align: left;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid var(--border);
  }
  .data-table th {
    color: var(--muted-foreground);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #fff;
  }
  .empty {
    text-align: center;
    color: var(--muted-foreground);
  }
  .row-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    align-items: center;
  }
  .protocol-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .protocol-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: none;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .protocol-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .protocol-card-date {
    font-weight: 700;
  }
  .protocol-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.9rem;
    margin: 0;
  }
  .protocol-card-meta dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-foreground);
    font-weight: 600;
  }
  .protocol-card-meta dd {
    margin: 0;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }
  .protocol-card-actions {
    display: flex;
    gap: 0.5rem;
  }
  .protocol-card-actions .btn {
    flex: 1;
  }
  .empty-card {
    margin: 0;
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--muted-foreground);
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
  }
  @media (min-width: 640px) {
    .protocol-cards {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (min-width: 768px) {
    .protocol-cards {
      display: none;
    }
    .table-wrap {
      display: block;
      overflow: auto;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
    }
  }
  .filter-bar {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .filter-bar .field-inline {
    margin-bottom: 0;
  }
  .filter-bar .field-inline .field-input {
    flex: 1;
  }
  .filter-bar .btn {
    width: 100%;
  }
  .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
  }
  @media (min-width: 768px) {
    .filter-bar {
      flex-direction: row;
      align-items: flex-end;
      gap: 0.75rem;
    }
    .filter-bar .btn {
      width: auto;
    }
  }
  .choice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem;
    background: #fff;
    cursor: pointer;
    min-height: 2.75rem;
  }
  .choice input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: var(--primary);
    flex: 0 0 auto;
  }
  .choice .muted {
    display: block;
    font-size: 0.85rem;
  }
  .radio-group {
    display: flex;
    gap: 0.5rem;
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
  }
  .radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex: 1;
    min-height: 2.75rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-size: 0.9rem;
    cursor: pointer;
  }
  .radio input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--primary);
  }
  .check-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }
  .operational {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  .operational p {
    margin: 0 0 0.5rem;
  }
  #add-oventrop-line, #add-bsk-row {
    width: 100%;
  }
  @media (min-width: 768px) {
    #add-oventrop-line, #add-bsk-row {
      width: auto;
    }
  }
  @media (min-width: 1024px) {
    .check-row {
      grid-template-columns: 1.4fr auto 1fr;
      align-items: center;
      gap: 0.75rem;
      padding: 0.55rem 0;
    }
    .radio {
      flex: 0 0 auto;
      min-height: 0;
      padding: 0.15rem 0.2rem;
      border: 0;
      background: transparent;
      font-size: 0.85rem;
    }
  }
  .bsk-table {
    font-size: 0.9rem;
  }
  .bsk-table thead {
    display: none;
  }
  .bsk-table, .bsk-table tbody, .bsk-table tr, .bsk-table td {
    display: block;
    width: 100%;
  }
  .bsk-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: none;
    padding: 0.35rem 0.9rem 0.75rem;
    margin-bottom: 0.75rem;
  }
  .bsk-row td {
    border-bottom: 0;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .bsk-row td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    max-width: 45%;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
  }
  .bsk-row td[data-label=""]::before {
    content: none;
  }
  .bsk-row td > .field-input {
    flex: 1;
    width: auto;
  }
  .bsk-row td > .toggle-group {
    margin-left: auto;
  }
  .bsk-row .bsk-actions {
    justify-content: flex-end;
  }
  .bsk-row .bsk-actions .btn {
    width: 100%;
  }
  .toggle-group {
    display: flex;
    gap: 0.3rem;
  }
  .toggle {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
  }
  .toggle.is-ok {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }
  .toggle.is-not-ok {
    background: var(--destructive);
    color: #fff;
    border-color: var(--destructive);
  }
  @media (min-width: 1024px) {
    .bsk-table-wrap {
      overflow: auto;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
    }
    .bsk-table {
      display: table;
      width: 100%;
      min-width: 70rem;
    }
    .bsk-table thead {
      display: table-header-group;
    }
    .bsk-table tbody {
      display: table-row-group;
    }
    .bsk-table tr {
      display: table-row;
    }
    .bsk-table td {
      display: table-cell;
    }
    .bsk-row {
      background: transparent;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      padding: 0;
      margin: 0;
    }
    .bsk-row td {
      padding: 0.55rem 0.6rem;
      border-bottom: 1px solid var(--border);
    }
    .bsk-row td::before {
      content: none;
    }
    .bsk-row td > .field-input {
      width: 100%;
      font-size: 0.9rem;
      padding: 0.4rem 0.5rem;
    }
    .bsk-row td > .toggle-group {
      margin-left: 0;
    }
    .bsk-row .bsk-actions .btn {
      width: auto;
    }
    .bsk-table .toggle {
      min-width: 2rem;
      min-height: 1.9rem;
      padding: 0.1rem 0.35rem;
      font-size: 0.7rem;
      font-weight: 500;
      border-radius: 6px;
    }
    .bsk-table th:nth-child(1), .bsk-table td:nth-child(1) {
      position: sticky;
      left: 0;
      background: #fff;
      z-index: 1;
      width: 5.5rem;
      min-width: 5.5rem;
    }
    .bsk-table th:nth-child(2), .bsk-table td:nth-child(2) {
      position: sticky;
      left: 5.5rem;
      background: #fff;
      z-index: 1;
      width: 4.5rem;
      min-width: 4.5rem;
      border-right: 1px solid var(--border);
    }
    .bsk-table thead th:nth-child(1), .bsk-table thead th:nth-child(2) {
      z-index: 2;
    }
  }
  .photo-list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    list-style: disc;
  }
  .photo-list li {
    overflow-wrap: anywhere;
  }
  .sign-block h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
  }
  .sign-pad {
    display: block;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    width: 100%;
    height: 10rem;
    background: #fff;
    touch-action: none;
  }
  .legal {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin: 1rem 0 0;
  }
  .alert {
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius);
    margin: 0.5rem 0 0;
  }
  .alert-warning {
    background: oklch(0.987 0.022 95.277);
    border: 1px solid var(--warning);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--warning) 30%, white);
    }
  }
  .auth-body {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px));
  }
  .auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.5rem 1.25rem;
    width: min(420px, 100%);
    text-align: center;
  }
  .auth-card .brand-logo {
    height: 2.25rem;
    margin: 0 auto 0.85rem;
  }
  .auth-card h1 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
  }
  .auth-card .muted {
    margin: 0 0 1rem;
  }
  @media (min-width: 640px) {
    .auth-card {
      padding: 2rem;
    }
  }
  .toast-region {
    position: fixed;
    z-index: 50;
    left: calc(0.75rem + env(safe-area-inset-left, 0px));
    right: calc(0.75rem + env(safe-area-inset-right, 0px));
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .toast {
    background: var(--popover);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgb(15 23 42 / 0.12);
    display: flex;
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
  }
  .toast strong {
    display: block;
  }
  .toast p {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: var(--muted-foreground);
  }
  .toast-close {
    margin-left: auto;
    border: 0;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin-block: -0.6rem;
    margin-right: -0.5rem;
  }
  .toast-success {
    border-left: 3px solid var(--primary);
  }
  .toast-error {
    border-left: 3px solid var(--destructive);
  }
  .toast-warning {
    border-left: 3px solid var(--warning);
  }
  .toast-info {
    border-left: 3px solid var(--ring);
  }
  @media (min-width: 768px) {
    .toast-region {
      top: 1rem;
      right: 1rem;
      bottom: auto;
      left: auto;
      width: min(360px, calc(100vw - 2rem));
    }
  }
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@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;
}
@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-border-style: solid;
      --tw-outline-style: solid;
      --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;
    }
  }
}
