/*! 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;
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-md: 28rem;
    --container-2xl: 42rem;
    --container-4xl: 56rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-bold: 700;
    --tracking-wide: 0.025em;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --font-pixel: "Pixelify Sans", ui-monospace, "Courier New", monospace;
    --color-sky: #1eaae1;
  }
}
@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 {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .relative {
    position: relative;
  }
  .sticky {
    position: sticky;
  }
  .bottom-0 {
    bottom: 0px;
  }
  .isolate {
    isolation: isolate;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .row-span-2 {
    grid-row: span 2 / span 2;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .size-5 {
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
  }
  .h-20 {
    height: calc(var(--spacing) * 20);
  }
  .max-h-full {
    max-height: 100%;
  }
  .min-h-5 {
    min-height: calc(var(--spacing) * 5);
  }
  .min-h-dvh {
    min-height: 100dvh;
  }
  .w-1\/2 {
    width: calc(1 / 2 * 100%);
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-4xl {
    max-width: var(--container-4xl);
  }
  .max-w-full {
    max-width: 100%;
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-\[auto_1fr\] {
    grid-template-columns: auto 1fr;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-1 {
    gap: var(--spacing);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-x-1 {
    column-gap: var(--spacing);
  }
  .gap-x-4 {
    column-gap: calc(var(--spacing) * 4);
  }
  .gap-x-8 {
    column-gap: calc(var(--spacing) * 8);
  }
  .gap-y-2 {
    row-gap: calc(var(--spacing) * 2);
  }
  .gap-y-3 {
    row-gap: calc(var(--spacing) * 3);
  }
  .self-end {
    align-self: flex-end;
  }
  .self-start {
    align-self: flex-start;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .border-4 {
    border-style: var(--tw-border-style);
    border-width: 4px;
  }
  .border-black {
    border-color: var(--color-black);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .object-contain {
    object-fit: contain;
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .text-center {
    text-align: center;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[0\.7rem\] {
    font-size: 0.7rem;
  }
  .text-\[clamp\(2rem\,10\.5vw\,3rem\)\] {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .text-white {
    color: var(--color-white);
  }
  .underline {
    text-decoration-line: underline;
  }
  .accent-black {
    accent-color: var(--color-black);
  }
  .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,);
  }
  .\[--chip\:\#3b434c\] {
    --chip: #3b434c;
  }
  .\[--chip\:\#4a6cf9\] {
    --chip: #4a6cf9;
  }
  .\[--chip\:\#9fe58f\] {
    --chip: #9fe58f;
  }
  .\[--chip\:\#f20f0f\] {
    --chip: #f20f0f;
  }
  .\[--chip\:\#ffbb5e\] {
    --chip: #ffbb5e;
  }
  .\[--chip\:linear-gradient\(100deg\,\#f45fc2\,\#5b6bff\)\] {
    --chip: linear-gradient(100deg,#f45fc2,#5b6bff);
  }
  @media (width >= 40rem) {
    .sm\:fixed {
      position: fixed;
    }
    .sm\:top-3 {
      top: calc(var(--spacing) * 3);
    }
    .sm\:right-3 {
      right: calc(var(--spacing) * 3);
    }
    .sm\:z-10 {
      z-index: 10;
    }
    .sm\:-mt-5 {
      margin-top: calc(var(--spacing) * -5);
    }
    .sm\:mt-0 {
      margin-top: 0px;
    }
    .sm\:h-28 {
      height: calc(var(--spacing) * 28);
    }
    .sm\:-translate-y-1 {
      --tw-translate-y: calc(var(--spacing) * -1);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .sm\:-translate-y-2 {
      --tw-translate-y: calc(var(--spacing) * -2);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .sm\:-translate-y-3 {
      --tw-translate-y: calc(var(--spacing) * -3);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .sm\:translate-y-1 {
      --tw-translate-y: var(--spacing);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\:p-6 {
      padding: calc(var(--spacing) * 6);
    }
    .sm\:text-2xl {
      font-size: var(--text-2xl);
      line-height: var(--tw-leading, var(--text-2xl--line-height));
    }
    .sm\:text-xl {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
    .sm\:text-xs {
      font-size: var(--text-xs);
      line-height: var(--tw-leading, var(--text-xs--line-height));
    }
    .sm\:text-\[clamp\(3rem\,8vw\,4\.5rem\)\] {
      font-size: clamp(3rem, 8vw, 4.5rem);
    }
  }
  @media (width >= 48rem) {
    .md\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .lg\:col-span-2 {
      grid-column: span 2 / span 2;
    }
    .lg\:col-start-1 {
      grid-column-start: 1;
    }
    .lg\:col-start-2 {
      grid-column-start: 2;
    }
    .lg\:row-span-2 {
      grid-row: span 2 / span 2;
    }
    .lg\:row-start-1 {
      grid-row-start: 1;
    }
    .lg\:row-start-2 {
      grid-row-start: 2;
    }
    .lg\:row-start-3 {
      grid-row-start: 3;
    }
    .lg\:row-start-4 {
      grid-row-start: 4;
    }
    .lg\:mr-3 {
      margin-right: calc(var(--spacing) * 3);
    }
    .lg\:ml-14 {
      margin-left: calc(var(--spacing) * 14);
    }
    .lg\:h-\[clamp\(5\.5rem\,10vw\,8\.4rem\)\] {
      height: clamp(5.5rem, 10vw, 8.4rem);
    }
    .lg\:w-auto {
      width: auto;
    }
    .lg\:max-w-none {
      max-width: none;
    }
    .lg\:grid-cols-\[5fr_6fr\] {
      grid-template-columns: 5fr 6fr;
    }
    .lg\:grid-rows-\[auto_1fr_auto_auto\] {
      grid-template-rows: auto 1fr auto auto;
    }
    .lg\:gap-\[7px\] {
      gap: 7px;
    }
    .lg\:gap-x-1 {
      column-gap: var(--spacing);
    }
    .lg\:px-8 {
      padding-inline: calc(var(--spacing) * 8);
    }
    .lg\:py-4 {
      padding-block: calc(var(--spacing) * 4);
    }
    .lg\:pt-1 {
      padding-top: var(--spacing);
    }
    .lg\:pt-6 {
      padding-top: calc(var(--spacing) * 6);
    }
    .lg\:pt-7 {
      padding-top: calc(var(--spacing) * 7);
    }
    .lg\:pl-3 {
      padding-left: calc(var(--spacing) * 3);
    }
    .lg\:text-\[clamp\(1\.1rem\,2\.1vw\,1\.67rem\)\] {
      font-size: clamp(1.1rem, 2.1vw, 1.67rem);
    }
    .lg\:text-\[clamp\(2\.4rem\,4\.3vw\,3\.67rem\)\] {
      font-size: clamp(2.4rem, 4.3vw, 3.67rem);
    }
  }
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("../fonts/PixelifySans-Medium.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@layer base {
  html {
    font-family: var(--font-pixel);
    color: #000;
  }
  body {
    background: radial-gradient(ellipse at 50% 40%, #fff 55%, #f1f1f1 100%) fixed;
  }
  h1, h2 {
    font-weight: 700;
    -webkit-text-stroke: 1px currentColor;
  }
  button, select, input {
    font: inherit;
  }
  :focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
  }
}
@layer components {
  .drop {
    position: relative;
    isolation: isolate;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: min(100%, 38rem, max(20rem, calc((100dvh - 17rem) * 1.04)));
    min-width: min(100%, 18rem);
    aspect-ratio: 520 / 500;
    padding: 12% 12% 10%;
    text-align: center;
  }
  .drop::before, main::before, .chip::before {
    content: "";
    position: absolute;
    z-index: -1;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    transition: filter 0.15s;
  }
  .drop::before {
    inset: 0;
    background: var(--color-sky);
    -webkit-mask-image: url("../img/shape-upload.svg");
    mask-image: url("../img/shape-upload.svg");
  }
  @media (min-width: 1024px) and (max-height: 740px) {
    .drop {
      width: min(100%, 34rem, max(16rem, calc((100dvh - 23rem) * 1.04)));
    }
  }
  .drop:hover::before, .drop[data-over]::before {
    filter: brightness(1.1);
  }
  .drop[data-over] {
    transform: scale(1.02);
  }
  .drop:focus-within {
    outline: 4px solid #000;
    outline-offset: 6px;
    border-radius: 1.5rem;
  }
  main::before {
    display: none;
    left: 0;
    top: 1%;
    width: 30%;
    aspect-ratio: 230 / 440;
    background: linear-gradient(to bottom, #ff63c8, #9a6be8 55%, #5b6bff);
    -webkit-mask-image: url("../img/shape-gradient.svg");
    mask-image: url("../img/shape-gradient.svg");
  }
  @media (min-width: 1024px) {
    main::before {
      display: block;
    }
  }
  .chip {
    position: relative;
    isolation: isolate;
    cursor: pointer;
    width: 6.25rem;
    height: 5rem;
    padding: 0.4rem 0.9rem 0.4rem 1.1rem;
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: left;
    transition: transform 0.12s;
  }
  .chip::before {
    inset: 0;
    background: var(--chip);
    -webkit-mask-image: url("../img/shape-chip.svg");
    mask-image: url("../img/shape-chip.svg");
  }
  .chip:hover::before {
    filter: brightness(1.08);
  }
  .chip[aria-pressed="true"] {
    outline: 3px solid #000;
    outline-offset: 1px;
    border-radius: 1rem;
  }
  @media (min-width: 640px) {
    .chip {
      width: 6.75rem;
      font-size: 0.95rem;
    }
  }
  @media (min-width: 1024px) {
    .chip {
      width: clamp(4.9rem, 7.6vw, 6.75rem);
      height: clamp(4.2rem, 6vw, 5rem);
      font-size: clamp(0.7rem, 1.25vw, 0.95rem);
      padding: 0.4rem clamp(0.35rem, 0.9vw, 0.9rem) 0.4rem clamp(0.5rem, 1.1vw, 1.1rem);
    }
  }
  .ad {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 3.6rem;
    padding: 0.25rem 0.75rem;
    overflow: hidden;
    border: 4px solid #000;
    border-radius: 1.1rem;
    background: rgb(255 255 255 / 0.85);
    font-size: 0.9rem;
  }
  .ad[href] {
    cursor: pointer;
  }
  .ad[href]:hover {
    background: #e8f6fd;
  }
  @media (min-width: 1024px) {
    .ad {
      min-height: 5rem;
    }
  }
  .lang-btn {
    border: 2px solid #000;
    border-radius: 0.5rem;
    padding: 0 0.7rem;
    min-height: 1.75rem;
    cursor: pointer;
    background: #fff;
  }
  .lang-btn[aria-pressed="true"] {
    background: #000;
    color: #fff;
  }
  .panel {
    margin: auto;
    width: min(92vw, 40rem);
    max-height: 88dvh;
    overflow: auto;
    border: 4px solid #000;
    border-radius: 1.5rem;
    background: #fff;
    color: #000;
    padding: 1.25rem;
  }
  .panel[open] {
    display: grid;
    gap: 0.75rem;
    align-content: start;
  }
  .panel-wide {
    width: min(96vw, 62rem);
  }
  .panel::backdrop {
    background: rgb(0 0 0 / 0.5);
  }
  menu {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .panel > menu {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-block: 0.5rem;
  }
  @media (max-width: 639px) {
    .panel, .panel-wide {
      width: 100vw;
      max-width: 100vw;
      height: 100dvh;
      max-height: 100dvh;
      border-width: 0;
      border-radius: 0;
      padding: 1rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    }
    .field {
      grid-template-columns: 1fr 3rem;
    }
    .field > span {
      grid-column: 1 / -1;
    }
    .field-input {
      grid-column: 1;
    }
  }
  @media (pointer: coarse) {
    .lang-btn {
      min-height: 2.5rem;
      min-width: 3rem;
    }
    .btn {
      min-height: 2.75rem;
    }
    .btn-sm {
      min-height: 2.5rem;
    }
    .icon-btn {
      height: 2.5rem;
    }
    #open-history {
      min-height: 2.5rem;
      padding-inline: 0.75rem;
    }
  }
  .btn {
    border: 4px solid #000;
    border-radius: 0.8rem;
    background: #fff;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
  }
  .btn:hover:not(:disabled) {
    background: #000;
    color: #fff;
  }
  .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .btn-primary {
    background: var(--color-sky);
  }
  .btn-sm {
    padding: 0.1rem 0.7rem;
    font-size: 0.78rem;
    border-width: 3px;
  }
  .doc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    border: 4px solid #000;
    border-radius: 1rem;
    padding: 0.7rem 0.8rem;
  }
  .doc-name {
    flex: 1 1 12rem;
    min-width: 0;
  }
  .doc-meta {
    flex-basis: 100%;
  }
  .doc-progress {
    flex-basis: 100%;
    height: 0.9rem;
    accent-color: var(--color-sky);
  }
  .page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2.6rem, 1fr));
    grid-template-rows: 8rem auto;
    gap: 0.25rem;
    border: 4px solid #000;
    border-radius: 0.9rem;
    padding: 0.4rem;
    cursor: grab;
    background: #fff;
  }
  .page[data-over] {
    outline: 4px dashed var(--color-sky);
    outline-offset: 2px;
  }
  .page[data-dragging] {
    opacity: 0.4;
  }
  .page[data-deleted="true"] {
    opacity: 0.4;
  }
  .page[data-deleted="true"] .page-thumb {
    filter: grayscale(1);
  }
  .page-thumb {
    grid-column: 1 / -1;
    place-self: center;
    width: 5.6rem;
    height: 8rem;
    background: #eee;
    transition: transform 0.15s;
  }
  .page-no {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.8rem;
  }
  .icon-btn {
    height: 2rem;
    border: 2px solid #000;
    border-radius: 0.5rem;
    background: #fff;
    font-size: 0.85rem;
    cursor: pointer;
  }
  .icon-btn:hover:not(:disabled) {
    background: var(--color-sky);
  }
  .icon-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
  .field {
    display: grid;
    grid-template-columns: 9rem 1fr 3rem;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  .field-input {
    min-width: 0;
    grid-column: 2;
    accent-color: #000;
  }
  select.field-input {
    grid-column: 2 / -1;
    border: 3px solid #000;
    border-radius: 0.6rem;
    padding: 0.2rem;
    background: #fff;
  }
  .toast {
    inset: auto auto 1rem 50%;
    margin: 0;
    transform: translateX(-50%);
    width: max-content;
    max-width: 92vw;
    border: 4px solid #000;
    border-radius: 0.9rem;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    overflow: visible;
  }
}
@media (max-width: 1023px) {
  body {
    padding-inline: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  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;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@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-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: 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;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
    }
  }
}
