@charset "UTF-8";
/* LEGALITY OS v88 — The Future Paralegals of America A NJ Non-Profit Corporation */
#los88, #los88-rec, .l8-modal {
  --ink: #07131D; --slate: #0D1D2A; --raise: #122636; --raise2: #17304A; --line: #1E3446; --line2: #2A4660;
  --text: #E6EEF4; --mute: #8DA4B6; --dim: #5F7A8F;
  --accent: #36D6E7; --accent-ink: #032A30; --gold: #E9B44C; --ok: #4FD1A1; --bad: #FF6B6B; --info: #8FB8FF;
  --hub: var(--accent);
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-family: var(--sans); color: var(--text); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
#los88 *, #los88-rec *, .l8-modal * { box-sizing: border-box; }
#los88 { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: var(--ink); }
#los88-rec { position: fixed; inset: 0; z-index: 2147483001; background: var(--ink); display: flex; flex-direction: column; animation: l8-in .18s ease-out; }
@keyframes l8-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #los88-rec, .l8-modal { animation: none !important; } }

#los88 button, #los88-rec button, .l8-modal button { font: inherit; color: inherit; cursor: pointer; }
#los88 :focus-visible, #los88-rec :focus-visible, .l8-modal :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* rail */
.l8-rail { background: #050E16; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: stretch; padding: 14px 8px; gap: 4px; }
.l8-mark { font-family: var(--serif); font-weight: 700; font-size: 22px; text-align: center; color: var(--accent); padding: 4px 0 14px; letter-spacing: -0.5px; }
.l8-rail button { background: none; border: 0; border-radius: 10px; padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--mute); font-size: 10.5px; }
.l8-rail button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.l8-rail button:hover { background: var(--slate); color: var(--text); }
.l8-rail button[aria-current="page"] { background: var(--raise); color: var(--accent); }
.l8-rail .l8-spacer { flex: 1; }

