/* OpunX shell (0.2.35.1): Opun60's layout and components in OpunX's colours. Light and dark on every deployment
   (R60): follows prefers-color-scheme until the person picks one (the opunx-theme cookie sets data-theme on <html>).
   No inline style anywhere, nothing from another host, no embedded images. Later stages add their rules only under
   their own marked section at the end. */
:root {
  --bg: #f7f7f5; --panel: #ffffff; --text: #1d1d1b; --muted: #6b6b66; --line: #deded8; --accent: #2457c5;
  --accent-text: #ffffff; --alert: #a32020;
  --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, .10), 0 4px 12px rgba(0, 0, 0, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151614; --panel: #1f201e; --text: #ecece8; --muted: #a2a29b; --line: #34352f; --accent: #7aa2ff;
    --accent-text: #0d1020; --alert: #ff8a8a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .28);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151614; --panel: #1f201e; --text: #ecece8; --muted: #a2a29b; --line: #34352f; --accent: #7aa2ff;
  --accent-text: #0d1020; --alert: #ff8a8a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .28);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
:root {
  --sunken: color-mix(in srgb, var(--line) 35%, var(--panel));
  --accent-soft: color-mix(in srgb, var(--accent) 14%, var(--panel));
  --alert-soft: color-mix(in srgb, var(--alert) 12%, var(--panel));
  --radius: 12px;
  --band-h: 28px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h2 { font-weight: 650; font-size: 19px; margin: 26px 0 10px; }
h3 { font-weight: 650; font-size: 16px; margin: 16px 0 8px; }

.shell { display: grid; grid-template-columns: 240px 1fr; grid-template-rows: minmax(0, 1fr); height: 100vh; height: 100dvh; }
.demo-band { display: flex; align-items: center; justify-content: center; height: var(--band-h); margin: 0; padding: 0 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; line-height: 1; letter-spacing: .3px; color: var(--text); background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.demo-band + .shell { height: calc(100vh - var(--band-h)); height: calc(100dvh - var(--band-h)); }
.sidebar { background: var(--sunken); color: var(--muted); display: flex; flex-direction: column; overflow-y: auto; border-right: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; gap: 4px; padding: 20px 16px 14px; color: var(--text); }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: .02em; color: var(--text); }
.company { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); }
.company select { font-family: var(--font-sans); text-transform: none; letter-spacing: normal; padding: 3px 6px; font-size: 12.5px; }
.company button { padding: 3px 8px; font-size: 12px; text-transform: none; letter-spacing: normal; }
.nav { padding: 4px 10px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav ul ul ul { padding-left: 14px; }
.nav a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: 8px; border: 1px solid transparent; color: inherit; text-decoration: none; }
.nav a:hover { background: var(--panel); color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--panel); color: var(--accent); font-weight: 600; border-color: var(--line); box-shadow: var(--shadow); }
.nav .section > a { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); padding: 16px 10px 6px; }
.nav .section > a[aria-current="page"] { color: var(--accent); box-shadow: none; padding: 6px 10px; margin-top: 10px; }
.nav .count { margin-left: auto; background: var(--accent); color: var(--accent-text); border-radius: 10px; padding: 0 7px; font-size: 11.5px; font-weight: 700; }
.nav .muted-count { margin-left: auto; color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.sidebar-foot { margin-top: auto; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 12.5px; }
.nav-backdrop { display: none; }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 28px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); }
.topbar h1 { font-size: 21px; margin: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions > a { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--sunken); font-weight: 600; font-size: 13px; color: var(--text); }
.actions > a:hover { border-color: var(--accent); background: var(--panel); text-decoration: none; }
.search-form { display: flex; margin: 0; }
.search { width: 260px; max-width: 40vw; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); }
.menu-btn { display: none; }
.content { flex: 1; overflow: auto; padding: 22px 28px 60px; }
.content-inner { max-width: 1180px; }
.coming { font-size: 11px; color: var(--muted); text-transform: lowercase; font-weight: 400; }

