/*
 * procure.css — the Keycloak login theme's only hand-written stylesheet.
 *
 * Rule: this file names no colour. Every colour is `hsl(var(--token))` from
 * tokens.css, which ops/kc_theme_tokens.py generates from
 * frontend/src/index.css. The sizes are borrowed, not eyeballed — each one is
 * annotated with the app class it comes from, so a reviewer can check it
 * against the component instead of against a screenshot:
 *
 *   card      frontend/src/components/layout/SignInScreen.tsx
 *   input     frontend/src/components/ui/input.tsx      (h-10, px-3 py-2, text-sm)
 *   label     frontend/src/components/ui/label.tsx      (text-sm font-medium)
 *   button    frontend/src/components/ui/button.tsx     (h-10 px-4 py-2, text-sm font-medium)
 *   radius    tailwind.config.ts — lg/md/sm all resolve to var(--radius) (6px)
 *
 * docs/ux-design.md §1 (tokens), §5.5 (the sign-in screen), §7 (states,
 * focus ring, accessibility baseline).
 */

/* -------------------------------------------------------------- foundations */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

.pc-html {
  /* Tailwind Preflight sets the app's typeface on <html>; same stack here. */
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
}

.pc-body {
  margin: 0;
  /* §1: 14px / 20px body — Tailwind `text-sm` on <body>. */
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;      /* `antialiased` */
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'rlig' 1, 'calt' 1;
}

/* The signed-out screen: `flex min-h-screen items-center justify-center bg-muted/40 p-6`. */
.pc-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: hsl(var(--muted) / 0.4);
}

/* `w-full max-w-sm rounded-lg border bg-card p-8 shadow-sm` */
.pc-card {
  width: 100%;
  max-width: 24rem;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Pages that carry a body of text rather than a short form (terms, recovery
   codes, OTP setup) need the room; the form pages keep the card width. */
.pc-card.pc-card-wide {
  max-width: 34rem;
}

/* ------------------------------------------------------------------ wordmark */

/* `mb-6 flex items-center gap-3` with the `size-10` primary tile. */
.pc-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pc-brand-mark {
  display: block;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: calc(var(--radius) * 1.5);
}

.pc-brand-name {
  display: block;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}

.pc-brand-sub {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
}

/* -------------------------------------------------------------- page heading */

.pc-card-header {
  display: block;
}

/* §2: one visible title per screen, and it is not a magazine headline. */
#kc-page-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.pc-intro {
  margin: 0 0 1rem;
  color: hsl(var(--muted-foreground));
}

.pc-instruction {
  margin: 0 0 1rem;
}

.pc-instruction:last-child {
  margin-bottom: 0;
}

/* The username Keycloak is mid-flow with, plus its restart link. */
#kc-username {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--muted) / 0.4);
}

#kc-attempted-username {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.pc-subtitle,
.subtitle {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
}

.required {
  color: hsl(var(--destructive));
}

/* ------------------------------------------------------------------- fields */

.pc-form {
  margin: 0;
}

.pc-field {
  margin-bottom: 1rem;
}

.pc-field:last-child {
  margin-bottom: 0;
}

.pc-label,
label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

/* input.tsx: `h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm` */
.pc-input {
  display: block;
  width: 100%;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.pc-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.pc-input[aria-invalid='true'] {
  border-color: hsl(var(--destructive));
}

.pc-input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* One-time codes are digits to compare, not prose. §7: tabular figures. */
#otp,
#recovery-code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

/* §1 / §7: 2px ring, 2px offset, never removed. Two shadows reproduce
   Tailwind's `ring-offset-background` + `ring-ring`. */
.pc-input:focus-visible,
.pc-btn:focus-visible,
.pc-password-toggle:focus-visible,
.pc-authlist-item:focus-visible,
a:focus-visible,
input[type='checkbox']:focus-visible,
input[type='radio']:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px hsl(var(--background)),
    0 0 0 4px hsl(var(--ring));
}

.pc-field-error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--destructive));
}

/* Password field + its show/hide button (Keycloak's own passwordVisibility.js). */
.pc-input-group {
  position: relative;
}

.pc-input-group .pc-input {
  padding-right: 2.75rem;
}

.pc-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* WCAG 2.2 target size; the icon inside is 1rem. */
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}

.pc-password-toggle:hover {
  color: hsl(var(--foreground));
}

/* Checkboxes: remember-me, logout-other-sessions, terms. */
.pc-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pc-check label,
.checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-weight: 400;
  line-height: 1.25rem;
}

.pc-check input[type='checkbox'],
.checkbox input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: hsl(var(--primary));
}

/* ------------------------------------------------------------------ actions */

/* button.tsx: `h-10 px-4 py-2 rounded-md text-sm font-medium`, gap-2. */
.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms, color 150ms;
}

