@import url("/static/fonts.css");

/* Chambers — paper, ink and brass. Status is blue / amber / oxblood (distinct in lightness too);
   machine-proposed material is violet so it is never mistaken for a lawyer's conclusion. */
:root {
  --paper: #F6F4EF; --panel: #FFFFFF; --panel-2: #FBFAF7; --line: #E4E0D6; --line-2: #EEEAE1;
  /* Text contrast on --paper: ink 15:1, muted 6.9:1, faint 5.8:1, brass-ink 5.6:1 (all above WCAG AA). */
  --ink: #1B2433; --ink-strong: #14213D; --muted: #4A5466; --faint: #566071; --line-strong: #B9B2A3;
  --navy: #14213D; --navy-2: #2A3A5C; --brass: #A8752A; --brass-ink: #7A5C2E; --brass-soft: #FBF7EE; --brass-line: #E4D3B4;
  --slate: #3E4C63; --slate-bg: #EEF0F3;
  --blue: #1F4E8C; --blue-bg: #E6EEF8;
  --amber: #7A4F00; --amber-bg: #FBF1DE;
  --oxblood: #8E2A2A; --oxblood-bg: #F8E6E4;
  --violet: #4A3480; --violet-bg: #EFEAF7; --violet-line: #E3D9F2;
  --highlight: #FCE9B8;
  --radius: 10px; --radius-sm: 8px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font: 15.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
       font-feature-settings: "kern", "liga"; text-rendering: optimizeLegibility; }