button, .btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--sunken); cursor: pointer; font-weight: 600; font-size: 13px; transition: border-color .15s, box-shadow .15s, background .15s; text-decoration: none; color: var(--text); }
button:hover, .btn:hover { border-color: var(--accent); background: var(--panel); text-decoration: none; }
button[type="submit"], .btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); box-shadow: var(--shadow); }
button[type="submit"]:hover, .btn.primary:hover { filter: brightness(1.05); background: var(--accent); }
.btn.danger { color: var(--alert); }
.btn.small, button.small { padding: 4px 9px; font-size: 13px; }
button:disabled, .btn:disabled { opacity: .55; cursor: not-allowed; }
.seg { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunken); }
.seg a, .seg button { border: 0; background: none; padding: 5px 12px; border-radius: 7px; font-weight: 600; font-size: 13px; color: var(--muted); box-shadow: none; }
.seg .on, .seg [aria-current="page"] { background: var(--accent); color: var(--accent-text); }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]), select, textarea, .input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--sunken) 45%, var(--panel)); max-width: 100%; }
input:focus, select:focus, textarea:focus, .search:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .auth label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.auth label { display: flex; flex-direction: column; gap: 6px; }
.auth label input { width: 100%; font-size: 14px; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--text); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.muted, .note, .export { color: var(--muted); }
.small { font-size: 12.5px; }
.message, .error { color: var(--alert); background: var(--alert-soft); padding: 8px 12px; border-radius: 8px; margin: 8px 0; }
.notice, .banner { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); padding: 10px 14px; border-radius: 10px; margin: 10px 0; }
.ok-box { color: var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: 8px; margin: 8px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 16px 18px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--muted); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip.ok { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.chip.warn { background: var(--alert-soft); color: var(--alert); border-color: color-mix(in srgb, var(--alert) 22%, transparent); }
.empty { padding: 28px; text-align: center; color: var(--muted); font-size: 15px; }
.empty.card { margin: 6px 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.tile .lbl { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.tile .val { font-size: 30px; font-weight: 650; line-height: 1.15; margin-top: 8px; font-variant-numeric: lining-nums tabular-nums; }
.tile.hot .val { color: var(--alert); }
.table-wrap { overflow-x: auto; }
table.grid, table.data, table.rows { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 8px 0; }
table.grid th, table.grid td, table.data th, table.data td, table.rows th, table.rows td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
table.grid th, table.data th, table.rows th { background: var(--sunken); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); border-top: 0; }
table.data td { white-space: pre-wrap; overflow-wrap: anywhere; }
table.grid td.num, table.grid th.num, table.data td.num, table.rows td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.grid tbody tr:hover td, table.data tbody tr:hover td, table.rows tbody tr:hover td { background: var(--sunken); }
.hidden { color: var(--muted); letter-spacing: .1em; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .22); z-index: 20; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100vw); background: var(--panel); border-left: 1px solid var(--line); z-index: 21; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; flex: 1; font-size: 19px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px 40px; }
.props { display: grid; grid-template-columns: 120px 1fr; gap: 10px 12px; align-items: center; margin: 14px 0; }
.props .k { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 6px 12px; }

.auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--panel) 80%, transparent) 0%, transparent 70%); }
.auth-mark { font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: .02em; margin-bottom: 10px; color: var(--text); }
.auth-tag { color: var(--muted); margin-bottom: 26px; text-align: center; }
.auth .card { width: min(440px, 100%); padding: 28px 30px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 14px; }
.auth .card h1 { font-weight: 700; font-size: 21px; margin: 4px 0; }
.auth form.card > button[type="submit"] { justify-content: center; width: 100%; }
.auth-top { position: absolute; top: 0; right: 0; padding: 14px 18px; }
.demo-band ~ .auth { min-height: calc(100vh - var(--band-h)); min-height: calc(100dvh - var(--band-h)); }
.demo-band ~ .auth-top { top: var(--band-h); }
.companies { padding-left: 18px; }
.companies li { margin: 4px 0; }
.companies form { margin-left: 8px; }