/* main */
.l8-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 1; overflow: hidden; }
.l8-top { min-height: 48px; display: flex; align-items: center; gap: 14px; padding: 6px 28px; border-bottom: 1px solid var(--line); background: #091723; flex-wrap: wrap; }
.l8-org { font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l8-top .l8-grow { flex: 1; }
.l8-body { flex: 1; overflow: auto; padding: 28px 32px 48px; }
.l8-body.l8-flush { padding: 0; display: flex; overflow: hidden; }

/* type */
.l8-h1 { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -0.4px; margin: 0; }
.l8-h2 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 0 0 12px; }
.l8-h3 { font-size: 13px; font-weight: 600; color: var(--text); margin: 0 0 10px; }
.l8-sub { color: var(--mute); margin: 6px 0 0; max-width: 70ch; }
.l8-small { font-size: 12px; color: var(--mute); }
.l8-key { font-family: var(--mono); font-size: 12px; letter-spacing: .3px; }

/* controls */
.l8-btn { border: 1px solid var(--line2); background: var(--raise); border-radius: 8px; padding: 8px 14px; font-weight: 500; white-space: nowrap; }
.l8-btn:hover { border-color: var(--accent); }
.l8-btn.pri { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.l8-btn.pri:hover { filter: brightness(1.08); }
.l8-btn.ghost { background: transparent; }
.l8-btn.danger { color: var(--bad); border-color: #5a2a2a; background: transparent; }
.l8-btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.l8-btn[disabled] { opacity: .5; cursor: not-allowed; }
.l8-input, .l8-select, .l8-textarea { color-scheme: dark; width: 100%; background: #081521; border: 1px solid var(--line2); color: var(--text); border-radius: 7px; padding: 9px 11px; font: inherit; }
.l8-textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.l8-input:focus, .l8-select:focus, .l8-textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(54,214,231,.15); }
.l8-field { display: flex; flex-direction: column; gap: 6px; }
.l8-field > span { font-size: 12px; color: var(--mute); }
.l8-field > span b { color: var(--gold); font-weight: 600; }
.l8-field .l8-hint { font-size: 11px; color: var(--dim); }
.l8-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px 18px; }
.l8-form .l8-wide { grid-column: 1 / -1; }
.l8-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.l8-search { max-width: 340px; }

/* chips */
.l8-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; background: var(--raise); border: 1px solid var(--line2); white-space: nowrap; }
.l8-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--hub); display: inline-block; font-style: normal; }
.l8-chip.warn { color: var(--gold); border-color: #5b4515; background: #1d1708; }
.l8-chip.bad { color: var(--bad); border-color: #5a2a2a; background: #1e0d0d; }
.l8-chip.info { color: var(--info); border-color: #233d63; }
.l8-chip.ok { color: var(--ok); border-color: #1d4a3b; }
.l8-chip.fed { color: #cfe0ff; border-color: #2c4a7a; background: #0e1b30; }
.l8-chip.fpoa { color: var(--accent); border-color: #1c4a52; background: #072027; }

/* tables */
.l8-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--slate); }
.l8-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.l8-table th { text-align: left; font-weight: 500; color: var(--mute); font-size: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0B1A26; position: sticky; top: 0; }
.l8-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.l8-table tr:last-child td { border-bottom: 0; }
.l8-table tbody tr[data-open] { cursor: pointer; }
.l8-table tbody tr[data-open]:hover td { background: var(--raise); }
.l8-name { font-weight: 600; }
.l8-num { font-variant-numeric: tabular-nums; }

/* meters */
.l8-meter { width: 90px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; display: inline-block; vertical-align: middle; }
.l8-meter > b { display: block; height: 100%; background: var(--hub); border-radius: 3px; }
.l8-track { display: flex; gap: 3px; min-width: 120px; }
.l8-track span { flex: 1; height: 6px; border-radius: 2px; background: var(--line); }
.l8-track span.on { background: var(--hub); }
.l8-track span.now { background: var(--hub); box-shadow: 0 0 0 2px rgba(255,255,255,.18); }

/* hub hero */
.l8-hero { display: grid; grid-template-columns: 6px 1fr auto; gap: 0 22px; align-items: start; margin-bottom: 26px; }
.l8-hero .l8-band { align-self: stretch; border-radius: 3px; background: var(--hub); }
.l8-hero .l8-agency-name { color: var(--mute); font-size: 13px; margin-bottom: 4px; }
.l8-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 22px; background: var(--slate); }
.l8-stat { padding: 16px 18px; border-right: 1px solid var(--line); }
.l8-stat:last-child { border-right: 0; }
.l8-stat .v { font-family: var(--serif); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.l8-stat .k { font-size: 12px; color: var(--mute); margin-top: 4px; }
.l8-stat.warn .v { color: var(--gold); } .l8-stat.bad .v { color: var(--bad); }
.l8-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-bottom: 22px; }
.l8-panel { background: var(--slate); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.l8-bars { display: flex; flex-direction: column; gap: 8px; }
.l8-bar { display: grid; grid-template-columns: minmax(110px, 38%) 1fr 34px; gap: 10px; align-items: center; font-size: 12.5px; }
.l8-bar .lab { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l8-bar .tr { height: 10px; background: #0A1822; border-radius: 3px; overflow: hidden; }
.l8-bar .tr b { display: block; height: 100%; background: var(--hub); border-radius: 3px; min-width: 2px; }
.l8-bar .n { text-align: right; font-variant-numeric: tabular-nums; }
.l8-empty { border: 1px dashed var(--line2); border-radius: 12px; padding: 34px; text-align: center; color: var(--mute); }
.l8-empty .l8-h2 { color: var(--text); }

/* tabs */
.l8-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.l8-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; color: var(--mute); white-space: nowrap; }
.l8-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--hub); }
.l8-hubtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.l8-hubtabs button { border: 1px solid var(--line2); background: var(--slate); border-radius: 999px; padding: 7px 14px 7px 10px; display: inline-flex; align-items: center; gap: 8px; }
.l8-hubtabs button i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.l8-hubtabs button[aria-selected="true"] { background: var(--raise2); border-color: var(--hub); }

/* agency layout */
.l8-agency { display: grid; grid-template-columns: 250px 1fr; height: 100%; width: 100%; }
.l8-agency-list { border-right: 1px solid var(--line); background: #091723; overflow-y: auto; padding: 18px 10px; }
.l8-agency-list .l8-small { padding: 0 10px 10px; }
.l8-agency-list button { width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: 4px 1fr auto; gap: 10px; align-items: center; }
.l8-agency-list button i { align-self: stretch; border-radius: 2px; }
.l8-agency-list button b { font-weight: 600; display: block; }
.l8-agency-list button span { font-size: 11.5px; color: var(--mute); }
.l8-agency-list button:hover { background: var(--slate); }
.l8-agency-list button[aria-current="true"] { background: var(--raise); }
.l8-agency-main { overflow: auto; padding: 28px 32px 48px; }

/* docs list */
.l8-doc { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.l8-doc:last-child { border-bottom: 0; }
.l8-doc .t { font-weight: 500; }
.l8-doc .m { margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.l8-guides li { margin-bottom: 10px; color: #cfdbe5; max-width: 80ch; }

/* record editor */
.l8-rec-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 16px 28px; border-bottom: 1px solid var(--line); background: #091723; }
.l8-rec-head .l8-h1 { font-size: 28px; }
.l8-rec-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.l8-assign { display: flex; gap: 10px; align-items: center; padding: 12px 28px; border-bottom: 1px solid var(--line); background: #0A1925; flex-wrap: wrap; }
.l8-assign .l8-select { width: auto; max-width: 320px; }
.l8-rec-body { flex: 1; overflow: auto; padding: 22px 28px 60px; }
.l8-rec-cols { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
@media (max-width: 1100px) { .l8-rec-cols { grid-template-columns: 1fr; } }
.l8-aside { background: var(--slate); border: 1px solid var(--line); border-radius: 12px; padding: 18px; align-self: start; position: sticky; top: 0; }
.l8-mandate { border-left: 3px solid var(--hub); padding: 10px 14px; background: var(--slate); border-radius: 0 10px 10px 0; margin-bottom: 18px; color: #d6e2ec; }
.l8-ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--hub) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; }
.l8-ring > div { width: 76px; height: 76px; border-radius: 50%; background: var(--slate); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.l8-kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; font-size: 13px; }
.l8-kv dt { color: var(--mute); } .l8-kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.l8-log { list-style: none; padding: 0; margin: 0; }
.l8-log li { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 12px; font-size: 13px; }
.l8-log time { color: var(--mute); font-variant-numeric: tabular-nums; }
.l8-dirty { color: var(--gold); font-size: 12px; }

/* modal & toast */
.l8-modal { position: fixed; inset: 0; z-index: 2147483002; background: rgba(2,8,12,.7); display: grid; place-items: center; padding: 20px; animation: l8-in .15s ease-out; }
.l8-modal > div { background: var(--slate); border: 1px solid var(--line2); border-radius: 14px; width: min(760px, 100%); max-height: 86vh; overflow: auto; padding: 24px; }
.l8-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2147483003; background: #0B2230; border: 1px solid var(--accent); color: #fff; padding: 10px 18px; border-radius: 10px; font: 13px/1.4 'IBM Plex Sans', system-ui, sans-serif; box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.l8-launch { position: fixed; right: 16px; bottom: 16px; z-index: 99990; display: flex; gap: 4px; background: #0D1D2A; border: 1px solid #36D6E7; border-radius: 12px; padding: 6px; }
.l8-launch button { background: none; border: 0; color: #36D6E7; font: 600 12.5px 'IBM Plex Sans', system-ui, sans-serif; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.l8-launch button:hover { background: #12293a; }

/* studio */
.l8-studio { display: grid; grid-template-columns: 320px 1fr; height: 100%; width: 100%; }
.l8-studio-side { border-right: 1px solid var(--line); background: #091723; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.l8-studio-paper-wrap { overflow: auto; padding: 36px; display: flex; justify-content: center; background: #0A141D; }
.l8-paper { background: #fff; color: #111; width: 8.5in; min-height: 11in; padding: 0.9in 1in; box-shadow: 0 12px 40px rgba(0,0,0,.5); font-family: var(--serif); font-size: 12pt; line-height: 1.75; }
.l8-paper .lh { border-bottom: 2px solid #08799D; padding-bottom: 10px; margin-bottom: 24px; }
.l8-paper .lh b { font-family: var(--sans); font-size: 13pt; color: #0E2A3F; display: block; }
.l8-paper .lh span { font-family: var(--sans); font-size: 8.5pt; color: #4A6274; }
.l8-paper .cap { text-align: center; font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }
.l8-paper .parties { display: grid; grid-template-columns: 55% 45%; margin-bottom: 18px; }
.l8-paper .parties > div:first-child { border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 0 16px 12px 0; }
.l8-paper .parties > div:last-child { padding-left: 16px; }
.l8-paper h2 { text-align: center; font-size: 12pt; text-transform: uppercase; margin: 18px 0 14px; }
.l8-paper .bd { white-space: pre-wrap; outline: none; }
.l8-paper .bd:focus { background: #f3fbfd; }
.l8-paper .sig { margin-top: 56px; margin-left: auto; width: 290px; }

@media (max-width: 820px) {
  #los88 { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .l8-rail { order: 2; flex-direction: row; padding: 6px; border-right: 0; border-top: 1px solid var(--line); overflow-x: auto; }
  .l8-mark, .l8-rail .l8-spacer { display: none; }
  .l8-agency, .l8-studio { grid-template-columns: 1fr; }
  .l8-agency-list { max-height: 180px; }
  .l8-body, .l8-agency-main, .l8-rec-body { padding: 18px 16px 40px; }
  .l8-rec-head { grid-template-columns: 1fr; padding: 14px 16px; }
  .l8-hero { grid-template-columns: 6px 1fr; }
  .l8-hero > :last-child { grid-column: 1 / -1; margin-top: 12px; }
}

/* v91 — top menu */
.l8-nav { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 60px; background: #050E16; border-bottom: 1px solid var(--line); flex: none; }
.l8-brand { display: flex; align-items: center; gap: 10px; padding-right: 10px; margin-right: 4px; border-right: 1px solid var(--line); height: 36px; }
.l8-brand img { height: 26px; width: auto; background: #fff; border-radius: 5px; padding: 3px 6px; }
.l8-brand span { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--accent); white-space: nowrap; }
.l8-navlinks { display: flex; gap: 2px; overflow-x: auto; }
.l8-navlinks button, .l8-exit { background: none; border: 0; border-radius: 8px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: 13.5px; white-space: nowrap; }
.l8-navlinks button svg, .l8-exit svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.l8-navlinks button:hover, .l8-exit:hover { background: var(--slate); color: var(--text); }
.l8-navlinks button[aria-current="page"] { background: var(--raise); color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.l8-office { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); }
.l8-office .l8-select { width: auto; min-width: 190px; padding: 7px 10px; }
.l8-exit { border: 1px solid var(--line2); }
.l8-verify { max-width: 900px; }
.l8-vres { border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--line2); }
.l8-vres.ok { border-color: #1d4a3b; background: #08201a; color: #bff3dd; }
.l8-vres.warn { border-color: #5b4515; background: #1d1708; color: #f6dca0; }
.l8-vres.bad { border-color: #5a2a2a; background: #1e0d0d; color: #ffc4c4; }
@media (max-width: 980px) { .l8-nav { height: auto; flex-wrap: wrap; padding: 8px 12px; } .l8-brand { border: 0; } .l8-navlinks { order: 3; width: 100%; } }

/* v95 — hub pickers */
.l8-pickers { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.l8-pick { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--mute); min-width: 240px; }
.l8-pick .l8-select { min-width: 260px; }
.l8-agency.one { grid-template-columns: 1fr; }
a.l8-btn { color: var(--text); }

#los88 .h9-rv, .l8-panel .h9-rv { display: grid; grid-template-columns: 74px 1fr auto auto; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #1d3448; font-size: 13px; }
.l8-panel .h9-rv.ok .h9-rvk { color: #4FD1A1; } .l8-panel .h9-rv.check .h9-rvk { color: #E9B44C; } .l8-panel .h9-rvk { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; }

/* v101 — top menu never overlaps */
.l8-nav { min-width: 0; }
.l8-navlinks { flex: 1 1 auto; min-width: 0; scrollbar-width: none; }
.l8-navlinks::-webkit-scrollbar { display: none; }
.l8-nav > .l8-grow { display: none; }
.l8-office, .l8-exit { flex: none; }
@media (max-width: 1180px) { .l8-brand span, .l8-office > span { display: none; } .l8-navlinks button { padding: 8px 9px; } .l8-navlinks button svg { display: none; } .l8-office .l8-select { min-width: 150px; } }
@media (max-width: 900px) { .l8-navlinks button svg { display: none; } }

/* other scripts' hub screens set aside while LEGALITY OS is open (beats their inline display) */
[data-los-hidden="foreign-overlay"] { display: none !important; }