table, .stat .n, .mono, .kv dd { font-variant-numeric: tabular-nums; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink-strong); text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink-strong); letter-spacing: -0.01em; margin: 0 0 .5rem; }
h1 { font-size: 31px; line-height: 1.2; } h2 { font-size: 21px; line-height: 1.3; margin-top: 1.25rem; } h3 { font-size: 17px; }
p { margin: .4rem 0 .85rem; }
.prose { font-family: var(--serif); font-size: 17px; line-height: 1.7; color: #232C3B; max-width: 72ch; }
.muted { color: var(--muted); } .small { font-size: 14px; } .mono { font-family: var(--mono); font-size: 13px; }
.nowrap { white-space: nowrap; } .right { text-align: right; }
.eyebrow { font-family: var(--sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); font-weight: 600; }

/* ---------------------------------------------------------------- header */
header.top { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 18px; padding: 0 32px; height: 56px; border-bottom: 2px solid var(--brass); }
header.top a { color: #fff; }
header.top a:hover { text-decoration: none; }
header.top .brand { display: flex; align-items: center; gap: 10px; }
header.top .brand .wm { display: flex; align-items: baseline; gap: 8px; }
.brand-mark { display: block; flex: none; }
header.top .brand b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
header.top .brand .wm span { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #D9B77A; }
header.top .sep { width: 1px; height: 22px; background: #33415E; }
header.top .ws { font-size: 13px; color: #B8C2D6; }
header.top .spacer { flex: 1; }
header.top .nav-link { font-size: 13px; color: #D5DCE8; }
header.top .me { display: flex; align-items: center; gap: 10px; }
header.top .avatar { width: 30px; height: 30px; border-radius: 15px; background: var(--navy-2); color: var(--paper); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
header.top .who { display: flex; flex-direction: column; line-height: 1.2; }
header.top .who b { font-size: 13px; font-weight: 500; }
header.top .who i { font-style: normal; font-size: 10.5px; color: #9AA8C2; text-transform: uppercase; letter-spacing: .08em; }
header.top form { display: inline; margin: 0; }
header.top button { background: transparent; color: #D5DCE8; border: 1px solid #3C4B6B; padding: 0 12px; height: 32px; border-radius: 6px; cursor: pointer; font: inherit; font-size: 12px; }
header.top button:hover { border-color: #6B7A99; color: #fff; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 24px 32px; }
.txnhead { background: var(--panel); border-bottom: 1px solid var(--line); }
.txnhead .wrap { padding-bottom: 0; }
.txnhead .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.txnhead .title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.txnhead h1 { font-size: 32px; margin: 0; }
.txnhead .meta { color: var(--muted); font-size: 14px; margin: .3rem 0 0; }
.cutoff { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--brass-line); background: var(--brass-soft); border-radius: var(--radius-sm); }
.cutoff span { font-size: 11.5px; color: var(--brass-ink); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.cutoff strong { font-family: var(--serif); font-size: 18px; color: var(--ink-strong); font-weight: 600; }
nav.tabs { display: flex; gap: 2px; flex-wrap: wrap; margin-top: 18px; }
nav.tabs a { padding: 10px 14px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap; }
nav.tabs a.on { color: var(--ink-strong); border-bottom-color: var(--brass); font-weight: 600; }
nav.tabs a:hover { text-decoration: none; color: var(--ink-strong); }
/* Away from the overview the deal header is one compact line that stays in view; the section's own tabs sit
   below the sections as a second, lighter row. */
.txnhead.slim { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.txnhead.slim .wrap { padding-top: 12px; }
.txnhead.slim nav.tabs { margin-top: 6px; }
.txnhead.slim nav.tabs a { padding: 8px 14px 9px; }
.txnbar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
.txnbar .txn-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink-strong); }
.txnbar .txn-name:hover { text-decoration: none; color: var(--navy-2); }
.txnbar .txn-target { color: var(--muted); font-size: 14px; }
.txnbar .txn-cutoff { margin-left: auto; font-size: 13px; color: var(--brass-ink); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; white-space: nowrap; }
.txnbar .txn-cutoff strong { font-family: var(--serif); font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink-strong); margin-left: 6px; }
nav.subtabs { background: var(--panel-2); border-top: 1px solid var(--line-2); }
nav.subtabs .wrap { display: flex; gap: 4px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
nav.subtabs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; color: var(--slate); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
nav.subtabs a:hover { background: var(--slate-bg); color: var(--ink-strong); text-decoration: none; }
nav.subtabs a.on { background: var(--navy); color: #fff; font-weight: 600; }
main [id] { scroll-margin-top: 150px; }
@media (max-width: 700px) {
  .txnhead.slim { position: static; }
  nav.tabs.sections, nav.subtabs .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .txnbar .txn-target { display: none; } .txnbar .txn-cutoff { margin-left: 0; }
}

/* ---------------------------------------------------------------- surfaces */
.flash { padding: .7rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid; }
.flash.ok { background: var(--blue-bg); color: var(--blue); border-color: #C9D8EE; }
.flash.err { background: var(--oxblood-bg); color: var(--oxblood); border-color: #EDC9C4; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 20px; }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.panel.dark { background: var(--navy); border-color: var(--navy); color: #E8ECF4; }
.panel.dark h2, .panel.dark h3 { color: #fff; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .g2, .g3, .g4, .split { grid-template-columns: 1fr; } .wrap { padding: 20px 16px; } }

.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; align-self: start; min-height: 104px; }
.stat .l { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 600; order: -1; }
.stat .n { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--ink-strong); }
.stat .n small { font-size: 16px; color: var(--faint); font-weight: 500; }
.stat .sub { font-size: 14px; color: var(--muted); }
.stat.bad .n { color: var(--oxblood); } .stat.warn .n { color: var(--amber); } .stat.ok .n { color: var(--blue); }
.bar { height: 6px; background: #ECE8DF; border-radius: 3px; overflow: hidden; margin-top: 4px; }
.bar > span { display: block; height: 100%; background: var(--blue); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; background: transparent; border-bottom: 1px solid var(--line); }
tbody tr:hover td { background: var(--panel-2); }
td.path { word-break: break-word; }
tr.group td { background: var(--panel-2); font-family: var(--serif); font-weight: 600; color: var(--ink-strong); font-size: 15px; }

/* ---------------------------------------------------------------- badges */
/* Badges carry a status only. They are sentence case whatever the stored value's case. */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--slate-bg); color: var(--slate); white-space: nowrap; line-height: 1.6; vertical-align: 1px; }
.badge::first-letter { text-transform: uppercase; }
.badge.ok { background: var(--blue-bg); color: var(--blue); }
.badge.warn { background: var(--amber-bg); color: var(--amber); }
.badge.bad { background: var(--oxblood-bg); color: var(--oxblood); }
.badge.info, .badge.ai { background: var(--violet-bg); color: var(--violet); }
.sev { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.sev.critical { color: #6E1A1A; } .sev.high { color: var(--oxblood); } .sev.medium { color: var(--amber); } .sev.low { color: var(--faint); }

/* ---------------------------------------------------------------- forms */
form.inline { display: inline; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 12px; }
.form-row > label { flex: 1 1 180px; }
label { display: block; font-size: 13.5px; color: var(--slate); font-weight: 600; }
input:not([type]), input[type=text], input[type=search], input[type=email], input[type=password], input[type=date], input[type=number], select, textarea {
  width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid #CFC9BC; border-radius: var(--radius-sm); font: inherit; font-size: 15.5px; font-weight: 400; color: var(--ink); background: #fff; margin-top: 5px; }
textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 3px solid #D6E2F2; border-color: var(--blue); }
input[type=file] { margin-top: 6px; font-size: 13px; }
/* Buttons, in three tiers. Primary (navy): the one main action of a panel. Secondary (outlined): other actions.
   Ghost (no box): minor actions such as "Change" or a download inside a table. One height everywhere (36px);
   inside tables they are compact (32px). A button never wraps its label and never shrinks. */
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; background: var(--navy); color: #fff;
  border: 1px solid var(--navy); padding: 0 16px; border-radius: var(--radius-sm); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
  cursor: pointer; white-space: nowrap; flex-shrink: 0; vertical-align: middle; text-decoration: none; }
button:hover, .btn:hover { background: #22325A; border-color: #22325A; text-decoration: none; color: #fff; }
button:focus-visible, .btn:focus-visible, .pill-nav a:focus-visible, nav.tabs a:focus-visible, details > summary:focus-visible { outline: 3px solid #9DB7DD; outline-offset: 2px; }
button .ico, .btn .ico { width: 16px; height: 16px; margin-left: -3px; flex-shrink: 0; }
button.secondary, .btn.secondary { background: #fff; color: var(--ink-strong); border-color: var(--line-strong); }
button.secondary:hover, .btn.secondary:hover { background: var(--brass-soft); border-color: var(--brass); color: var(--ink-strong); }
button.ghost, .btn.ghost { background: transparent; border-color: transparent; color: var(--blue); padding: 0 10px; }
button.ghost:hover, .btn.ghost:hover { background: var(--blue-bg); border-color: transparent; color: var(--ink-strong); }
button.accent, .btn.accent { background: var(--brass); border-color: var(--brass); } button.accent:hover, .btn.accent:hover { background: #946622; border-color: #946622; }
button.danger, .btn.danger { background: var(--oxblood); border-color: var(--oxblood); } button.danger:hover { background: #7A2222; border-color: #7A2222; }
button.small, .btn.small { padding: 0 14px; font-size: 13.5px; }
td button, td .btn, .btn.compact, button.compact { min-height: 32px; padding: 0 12px; font-size: 13px; }
td button.ghost, td .btn.ghost, .btn.ghost.compact { padding: 0 8px; }
button:disabled, button:disabled:hover { opacity: .45; cursor: not-allowed; }
button.secondary:disabled:hover { background: #fff; border-color: var(--line-strong); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-row form { margin: 0; display: inline-flex; }
a.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; }
a.more .ico { width: 15px; height: 15px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 14px; }
legend { font-size: 12px; color: var(--slate); font-weight: 600; padding: 0 .3rem; }
.checks label { display: inline-flex; gap: .4rem; align-items: center; color: var(--ink); font-size: 13.5px; margin: .2rem 1.1rem .2rem 0; font-weight: 400; }

/* ---------------------------------------------------------------- content */
.quote { border: 1px solid var(--line); background: var(--panel-2); padding: 14px 18px; margin: 8px 0; white-space: pre-wrap; font-family: var(--serif); font-size: 17px; line-height: 1.7; color: #232C3B; border-radius: var(--radius-sm); max-width: 78ch; }
.quote mark, .pagetext mark { background: var(--highlight); box-shadow: 0 0 0 2px var(--highlight); border-radius: 2px; color: inherit; }
.callout { border-radius: var(--radius-sm); padding: 12px 16px; margin: 8px 0 16px; border: 1px solid; }
.callout.warn { background: var(--amber-bg); color: #5C3B00; border-color: #EBD5A8; }
.callout.bad { background: var(--oxblood-bg); color: #6B2419; border-color: #EDC9C4; }
.callout.info { background: var(--brass-soft); color: #5C4520; border-color: var(--brass-line); }
.callout.ok { background: var(--blue-bg); color: #1B3E6B; border-color: #C9D8EE; }
.callout.ai { background: #F7F3FC; color: #3F2D6B; border-color: var(--violet-line); }
.pagetext { white-space: pre-wrap; font-family: var(--serif); font-size: 17px; line-height: 1.75; color: #232C3B; background: #FFFEFB; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 28px; max-height: 680px; overflow: auto; max-width: 80ch; }
.pagetext.sheet { font-family: var(--mono); font-size: 13.5px; line-height: 1.65; max-width: none; }
.sheet-wrap { overflow: auto; max-height: 70vh; }
.sheet-table { border-collapse: collapse; font-size: 13px; }
.sheet-table td { border: 1px solid var(--line); padding: 2px 6px; white-space: nowrap; }
.sheet-table tr:first-child td { position: sticky; top: 0; background: var(--panel-2); font-weight: 600; }
.sheet-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.page { margin-bottom: 18px; scroll-margin-top: 16px; }
.page .pagehead { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; font-size: 12.5px; }
.page .pagehead strong { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); }
.page.focus .pagetext { outline: 2px solid var(--brass); }
pre.json { white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 12px; background: var(--panel-2); border: 1px solid var(--line); padding: 14px; border-radius: var(--radius-sm); max-height: 520px; overflow: auto; }
details > summary { cursor: pointer; color: var(--blue); font-weight: 500; }
details[open] > summary { margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--faint); } .kv dd { margin: 0; word-break: break-word; }
.login { max-width: 420px; margin: 10vh auto; }
.login h1 { font-size: 28px; }
.empty { color: var(--faint); padding: 8px 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #D6D0C3; background: var(--panel); color: var(--slate); font-size: 14px; font-weight: 500; white-space: nowrap; }
.pill-nav a.muted { color: var(--faint); }
.pill-nav a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill-nav a:hover { text-decoration: none; border-color: var(--line-strong); color: var(--ink-strong); }
.pill-nav a.on:hover { color: #fff; }
.pill-nav a .count { margin-left: 8px; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #EFEBE2; color: var(--slate); font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.pill-nav a.muted .count { color: var(--faint); background: #F4F1EA; }
.pill-nav a.on .count { background: rgba(255,255,255,.18); color: #fff; }
.list-row { display: grid; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #E0A15A; margin-right: 8px; vertical-align: middle; }
.dot.soft { background: #8FA4C8; }
.readiness { display: flex; flex-direction: column; gap: 12px; }
.readiness .big { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; }
.readiness .eyebrow { color: #D9B77A; }
.minigrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini { padding: 12px 14px; border-radius: var(--radius-sm); }
.mini b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.mini span { font-size: 12px; }
.mini.ai { background: #F3EFF9; color: var(--violet); } .mini.ok { background: #EAF0F8; color: var(--blue); }
.mini.warn { background: #FBF4E6; color: var(--amber); } .mini.neutral { background: #F1F2F4; color: var(--slate); }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 12px; display: flex; gap: 8px; }
.choice { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #CFC9BC; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--slate); cursor: pointer; background: #fff; }
.choice:has(input:checked) { border: 2px solid var(--blue); background: #EEF3FA; color: var(--ink-strong); font-weight: 600; }
a.mini:hover { text-decoration: none; filter: brightness(.97); }
input[type=file]::file-selector-button { font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-strong); background: #fff; border: 1px solid #CFC9BC; border-radius: 6px; padding: 7px 12px; margin-right: 10px; cursor: pointer; }
input[type=file]::file-selector-button:hover { background: var(--panel-2); }

/* ---------------------------------------------------------------- auth */
body.auth { background: var(--paper); }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; }
.auth-brand { background: var(--navy); color: #E8ECF4; padding: 40px 48px; display: flex; flex-direction: column; border-right: 3px solid var(--brass); }
.auth-brand .brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.auth-brand .brand .brand-mark { width: 32px; height: auto; }
.auth-brand .brand .wm { display: flex; align-items: baseline; gap: 8px; }
.auth-brand .brand:hover { text-decoration: none; }
.auth-brand .brand b { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.auth-brand .brand .wm span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #D9B77A; }
.auth-pitch { margin-top: auto; margin-bottom: auto; max-width: 440px; }
.auth-pitch h2 { color: #fff; font-size: 32px; line-height: 1.2; margin: 0 0 20px; }
.auth-pitch ul { margin: 0; padding: 0; list-style: none; }
.auth-pitch li { padding: 11px 0 11px 22px; border-top: 1px solid #2A3A5C; position: relative; font-size: 16.5px; line-height: 1.5; color: #D5DCE8; }
.auth-pitch li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 4px; background: var(--brass); }
.auth-foot { font-size: 12.5px; color: #9AA8C2; margin: 0; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 32px; margin: 6px 0 10px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.auth-form label { font-size: 14px; }
.auth-form .hint { display: block; font-weight: 400; color: var(--faint); font-size: 13px; margin-top: 5px; }
.auth-form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); line-height: 1.45; }
.auth-form label.check input { margin-top: 3px; }
.right-link { float: right; font-weight: 500; }
button.wide { width: 100%; min-height: 46px; font-size: 15px; }
.auth-alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.auth-inline { margin-top: 12px; }
.ws-switch select { min-height: 32px; margin: 0; padding: 4px 10px; background: var(--navy-2); color: #fff; border-color: #3C4B6B; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .auth-shell { grid-template-columns: 1fr; } .auth-brand { padding: 24px; } .auth-pitch { display: none; } }

/* Original-page preview: page images with passage highlights */
.viewtoggle { display: inline-flex; border: 1px solid #CFC9BC; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.viewtoggle a, .viewtoggle span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; color: var(--muted); font-weight: 500; font-size: 14px; }
.viewtoggle a + a, .viewtoggle span + a { border-left: 1px solid #CFC9BC; }
.viewtoggle a:hover { text-decoration: none; color: var(--ink-strong); background: var(--panel-2); }
.viewtoggle a.on { background: var(--navy); color: #fff; }
.viewtoggle .off { color: var(--faint); cursor: not-allowed; }
.pv { position: relative; max-width: 900px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.pv img { display: block; width: 100%; height: auto; aspect-ratio: auto 210 / 297; }
.pv .hl, .pvcrop .hl { position: absolute; background: var(--highlight); mix-blend-mode: multiply; box-shadow: 0 0 0 2px var(--highlight); border-radius: 2px; pointer-events: none; }
.pvcrop { display: block; position: relative; overflow: hidden; max-width: 78ch; margin: 10px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pvcrop img { position: absolute; max-width: none; height: auto; }
.pvcrop:hover { border-color: var(--brass-line); }

/* ---------------------------------------------------------------- cap table view: differences */
td.cell-conflict { background: var(--oxblood-bg); color: var(--oxblood); font-weight: 600; }
td.cell-uncertain { background: var(--amber-bg); color: var(--amber); font-weight: 600; }
td.cell-conflict a, td.cell-uncertain a { color: inherit; }

/* ---------------------------------------------------------------- deal dashboard */
.dash { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
/* The overall risk is a banner (verdict left, reasoning right, clamped to four lines); the tiles sit below it at
   one fixed height, so neither stretches to the other. */
.dash-hero { display: flex; flex-direction: column; gap: 12px; }
.dash-risk { border-radius: var(--radius); padding: 18px 22px; background: var(--navy); color: #fff; display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 4px 28px; align-items: start; }
.dash-risk .verdict { display: flex; flex-direction: column; gap: 4px; }
.dash-risk .eyebrow { color: #E4D3B4; }
.dash-risk .big { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.1; }
.dash-risk p { margin: 0; font-size: 15px; line-height: 1.55; color: #EEF0F5; }
.dash-risk .clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.dash-risk.expanded .clamp { display: block; -webkit-line-clamp: unset; }
.dash-risk .read-more { margin-top: 6px; color: #F3E3C3; padding: 0 8px; margin-left: -8px; min-height: 32px; }
.dash-risk .read-more:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dash-risk .read-more[hidden] { display: none; }
@media (max-width: 800px) { .dash-risk { grid-template-columns: minmax(0, 1fr); } }
.dash-risk.risk-high { background: linear-gradient(135deg, #6E1F24, #8E2A2A); }
.dash-risk.risk-medium { background: linear-gradient(135deg, #6B4A10, #8A5E14); }
.dash-risk.risk-low { background: linear-gradient(135deg, #2A3A5C, #3E4C63); }
.dash-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dash-tiles .tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; height: 84px; color: var(--ink); }
.dash-tiles .tile:hover { text-decoration: none; border-color: var(--brass-line); }
.dash-tiles .tile b { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink-strong); }
.dash-tiles .tile span { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.dash-tiles .tile.bad b { color: var(--oxblood); } .dash-tiles .tile.warn b { color: var(--amber); }
.dash-charts .panel { margin: 0; }
svg.bars, svg.stack { width: 100%; height: auto; display: block; }
svg.bars .lbl { font: 12.5px var(--sans); fill: var(--muted); }
svg.bars .val { font: 600 12.5px var(--sans); fill: var(--ink-strong); }
ul.legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
ul.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
ul.legend i.act { background: #F4EAD5; border-left: 3px solid var(--brass); }
.prog { margin-bottom: 12px; } .prog > div.small { display: flex; justify-content: space-between; color: var(--muted); }
table.heat td.cell { text-align: center; font-weight: 600; width: 12%; }
table.heat td.sev-critical { background: rgba(110, 31, 36, var(--a)); color: #fff; }
table.heat td.sev-high { background: rgba(142, 42, 42, var(--a)); }
table.heat td.sev-medium { background: rgba(176, 122, 31, var(--a)); }
table.heat td.sev-low { background: rgba(94, 103, 120, var(--a)); }
.reco { display: block; margin-top: 4px; padding: 4px 8px; background: #F4EAD5; border-left: 3px solid var(--brass); border-radius: 4px; color: var(--ink); }
@media (max-width: 1100px) { .dash-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- workspace dashboard */
.portfolio-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.deal-cards { display: flex; flex-direction: column; gap: 14px; }
.deal-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.deal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.deal-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink-strong); }
.risk-chip { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--slate-bg); color: var(--slate); }
.risk-chip.risk-high { background: var(--oxblood-bg); color: var(--oxblood); }
.risk-chip.risk-medium { background: var(--amber-bg); color: var(--amber); }
.risk-chip.risk-low { background: var(--blue-bg); color: var(--blue); }
.deal-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.deal-stats a { color: var(--muted); } .deal-stats b { color: var(--ink-strong); font-family: var(--serif); font-size: 18px; margin-right: 2px; }
.deal-stats a.bad b { color: var(--oxblood); } .deal-stats a.warn b { color: var(--amber); }
.deal-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.activity { padding: 8px 0; border-bottom: 1px solid var(--line-2); } .activity:last-child { border-bottom: 0; }
@media (max-width: 1100px) { .portfolio-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- autopilot: stages as a stepper */
.stepper { list-style: none; padding: 0; margin: 16px 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.stepper .step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 6px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.stepper .step::before { content: ""; position: absolute; top: 12px; left: calc(-50% + 16px); right: calc(50% + 16px); height: 2px; background: var(--line); }
.stepper .step:first-child::before { display: none; }
.stepper .step.done::before, .stepper .step.active::before, .stepper .step.blocked::before { background: #A9C0E0; }
.step-dot { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 2px solid #CBC5B8; background: var(--panel); color: #fff; font-weight: 700; font-size: 14px; }
.step.done .step-dot { background: var(--blue-bg); border-color: #A9C0E0; color: var(--blue); }
.step.done .step-dot .ico { width: 14px; height: 14px; stroke-width: 3; }
.step.active .step-dot { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-bg); }
.step.active .step-dot::after { content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--violet); }
.step.blocked .step-dot { border-color: var(--oxblood); background: var(--oxblood); }
.step.done .step-label { color: var(--slate); }
.step.active .step-label, .step.blocked .step-label { color: var(--ink-strong); font-weight: 600; }
.step-status { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.step.active .step-status { color: var(--violet); } .step.blocked .step-status { color: var(--oxblood); }
.autopilot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--muted); font-size: 14px; }
details.xcheck { border-top: 1px solid var(--line); padding: 10px 0; }
details.xcheck summary { cursor: pointer; }
@media (max-width: 900px) {
  .stepper { grid-auto-flow: row; grid-template-columns: 1fr; gap: 8px; }
  .stepper .step { flex-direction: row; text-align: left; gap: 10px; padding: 0; }
  .stepper .step::before { display: none; }
}

/* ---------------------------------------------------------------- panel header and "How this works" */
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-bottom: 12px; }
.panel-head .ph-text { min-width: 0; flex: 1 1 auto; }
.panel-head h1, .panel-head h2, .panel-head h3 { margin: 0; }
.panel-head .ph-meta { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.panel-head .ph-sub { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 85ch; }
.panel-head .ph-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; flex-shrink: 0; max-width: 60%; }
.panel-head .ph-actions form { margin: 0; display: inline-flex; }
.panel-head .ph-actions .small.muted { white-space: nowrap; }
.page-head { margin-bottom: 18px; }
details.how { margin: -4px 0 14px; color: var(--muted); font-size: 14.5px; }
details.how > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px 0 8px; margin-left: -8px; border-radius: 6px;
  color: var(--blue); font-size: 13.5px; font-weight: 600; list-style: none; }
details.how > summary::-webkit-details-marker { display: none; }
details.how > summary:hover { background: var(--blue-bg); }
details.how > summary .ico { width: 16px; height: 16px; }
details.how[open] > summary { margin-bottom: 6px; }
details.how .how-body { border-left: 3px solid var(--brass-line); padding: 2px 0 2px 14px; max-width: 85ch; line-height: 1.6; }
details.how .how-body p { margin: 0 0 .6rem; } details.how .how-body > :last-child { margin-bottom: 0; }
.status-line { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.status-line a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; } .status-line a .ico { width: 15px; height: 15px; }
.panel > .status-line:last-child { margin-bottom: 0; }
.src-list { display: flex; flex-direction: column; }
.src-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 16px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.src-row:first-child { border-top: 0; padding-top: 0; }
.src-row .src-name { display: flex; flex-direction: column; min-width: 0; flex: 1 1 260px; }
.src-row details.how { margin: 0; flex: 0 1 auto; }
.src-row details.how[open] { flex-basis: 100%; }
.jump { margin: 0 0 16px; }

/* ---------------------------------------------------------------- compact indicators (finding source, citation check) */
.mark { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 5px; border-radius: 6px; font-size: 11.5px;
  font-weight: 700; letter-spacing: .03em; line-height: 1; background: var(--slate-bg); color: var(--slate); cursor: help; vertical-align: 1px; }
.mark.src-qcounsel, .mark.src-ai { background: var(--violet-bg); color: var(--violet); }
.mark.src-public_record { background: var(--brass-soft); color: var(--brass-ink); box-shadow: inset 0 0 0 1px var(--brass-line); }
.cites { display: inline-flex; gap: 3px; flex-wrap: wrap; vertical-align: middle; }
.cite { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 11px; cursor: help; }
.cite .ico { width: 14px; height: 14px; stroke-width: 2.8; }
.cite.ok { background: var(--blue-bg); color: var(--blue); } .cite.warn { background: var(--amber-bg); color: var(--amber); }
.cite.bad { background: var(--oxblood-bg); color: var(--oxblood); } .cite.none { background: var(--slate-bg); color: var(--slate); }
.marks { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
table.requests .answer { margin-top: 8px; padding: 8px 12px; border-left: 3px solid var(--line); background: var(--panel-2); border-radius: 0 6px 6px 0; }
table.requests .answer-text { white-space: pre-wrap; }
table.requests form.unlock { margin: 8px 0 2px; }
table.requests tr.respond-row td { background: var(--brass-soft); border-bottom: 1px solid var(--brass-line); padding-bottom: 14px; }
table.requests tr.respond-row textarea { background: #fff; }
table.register tbody.issue + tbody.issue tr.issue-row td { border-top: 1px solid var(--line-2); }
table.register tr.issue-row td { border-bottom: 0; cursor: pointer; }
table.register tr.issue-row.open td { background: var(--panel-2); }
.row-toggle .ico { transition: transform .15s; }
tr.open .row-toggle .ico { transform: rotate(90deg); }
table.register tr.issue-detail td { background: var(--panel-2); border-bottom: 0; padding-top: 2px; padding-bottom: 16px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 32px; }
.detail-grid .kv { grid-template-columns: 130px 1fr; font-size: 14px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }
.finding-cell { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 14px; }
.finding-cell .marks { margin-top: 1px; }
@media (max-width: 700px) { .finding-cell { flex-direction: column; } }
.legend-line { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.legend-line span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------------------------------------------------------------- small screens: nothing scrolls the page sideways */
@media (max-width: 700px) {
  header.top { flex-wrap: wrap; height: auto; min-height: 56px; padding: 8px 16px; gap: 6px 14px; }
  header.top .sep, header.top .ws, header.top .who { display: none; }
  header.top .spacer { flex-basis: 0; }
  .panel { padding: 16px; overflow-x: auto; position: relative; }   /* positioned, so screen-reader-only text scrolls with it */
  .panel-head { flex-wrap: wrap; } .panel-head .ph-actions { justify-content: flex-start; max-width: none; }
  .txnhead h1 { font-size: 26px; }
  .dash-tiles, .portfolio-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .kv dd { margin-bottom: 8px; }
  .pagetext { padding: 14px 16px; }
  .list-row { grid-template-columns: minmax(0, 1fr) !important; gap: 4px; }
}

/* ------------------------------------------------------------ service tiers */
.tier-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier-choice { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--panel); cursor: pointer; }
.tier-choice:has(input:checked) { border-color: var(--navy); background: var(--panel-2); }
@media (max-width: 900px) { .tier-choices { grid-template-columns: 1fr; } }

/* Folded sections: the headline stays; the detail opens on demand. */
details.fold { margin-top: 6px; }
details.fold > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 8px; margin-left: -8px;
  border-radius: 6px; list-style: none; font-weight: 600; font-size: 14px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary:hover { background: var(--blue-bg); }
details.fold > summary .ico { transition: transform .15s ease; }
details.fold[open] > summary .ico { transform: rotate(90deg); }
details.fold > summary .when-open, details.fold[open] > summary .when-closed { display: none; }
details.fold[open] > summary .when-open { display: inline; }
/* Regulatory: the conclusions and findings at a glance. */
.glance-table th { width: 24%; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-strong); vertical-align: top; }
.glance-table td { font-size: 14.5px; }
.glance-line + .glance-line { margin-top: 6px; }
/* Evidence checklist: one folded group per category. */
details.cat { border-top: 1px solid var(--line); }
details.cat > summary { display: flex; align-items: center; gap: 10px; padding: 10px 0; list-style: none; color: var(--ink-strong); font-weight: 600; }
details.cat > summary::-webkit-details-marker { display: none; }
details.cat > summary .ico { color: var(--muted); transition: transform .15s ease; }
details.cat[open] > summary .ico { transform: rotate(90deg); }
details.cat > summary .cat-counts { margin-left: auto; font-weight: 500; font-size: 13.5px; color: var(--muted); display: flex; gap: 6px; }

/* ---------------------------------------------------------------- chat with the data room */
.chat-log { display: flex; flex-direction: column; gap: 22px; margin: 8px 0 20px; }
.chat-turn { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chat-q { align-self: flex-end; max-width: min(72ch, 88%); background: var(--navy); color: #fff; border-radius: 14px 14px 4px 14px; padding: 10px 16px; }
.chat-q p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-q .when { display: block; margin-top: 4px; font-size: 12px; color: #B8C2D6; text-align: right; }
.chat-a { align-self: stretch; max-width: 92ch; min-width: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 14px 18px; }
.chat-claim { font-family: var(--serif); font-size: 16.5px; line-height: 1.65; color: #232C3B; margin: 0 0 .75rem; overflow-wrap: anywhere; }
.chip-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--brass-soft); border: 1px solid var(--brass-line); color: var(--brass-ink); font: 600 12px/1 var(--sans); vertical-align: 2px; }
a.chip-n:hover { background: var(--brass); border-color: var(--brass); color: #fff; text-decoration: none; }
.chat-cites { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.chat-cite { min-width: 0; }
.chat-cite .src { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.chat-cite .src .path { font-weight: 600; color: var(--ink-strong); overflow-wrap: anywhere; }
.chat-cite .quote { font-size: 15px; line-height: 1.6; padding: 10px 14px; margin: 6px 0 4px; max-width: none; background: #fff; overflow-wrap: anywhere; }
.chat-cite .clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.chat-cite.expanded .clamp { display: block; -webkit-line-clamp: unset; }
.chat-cite [data-clamp-toggle][hidden] { display: none; }
.chat-note { margin: 10px 0 0; }
.chat-thinking { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; color: var(--ink-strong); font-weight: 600; }
.chat-thinking .small { font-weight: 400; }
.chat-thinking .dots { display: inline-flex; gap: 4px; }
.chat-thinking .dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--brass); animation: chat-pulse 1.2s ease-in-out infinite; }
.chat-thinking .dots i:nth-child(2) { animation-delay: .2s; } .chat-thinking .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes chat-pulse { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-thinking .dots i { animation: none; opacity: .7; } }
.chat-feedback { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.chat-feedback .btn-row { gap: 4px 6px; }
.chat-feedback button.ghost.on { background: var(--blue-bg); color: var(--ink-strong); }
.chat-feedback details.fold { margin-top: 2px; }
.chat-empty { color: var(--muted); }
.chat-empty ul { margin: 6px 0 0; padding-left: 20px; } .chat-empty li { margin: 4px 0; }
.chat-ask { border-top: 1px solid var(--line); padding-top: 14px; }
.chat-ask textarea { margin-top: 0; }
.chat-ask-row { display: flex; gap: 10px 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-top: 10px; }
.chat-limit { margin: 0; flex: 1 1 260px; max-width: 80ch; }
.chat-threads { list-style: none; margin: 0; padding: 0; }
.chat-threads li { padding: 8px 0; border-top: 1px solid var(--line-2); overflow-wrap: anywhere; }
.chat-threads li:first-child { border-top: 0; }
.chat-threads li.on a { font-weight: 600; color: var(--ink-strong); }
@media (max-width: 700px) {
  .chat-q { max-width: 94%; }
  .chat-a { padding: 12px 14px; }
  .chat-claim { font-size: 16px; }
}

/* ---------------------------------------------------------------- price estimator (new deal, billing) */
.estimator input[type=range] { display: block; width: 100%; margin: 18px 0 0; accent-color: var(--navy); }
.est-out { background: var(--brass-soft); border: 1px solid var(--brass-line); border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 10px; }
.est-out [data-est=price] { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink-strong); }

/* Invite rows: the labels once, on the first row (kept for screen readers on the rest). */
.invite-row { margin-bottom: 8px; }
.invite-row.later label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