.user-card { position: relative; }
.user-card summary { cursor: pointer; list-style: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); font-size: 14px; font-weight: 600; }
.user-card-body { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.auth-top .user-card-body { position: absolute; right: 0; top: 110%; z-index: 2; min-width: 220px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-lg); }
.themes { display: flex; gap: 4px; flex-wrap: wrap; }
.themes button { background: var(--panel); color: var(--text); border-color: var(--line); padding: 4px 9px; box-shadow: none; }
.version { margin: 0; color: var(--muted); font-size: 12px; }
.inline { display: inline; }

.paging { display: flex; gap: 12px; }
.tables { padding-left: 18px; }
.report { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 12px; }
.report label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.record { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.record label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.record fieldset { border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
.record .line, .record .group { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.reading { color: var(--muted); font-size: 12px; }
[data-overlay="on"] [data-help] { outline: 2px dashed var(--accent); outline-offset: 2px; }
.tip { display: inline-block; margin: 2px 4px; padding: 1px 6px; border-radius: 4px; font-size: 11px; background: var(--accent); color: var(--panel); }
.screens dt { margin-top: 6px; }
.screens dd { margin-left: 18px; color: var(--muted); }
.hits td:first-child { white-space: nowrap; }

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 30% 0 0; z-index: 30; transform: translateX(-100%); visibility: hidden; transition: transform .18s, visibility .18s; }
  .sidebar.open, .sidebar:target { transform: none; visibility: visible; }
  .sidebar.open + .nav-backdrop, .sidebar:target + .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 29; background: rgba(0, 0, 0, .28); }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 10px 14px; flex-wrap: wrap; row-gap: 8px; }
  .topbar h1 { min-width: 0; flex: 1 1 60%; }
  .content { padding: 14px 14px 60px; }
  .search { width: 150px; }
  .props { grid-template-columns: 96px 1fr; }
  .kv { grid-template-columns: 1fr; }
  table.data { display: block; max-width: 100%; overflow-x: auto; }
  table.data th, table.data td { overflow-wrap: normal; }
  table.data td:first-child, table.data.match td:nth-child(3) { white-space: nowrap; }
}
@media (max-width: 520px) {
  .search-form { flex: 1 1 100%; order: 9; }
  .search { width: 100%; max-width: none; }
  .actions > a, .actions > button { padding: 4px 7px; font-size: 12px; }
  .auth-mark { font-size: 36px; }
}

/* == tasks == */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.group { margin-bottom: 18px; }
.group-head { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; margin: 0; padding: 6px 2px; }
.group-head .n { color: var(--muted); font-weight: 500; font-size: 13px; font-family: var(--font-sans); }
.tasklist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.task-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.task-row:first-child { border-top: 0; }
.task-row:hover { background: var(--sunken); }
.task-row.done .t-title { text-decoration: line-through; color: var(--muted); }
.t-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-title a { color: inherit; }
.t-meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12.5px; white-space: nowrap; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
.check-form { display: inline-flex; margin: 0; }
.check { width: 20px; height: 20px; border-radius: 50%; border: 1.6px solid var(--muted); background: none; cursor: pointer; display: grid; place-items: center; padding: 0; color: transparent; font-size: 12px; }
.check:hover { border-color: var(--accent); color: var(--accent); }
.check.on { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.chip .sw { width: 8px; height: 8px; border-radius: 2px; flex: none; }
a.chip { text-decoration: none; }
.due.overdue { color: var(--alert); font-weight: 600; }
.due.today { color: var(--accent); font-weight: 600; }
.avatar { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--accent-text); background: var(--accent); flex: none; }
.add-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; margin: 0 0 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.add-row input[name="title"], .add-row input[name="name"] { flex: 1 1 160px; min-width: 0; }
.drawer .acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.drawer .acts form { display: inline-flex; gap: 6px; }
.history { margin: 0; padding-left: 18px; font-size: 13px; }
.history li { padding: 2px 0; }
.pc-0 { background: var(--accent); }
.pc-1 { background: var(--alert); }
.pc-2 { background: color-mix(in srgb, var(--accent) 50%, var(--alert)); }
.pc-3 { background: color-mix(in srgb, var(--accent) 55%, var(--text)); }
.pc-4 { background: color-mix(in srgb, var(--alert) 55%, var(--text)); }
.pc-5 { background: color-mix(in srgb, var(--accent) 45%, var(--panel)); }
.pc-6 { background: color-mix(in srgb, var(--alert) 45%, var(--panel)); }
.pc-7 { background: var(--muted); }

