/* Office sign-in (P04 M0-21; design s28, office half), matched to the current Canva slide 28
   (design DAHVzyhxuZ4; 11 Nov 2026). From 1280 px the page is the slide's 1920 × 1080 frame (the
   office root zoom scales it between 1280 and 1919 px), mirrored for RTL by logical insets: the
   venue photo (1145 × 772 at 248, 178); the olive panel over it (552 × 801 at 108, 108, radius 4)
   with "Login to your account" 24 px centred 92 px down; labels 21.33 px white; 66-tall inputs with
   a 1 px white line (radius 4) and 17.33 px white placeholders; the 19 px "Remember me" box; the
   white 66-tall button (1 px olive line, 21.33 px black) 97 px off the panel's bottom; the logo
   (175 × 139) 108 px from the opposite edge; the copyright 13.33 px, centred at y 972. Narrower
   screens stack the same parts. Design-system tokens and logical properties only. */
.rf-shell--auth { background: var(--surface-card); }
.rf-shell--auth .rf-content { padding: 0; gap: 0; }
.rf-login { position: relative; inline-size: 100%; min-block-size: 100dvh; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding: var(--space-4); }
.rf-login-lang { align-self: flex-end; }
.rf-login-logo { inline-size: 120px; block-size: auto; }
.rf-login-stage { position: relative; inline-size: 100%; max-inline-size: 552px; }
.rf-login-photo { display: none; }
.rf-login-panel { position: relative; display: flex; flex-direction: column; padding: 48px 28px 72px; border-radius: 4px; background: var(--olive); color: var(--on-olive); }
.rf-login-panel h1 { margin: 0 0 48px; text-align: center; font: 400 24px/48px var(--font-sans); color: inherit; }
.rf-login-panel h1:has(+ .rf-banner) { margin-block-end: 24px; }
.rf-login-panel .rf-banner { margin-block-end: 28px; border-radius: 4px; }
.rf-login-form { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rf-login-field { display: flex; flex-direction: column; gap: 14px; }
.rf-login-field label { font: 400 21.33px/30px var(--font-sans); }
.rf-login-field input {
  block-size: 66px; padding-inline: 20px; border-radius: 4px; border: 1px solid var(--on-olive);
  background: transparent; color: var(--on-olive); caret-color: var(--on-olive); font: 400 17.33px/24px var(--font-sans);
}
.rf-login-field input::placeholder { color: var(--on-olive); opacity: 1; }
.rf-login-field input:focus { outline: 2px solid var(--on-olive); outline-offset: 2px; }
.rf-login-field input:-webkit-autofill { -webkit-text-fill-color: var(--on-olive); box-shadow: 0 0 0 100px var(--olive) inset; }
.rf-login-remember { display: flex; align-items: center; gap: 10px; margin-block-start: 10px; }
.rf-login-remember input {
  flex: none; appearance: none; inline-size: 19px; block-size: 19px; margin: 0;
  border: 1px solid var(--on-olive); border-radius: 4px; background: transparent; cursor: pointer;
  display: grid; place-content: center;
}
.rf-login-remember input::after {
  content: ""; inline-size: 5px; block-size: 10px; margin-block-start: -2px;
  border: solid var(--olive); border-width: 0 2px 2px 0; transform: rotate(45deg); visibility: hidden;
}
.rf-login-remember input:checked { background: var(--on-olive); }
.rf-login-remember input:checked::after { visibility: visible; }
.rf-login-remember label { font: 400 21.33px/30px var(--font-sans); cursor: pointer; }
.rf .rf-login-panel :focus-visible { outline: 2px solid var(--on-olive); outline-offset: 2px; }
.rf-login-submit {
  margin-block-start: 40px; block-size: 66px; border: 1px solid var(--olive); border-radius: 4px;
  background: var(--surface-card); color: #000; /* the slide's pure black */ font: 400 21.33px/30px var(--font-sans); cursor: pointer;
}
.rf-login-submit:hover { background: var(--surface-tint); }
.rf-login-help { position: absolute; inset-inline: 28px; inset-block-end: 20px; margin: 0; text-align: center; font: 400 13px/17px var(--font-sans); color: var(--on-olive); opacity: .85; }
.rf-login-foot { margin: 0; text-align: center; font: 400 13.33px/18px var(--font-sans); color: #000; /* the slide's pure black */ }
:root[data-theme="dark"] .rf-login-foot { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rf-login-foot { color: var(--ink); } }

/* From 1280 px: the slide's frame, every part at its measured place. */
@media (min-width: 1280px) {
  .rf-shell--auth .rf-content { overflow-x: clip; }
  .rf-login { display: block; inline-size: 1920px; block-size: 1080px; min-block-size: 0; margin: auto; padding: 0; flex: none; }
  .rf-login-lang { position: absolute; inset-inline-start: 108px; inset-block-start: 44px; }
  .rf-login-logo { position: absolute; inset-inline-end: 108px; inset-block-start: 109px; inline-size: 175px; block-size: 139px; object-fit: contain; }
  .rf-login-stage { position: static; max-inline-size: none; }
  /* The 4:3 venue photo, its top edge kept (the slide shows the beams and lamps). */
  .rf-login-photo { display: block; position: absolute; inset-inline-start: 248px; inset-block-start: 178px; inline-size: 1145px; block-size: 772px; background: var(--surface-tint) url("/assets/img/signin-venue.jpg") center top / cover no-repeat; }
  /* The slide's logo is the drawing alone: crop the PNG's transparent margins (x 199–882, y 37–544 of 900 × 830). */
  .rf-login-logo { object-view-box: inset(4.458% 2% 34.458% 22.111%); }
  /* Labels: the text centred in a 43 px line, 5 px in (s28 "Mobile" at x 174); inputs 1 px under
     their label (y 392 and 504), the text 4 px inside the line. */
  .rf-login-field { gap: 1px; }
  .rf-login-field label { line-height: 43px; padding-inline-start: 5px; }
  .rf-login-field + .rf-login-field label { margin-block-end: -4px; }
  .rf-login-field input { padding-inline: 4px; }
  /* "Remember me": the 43 px label line at y 580, the 19 px box 9 px down it, the words 5 px after. */
  .rf-login-remember { align-items: flex-start; gap: 0; margin-block-start: 4px; }
  .rf-login-remember input { margin-block-start: 9px; }
  .rf-login-remember label { line-height: 43px; padding-inline-start: 5px; }
  .rf-login-panel { position: absolute; z-index: 1; inset-inline-start: 108px; inset-block-start: 108px; inline-size: 552px; block-size: 801px; padding-block: 92px 97px; padding-inline: 61px 79px; }
  .rf-login-panel h1 { margin-block: 0 100px; margin-inline: -12px 12px; }
  .rf-login-submit { margin-block-start: auto; margin-inline: 7px -7px; }
  .rf-login-help { inset-inline: 61px 79px; inset-block-end: 30px; }
  .rf-login-foot { position: absolute; inset-inline-start: 588px; inset-block-start: 972px; inline-size: 745px; }
}
.rf-auth-form, .rf-form { display: flex; flex-direction: column; gap: var(--space-4); }
.rf-form { max-inline-size: 480px; }
.rf-form-error { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--danger-soft); color: var(--danger); font: 600 14px/20px var(--font-sans); }
.rf-form-ok { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-tint); color: var(--olive); font: 600 14px/20px var(--font-sans); }
.rf-form-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-end; }
.rf-form-note { margin: 0; color: var(--ink-muted); font: 400 13px/18px var(--font-sans); }
.rf-signout { display: flex; justify-content: flex-end; }

/* The audit viewer (P03 M0-24; P08 DS-01): filters in a grid of Fields, the table below. */
.rf-audit { display: grid; gap: var(--space-5); }
.rf-audit-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: var(--space-3) var(--space-4); align-items: end; }
.rf-audit-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.rf-audit-form .rf-audit-actions { grid-column: 1 / -1; }
.rf-audit .rf-table td { vertical-align: top; overflow-wrap: anywhere; }