.pc-btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.pc-btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.pc-btn-outline {
  border-color: hsl(var(--input));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.pc-btn-outline:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.pc-btn-block {
  width: 100%;
}

.pc-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* login-page-expired.ftl renders its two routes out as links, because they are
   navigations, not form submissions. They must not pick up the link underline. */
a.pc-btn:hover,
a.pc-btn:focus {
  text-decoration: none;
}

/* SignInScreen stacks its buttons `flex flex-col gap-2`. */
.pc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pc-actions-row {
  flex-direction: row;
}

.pc-actions-row .pc-btn {
  flex: 1;
}

.pc-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.pc-options:empty {
  display: none;
}

.pc-options-wrap {
  margin-left: auto;
}

/* button.tsx `variant="link"`: text-primary, underline on hover, offset-4. */
a {
  color: hsl(var(--primary));
  text-decoration: none;
  text-underline-offset: 4px;
  border-radius: var(--radius);
}

a:hover {
  text-decoration: underline;
}

.pc-footer-link {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  text-align: center;
}

#kc-info,
.pc-info {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
}

#kc-info a,
.pc-info a {
  color: hsl(var(--primary));
}

/* ------------------------------------------------------------------- alerts */

/*
 * §7 status classes are roles, not hues. The tints match the app's own boxes:
 * SignInScreen's error box is `border-destructive/40 bg-destructive/5`, the
 * supplier warning box is `border-warning/40 bg-warning/10`.
 */
.pc-alert {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.pc-alert-title {
  overflow-wrap: anywhere;
}

.alert-error {
  border-color: hsl(var(--destructive) / 0.4);
  background-color: hsl(var(--destructive) / 0.05);
}

.alert-error .pc-icon {
  color: hsl(var(--destructive));
}

.alert-warning {
  border-color: hsl(var(--warning) / 0.4);
  background-color: hsl(var(--warning) / 0.1);
}

.alert-warning .pc-icon {
  color: hsl(var(--warning));
}

.alert-success {
  border-color: hsl(var(--success) / 0.4);
  background-color: hsl(var(--success) / 0.1);
}

.alert-success .pc-icon {
  color: hsl(var(--success));
}

.alert-info {
  border-color: hsl(var(--info) / 0.4);
  background-color: hsl(var(--info) / 0.1);
}

.alert-info .pc-icon {
  color: hsl(var(--info));
}

/* ------------------------------------------------------- authenticator lists */

/* "Choose how to sign in", and the OTP-credential picker when a user has
   more than one authenticator: rows, not cards. */
.pc-authlist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pc-authlist-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}

.pc-authlist-item:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.pc-authlist-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.pc-authlist-heading {
  display: block;
  font-weight: 500;
}

.pc-authlist-desc {
  display: block;
  color: hsl(var(--muted-foreground));
}

.pc-authlist-fill {
  flex: 1;
}

.pc-otp-item {
  display: flex;
  margin-bottom: 0.5rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-weight: 400;
}

.pc-otp-input {
  margin-right: 0.5rem;
  accent-color: hsl(var(--primary));
}

/* ---------------------------------------------------------- social providers */

.pc-social {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.pc-social h2 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
}

.pc-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-weight: 500;
}

.pc-social-button:hover {
  background-color: hsl(var(--accent));
  text-decoration: none;
}

.pc-social-button[aria-disabled='true'],
.pc-social-disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* ---------------------------------------------------------------- long text */

#kc-terms-text {
  max-height: 22rem;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--muted) / 0.4);
}

#kc-terms-text p:first-child {
  margin-top: 0;
}

#kc-terms-text p:last-child {
  margin-bottom: 0;
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* ---------------------------------------------------------------- language */

#kc-locale {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

#kc-locale ul {
  margin: 0.25rem 0 0;
  padding: 0.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--popover));
  list-style: none;
}

#kc-locale li a {
  display: block;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius);
  color: hsl(var(--popover-foreground));
}

#kc-locale li a:hover {
  background-color: hsl(var(--accent));
  text-decoration: none;
}

#kc-current-locale-link {
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  background: transparent;
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

/* ------------------------------------------------------------------- icons */

/*
 * Masked SVGs rather than an icon font: the stock theme pulls FontAwesome and
 * PatternFly, which is most of what makes it look like different software.
 * The paths are the app's icon set (lucide). `currentColor` via mask keeps
 * them theme-aware.
 */
.pc-icon {
  display: inline-block;
  flex: none;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.pc-icon-eye {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.pc-icon-eye-off {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cpath d='m1 1 22 22'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cpath d='m1 1 22 22'/%3E%3C/svg%3E");
}

.pc-icon-alert {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.pc-icon-info {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}

.pc-icon-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
}

.pc-icon-restart {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------- inherited fragments */

/*
 * Wrappers and hints that only appear on pages coming straight from `base`
 * (OTP setup, recovery codes, WebAuthn, IdP linking). They need no layout of
 * their own — the card and the field rhythm already do the work — but the ones
 * below would otherwise inherit a browser default that fights it.
 */
.pc-label-wrap,
.pc-input-wrap,
.pc-content,
.pc-info-wrap,
.pc-field-settings {
  min-width: 0;
}

.pc-hint {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
}

.pc-recovery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--muted) / 0.4);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  list-style-position: inside;
}

.pc-social-name {
  overflow-wrap: anywhere;
}

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

/* QR codes and any other image a base template drops in. */
#kc-content img {
  max-width: 100%;
  height: auto;
}

/* Screen-reader-only, for labels the design carries visually. */
.pc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Small screens: the card fills the width and loses its inset. */
@media (max-width: 30rem) {
  .pc-page {
    padding: 1rem;
    align-items: flex-start;
  }

  .pc-card {
    padding: 1.5rem;
  }
}
