/* Veritium Secure File Transfer. Desktop only (decision, 2026-11-12). Brand: Veritium yellow,
   black and blue, in Arial. */

:root {
  --yellow: #ffc713;
  --black: #1a1a1a;
  --blue: #213d75;
  --grey-1: #f5f5f3;
  --grey-2: #e3e3df;
  --grey-3: #6b6b66;
  --good: #1d7a46;
  --warn: #9a6700;
  --bad: #b3261e;
  --radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--grey-1); line-height: 1.45; }
h1 { font-size: 1.6rem; margin: 0 0 .75rem; }
h2 { font-size: 1.15rem; margin: 1.25rem 0 .5rem; }
a { color: var(--blue); }
.muted { color: var(--grey-3); }
.small { font-size: .85rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.bar { display: flex; justify-content: space-between; align-items: center; padding: .75rem 2rem; background: var(--black); color: #fff; }
.brand { display: flex; gap: .75rem; align-items: center; color: #fff; text-decoration: none; font-weight: bold; }
.mark { background: var(--yellow); color: var(--black); padding: .15rem .5rem; border-radius: 3px; letter-spacing: .05em; }
.who { display: flex; gap: 1rem; align-items: center; font-size: .9rem; }
.badge { background: var(--blue); padding: .1rem .5rem; border-radius: 3px; font-size: .75rem; text-transform: uppercase; }
.page { max-width: 1100px; margin: 2rem auto; padding: 0 2rem; }

button { font: inherit; cursor: pointer; border: 0; border-radius: var(--radius); padding: .55rem 1.1rem; background: var(--blue); color: #fff; font-weight: bold; }
button:hover { filter: brightness(1.15); }
button.secondary { background: #fff; color: var(--black); border: 1px solid var(--grey-2); }
button.danger { background: var(--bad); }
button.primary { background: var(--blue); }
button.link { background: none; color: var(--blue); padding: .25rem .5rem; font-weight: normal; text-decoration: underline; }
button.danger-text { color: var(--bad); }
.small-button { padding: .3rem .7rem; font-size: .85rem; }
.small-button.warn { background: var(--warn); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.hero { text-align: center; padding: 4rem 0; }
.hero h1 { font-size: 2.2rem; }
.lead { font-size: 1.15rem; color: var(--grey-3); margin-bottom: 2rem; }
.choices { display: flex; gap: 1.5rem; justify-content: center; }
.choice { display: flex; flex-direction: column; gap: .35rem; width: 18rem; padding: 1.5rem; background: #fff; color: var(--black); border: 2px solid var(--grey-2); font-weight: normal; text-align: left; }
.choice:hover { border-color: var(--yellow); filter: none; }
.choice strong { font-size: 1.15rem; }

.toolbar { display: flex; justify-content: space-between; align-items: center; }
.search { width: 100%; padding: .6rem .8rem; margin: 1rem 0; border: 1px solid var(--grey-2); border-radius: var(--radius); font: inherit; }
.crumbs { margin-bottom: .75rem; color: var(--grey-3); font-size: .9rem; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--grey-2); margin: 1rem 0; }
.tab { background: none; color: var(--grey-3); border-radius: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab.active { color: var(--black); border-bottom-color: var(--yellow); }

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--grey-3); padding: .7rem 1rem; background: var(--grey-1); }
.table td { padding: .75rem 1rem; border-top: 1px solid var(--grey-2); vertical-align: top; }
.table .name { font-weight: bold; word-break: break-word; }
.table.clickable tbody tr { cursor: pointer; }
.table.clickable tbody tr:hover { background: #fffbe8; }
.row-actions { display: flex; gap: .5rem; justify-content: flex-end; align-items: center; }
.empty { padding: 2rem; text-align: center; color: var(--grey-3); background: #fff; border-radius: var(--radius); }

.chip { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: bold; }
.chip-good { background: #d8f0e1; color: var(--good); }
.chip-wait { background: #e6ecf7; color: var(--blue); }
.chip-warn { background: #fff0c2; color: var(--warn); }
.chip-bad { background: #fbdcd9; color: var(--bad); }
.chip-muted { background: var(--grey-2); color: var(--grey-3); }

.dropzone { border: 2px dashed var(--grey-3); border-radius: var(--radius); background: #fff; padding: 1.75rem; text-align: center; }
.dropzone.over { border-color: var(--yellow); background: #fffbe8; }
.dropzone p { margin: .25rem 0 .75rem; }
.upload { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
progress { width: 14rem; }

.message { padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.message-bad { background: #fbdcd9; color: var(--bad); }
.message-good { background: #d8f0e1; color: var(--good); }

.dialog { border: 0; border-radius: var(--radius); padding: 1.5rem; width: 32rem; box-shadow: 0 10px 40px rgb(0 0 0 / 30%); }
.dialog::backdrop { background: rgb(26 26 26 / 55%); }
.field { display: flex; flex-direction: column; gap: .25rem; }
.field span { font-weight: bold; }
.field input, .field select, .field textarea { padding: .55rem; border: 1px solid var(--grey-3); border-radius: var(--radius); font: inherit; }
.actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: .5rem; }

.menu { position: relative; }
.menu summary { cursor: pointer; list-style: none; padding: .2rem .6rem; font-size: 1.2rem; border-radius: var(--radius); }
.menu-items { position: absolute; right: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 12rem; background: #fff; border: 1px solid var(--grey-2); border-radius: var(--radius); box-shadow: 0 6px 20px rgb(0 0 0 / 15%); padding: .5rem; }
.people { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--radius); }
.people li { display: flex; justify-content: space-between; align-items: center; padding: .65rem 1rem; border-top: 1px solid var(--grey-2); }
.people li:first-child { border-top: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; gap: .25rem; background: #fff; padding: 1.25rem; border-radius: var(--radius); text-decoration: none; color: var(--black); border: 2px solid transparent; }
.card:hover { border-color: var(--yellow); }
