/* vFileLock in VOIMAR's one app frame (15 Nov 2026; modules/gpg/nav.py, templates/_gpg_nav.html). appframe.css (the synced kit copy) draws
   the frame; this file only gives it vFileLock's colour (VOIMAR red #CC0000 since 27 Nov 2026, was Cipher Purple #581C87), light and dark, the skip link and the
   account area. Loaded after gpg.css, so the frame's own links keep their colours over gpg.css's link colours. */
.vfl { --vf-accent: #CC0000; --vf-menu: #CC0000; --vf-menu-text: #fff; --vf-page: var(--bg); --vf-card: var(--bg); --vf-line: var(--line);
  --vf-text: var(--ink); --vf-muted: var(--muted); }
body.vf-body { display: block; min-height: 100dvh; }
.vfl .vf-main { max-width: 900px; padding-top: 18px; }
.vfl .vf-main:focus { outline: none; }

/* skip link: the first thing a keyboard reaches, shown when focused */
.vfl-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: #CC0000;
  font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 10px rgb(0 0 0 / .3); }
.vfl-skip:focus { top: 8px; outline: 3px solid #5b7390; outline-offset: 2px; }

/* top bar: the vFileLock tile (purple on purple: a white edge, as before), name and section; white controls on the purple */
.vfl .vfl-brand { display: inline-flex; flex: none; border-radius: 10px; }
.vfl .vf-top .vf-logo { width: 36px; min-width: 36px; box-shadow: 0 0 0 2px #fff; }
.vfl .vf-top .vf-name b { font-size: 18px; }
.vfl.vf-solid .vf-top a, .vfl.vf-solid .vf-top a:visited { color: #fff; text-decoration: none; }
.vfl .vf-top .vf-user { font-size: 13px; }
.vfl .vf-top a.vf-user:hover, .vfl .vf-top .vf-btn:hover { background: rgb(255 255 255 / .22); }
.vfl .vf-top .vf-btn[aria-current="page"] { background: rgb(255 255 255 / .24); }
.vfl .vfl-brand:focus-visible, .vfl .vf-top a.vf-user:focus-visible, .vfl .vf-fold > summary:focus-visible, .vfl .vfl-account a:focus-visible {
  outline: 3px solid #fff; outline-offset: 2px; }

/* the menu: the frame's link colours win over gpg.css (light and dark) */
.vfl .vf-drawer a, .vfl .vf-drawer a:visited { color: inherit; }
.vfl .vf-tabs a, .vfl .vf-tabs a:visited { color: #d1d5db; }
.vfl .vf-tabs a[aria-current="page"] { color: #fff; }
.vfl .vf-drawer .vf-fold > summary { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }

/* the account area at the foot of the menu: who is signed in, My Subscription, Sign out */
.vfl .vfl-account { word-break: normal; overflow-wrap: anywhere; font-size: 13px; line-height: 1.45; opacity: 1; }
.vfl .vfl-account .vfl-who-label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.vfl .vfl-account b { display: block; margin-bottom: 8px; }
.vfl .vfl-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.vfl .vf-drawer:not(.vf-own) .vfl-acts a:not(.vf-fold a) { display: inline-flex; min-height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid rgb(255 255 255 / .4);
  font-size: 13px; text-transform: none; letter-spacing: 0; }
.vfl .vf-drawer .vfl-acts a[aria-current="page"] { background: rgb(255 255 255 / .18); }

/* the footer line under the page */
.vfl .vf-foot a { color: var(--vf-muted); }

@media (max-width: 1023.98px) { .vfl .vf-top { gap: 8px; } }
@media (max-width: 420px) { .vfl .vf-top { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .vfl .vf-top .vf-btn, .vfl .vf-top .vf-user { min-width: 38px; height: 38px; padding: 0 8px; } }
@media print { .vf-top, .vf-foot, .vfl-skip { display: none !important; } .vfl .vf-main { padding: 0; max-width: none; } }
/* The version and refresh on the purple top bar (app kit 2.36.0): white text, and the "update to vX" cue in amber, as vKONNECTOR does on its
   coloured bar, because the kit's grey and VOIMAR red do not show on purple. */
.vfl .vf-top .vf-version { --voimar-version-color: #ffffff; --voimar-update-color: #FFD60A; }

/* vFileLock 1.2.0, the header standard (app kit 2.51.0; Leonard, 27 Nov 2026: "Left menu must use the platform logo"): vFileLock's tile,
   centred at the top of the menu drawer at the kit's 64 px (the height of the VOIMAR logo on the Super Admin side). The tile brings its own
   red, so on the light app colours it keeps its colours (the kit draws white marks black there). */
.vfl .vf-drawer .vf-banner.vf-banner--tile img { height: 64px; width: 64px; border-radius: 14px; box-shadow: 0 6px 18px rgb(0 0 0 / .28); }
.vfl.vf-root[data-vf-theme] .vf-top .vf-logo, .vfl.vf-root[data-vf-theme] .vf-banner.vf-banner--tile img { filter: none; }
.vfl .vfl-signin { margin-left: auto; }
.vfl .vfl-signin + .vf-cluster { margin-left: 0; }
