/* iNumerica file portal. Colours of the new inumerica.com (dark #111216, orange #F39200, light #F5F5F2); system fonts. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #F5F5F2; color: #111216;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: #B86E00; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 32px; padding-bottom: 48px; }

.top { background: #111216; border-bottom: 1px solid #2A2D35; color: #FFFFFF; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; color: #A9ACB4; letter-spacing: 0.04em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
.nav a { color: #FFFFFF; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 #F39200; }
.logout { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.who { color: #A9ACB4; }
.btn-link { background: none; border: 0; padding: 0; color: #FFFFFF; font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }

.card { background: #FFFFFF; border: 1px solid #E4E4DF; border-radius: 12px; padding: 24px; }
.narrow { max-width: 440px; margin: 0 auto; }
h1 { margin: 0 0 16px; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.small { font-size: 14px; color: #555862; }

.form { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.form label { font-weight: 600; font-size: 15px; }
.form input[type="text"], .form input[type="password"], .form input[type="file"] {
  width: 100%; padding: 10px 12px; border: 1px solid #C9CAC4; border-radius: 8px; font: inherit; background: #FFFFFF; }
.form input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #F39200; outline-offset: 2px; }
.days { border: 0; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.days legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.form .radio { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.btn { align-self: flex-start; margin-top: 8px; background: #F39200; color: #111216; border: 0; border-radius: 999px;
  padding: 12px 28px; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { background: #FFA41F; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-small { background: #111216; color: #FFFFFF; border: 0; border-radius: 6px; padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn-danger { background: #A4231A; }

.progress { position: relative; height: 26px; margin-top: 12px; border-radius: 8px; background: #ECECE7; overflow: hidden; }
.progress .bar { height: 100%; width: 0; background: #F39200; transition: width .2s; }
.progress .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

.msg { background: #FFF6E5; border-left: 4px solid #F39200; padding: 10px 14px; border-radius: 6px; }
.msg-err { background: #FDECEA; border-left-color: #A4231A; }
.results, .files { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.results li, .file { border: 1px solid #E4E4DF; border-radius: 10px; padding: 12px 14px; overflow-wrap: anywhere; }
.results li.err { border-color: #E8B4AE; background: #FDF5F4; }
.linkrow { display: flex; gap: 8px; margin-top: 8px; }
.linkrow input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid #C9CAC4; border-radius: 6px; font: 13px/1.4 ui-monospace, Menlo, Consolas, monospace; background: #FAFAF8; }
.file-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #E3F4E1; color: #1F6B19; }
.st-expired .badge { background: #ECECE7; color: #555862; }
.st-revoked .badge { background: #FDECEA; color: #A4231A; }
.st-expired, .st-revoked { background: #FAFAF8; }
.actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
select { padding: 6px 8px; border: 1px solid #C9CAC4; border-radius: 6px; font: inherit; font-size: 14px; background: #FFFFFF; }

.foot { color: #A9ACB4; background: #111216; font-size: 14px; padding: 18px 0; }
.foot a { color: #FFFFFF; }