/* == projects == */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.nav .projects { padding-left: 8px; }
.nav .projects a { padding: 5px 10px; font-size: 13px; }
.nav .projects .n { margin-left: auto; color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.project-list li { display: flex; align-items: center; gap: 8px; }
.project-list .n { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.board { display: flex; gap: 14px; align-items: flex-start; overflow-x: auto; padding-bottom: 12px; max-width: 100%; }
.col { flex: 0 0 280px; max-width: 85vw; background: var(--sunken); border-radius: var(--radius); padding: 10px; min-height: 120px; }
.col.drop { outline: 2px dashed var(--accent); }
.col-head { font-weight: 650; padding: 2px 4px 8px; display: flex; justify-content: space-between; }
.col-head .n { color: var(--muted); }
.bcard { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow); }
.bcard:hover { border-color: var(--accent); }
.bcard.done { opacity: .6; }
.bcard .bt { font-weight: 550; margin-bottom: 8px; overflow-wrap: anywhere; }
.bcard .bm { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.bcard form { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.bcard form input { flex: 1 1 120px; min-width: 0; }

/* == read-screens == */
.read-screen { margin-bottom: 8px; }
.read-screen .filter { margin: 4px 0 12px; }
.read-screen .filter input[type="search"] { width: 220px; max-width: 100%; }
.read-screen .upload { margin: 4px 0 6px; }
.read-screen .upload input[type="file"] { max-width: 100%; }
table.grid td.overdue { color: var(--alert); font-weight: 600; }
table.grid.directory td .chip + .chip { margin-left: 2px; }
table.grid.stock td .muted, table.grid.directory td .muted { margin-top: 2px; }
.drawer .props + .row, .drawer .row + .props { margin-top: 10px; }
.currency .tiles { margin-top: 4px; }
@media (max-width: 520px) {
  .read-screen .filter input[type="search"] { flex: 1 1 100%; width: 100%; }
}

/* == purchasing == */


/* == workspace == */
.ws-intro { max-width: 760px; margin: 0 0 14px; }
.ws-upload { margin: 0 0 12px; }
.ws-upload .row, .ws-mail .ws-fields { align-items: flex-end; }
.ws-upload .field, .ws-mail .field { flex: 1 1 200px; min-width: 0; }
.ws-mail { margin: 0 0 14px; }
.ws-mail .kv { margin: 0 0 12px; }
.ws-form-foot { margin-top: 10px; }
.ws-actions { margin: 0 0 12px; }
.ws-acts { margin: 0 0 14px; }
.ws-source .ws-mode { margin-top: 6px; }
.ws-about li { margin: 4px 0; }
.ws-avatar { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--text); font-size: 11px; font-weight: 700; vertical-align: middle; }


/* == documents == */
table.rows.documents td:nth-child(5) { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
table.rows.documents td form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
table.rows.documents td form input[name="reason"] { flex: 1 1 140px; min-width: 0; }
table.rows.documents td a { color: var(--accent); font-weight: 600; word-break: break-word; }
.documents-upload { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 8px 0 14px; }
.documents-upload label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.documents-panel { margin: 14px 0 0; }
.documents-panel h2 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 0 0 6px; }
.documents-panel table.rows.documents { box-shadow: none; }
.documents-panel table.rows.documents th, .documents-panel table.rows.documents td { padding: 8px 10px; }
@media (max-width: 520px) {
  .documents-upload label { flex: 1 1 100%; }
  table.rows.documents th:nth-child(3), table.rows.documents td:nth-child(3), table.rows.documents th:nth-child(4), table.rows.documents td:nth-child(4) { display: none; }
}
