:root { font: 15px/1.4 Arial, Helvetica, sans-serif; color: #111; background: #fff; } * { box-sizing: border-box; } [hidden] { display: none !important; } body { margin: 0; min-height: 100vh; } a { color: #0645ad; } button, input, select { font: inherit; } button, .button { display: inline-block; padding: .4rem .7rem; border: 1px solid #777; color: #111; background: #eee; cursor: pointer; text-decoration: none; white-space: nowrap; } button.icon-button, .button.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; min-height: 2.4rem; padding: .4rem; flex-shrink: 0; } .action-icon { display: block; width: 20px; height: 20px; } button:disabled { color: #777; cursor: wait; } input, select { width: 100%; padding: .4rem; border: 1px solid #999; background: #fff; } button:focus, input:focus, select:focus, a:focus { outline: 2px solid #0645ad; outline-offset: 1px; } label { display: grid; gap: .2rem; } h1, h2, h3, p { margin-top: 0; } h1 { margin-bottom: .25rem; font-size: 1.6rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; } .muted { color: #666; } .error { margin: 0; color: #900; } .stack { display: grid; gap: .8rem; } .login-view { padding: 2rem; } .login-card { max-width: 28rem; margin: 4rem auto; } .shell { min-height: 100vh; } .sidebar { position: fixed; inset: 0 auto 0 0; display: flex; width: 220px; flex-direction: column; border-right: 1px solid #aaa; background: #eee; } .brand { padding: 1rem; border-bottom: 1px solid #aaa; font-weight: bold; } nav { display: grid; padding: .5rem; } nav a { padding: .45rem .5rem; color: #111; text-decoration: none; } nav a:hover { text-decoration: underline; } nav a.active { font-weight: bold; background: #ddd; } .sidebar-footer { display: grid; gap: .4rem; margin-top: auto; padding: 1rem; border-top: 1px solid #aaa; overflow-wrap: anywhere; } .link-button { width: fit-content; padding: 0; border: 0; color: #0645ad; background: transparent; text-decoration: underline; } .content { min-height: 100vh; margin-left: 220px; padding: 1.5rem 2rem 3rem; } .mobile-header { display: none; } .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid #aaa; padding-bottom: .8rem; } .page-head p { margin: 0; } .cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; } .card, .panel { border: 1px solid #aaa; background: #fff; } .card { padding: .75rem; } .card .value { display: block; margin-top: .2rem; font-size: 1.3rem; font-weight: bold; } .card .label { color: #555; } .panel { margin-bottom: 1rem; padding: .8rem; overflow: hidden; } .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; } .panel-head h2 { margin: 0; } .split { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(380px, 1.3fr); gap: 1rem; } .filters { display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr)); gap: .6rem; margin-bottom: 1rem; align-items: end; } .filters .wide { grid-column: span 2; } .table-wrap { width: 100%; overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: .9rem; } th { text-align: left; } .timestamp { text-align: left; font-variant-numeric: tabular-nums; white-space: nowrap; } th, td { padding: .5rem; border-bottom: 1px solid #ccc; vertical-align: top; } .numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } .path { max-width: 460px; overflow-wrap: anywhere; font-family: monospace; } .badge { display: inline-block; font-weight: bold; white-space: nowrap; } .badge.error { color: #900; } .badge.warn { color: #750; } .toolbar { display: flex; flex-wrap: wrap; gap: .5rem; } .toolbar input { max-width: 340px; } .row-actions { display: flex; flex-wrap: wrap; gap: .4rem; } .select-row { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .5rem; border: 0; border-bottom: 1px solid #ccc; background: #fff; text-align: left; } .select-row.active { font-weight: bold; background: #eee; } .select-row span:last-child { color: #555; font-size: .85rem; } .empty { padding: 1rem 0; color: #666; } progress { width: 100%; } .usage-bar { min-width: 160px; } .progress-large { margin: .7rem 0; } .status-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; } .log { max-height: 370px; margin: 0; padding: .75rem; overflow: auto; border: 1px solid #aaa; background: #f5f5f5; font: .85rem/1.45 monospace; white-space: pre-wrap; overflow-wrap: anywhere; } .check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } .check { display: flex; justify-content: space-between; padding: .5rem; border-bottom: 1px solid #ccc; } .toast { position: fixed; right: 1rem; bottom: 1rem; max-width: 420px; padding: .7rem; border: 1px solid #777; background: #fff; } .loading { padding: 2rem 0; color: #666; } @media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filters { grid-template-columns: repeat(3, minmax(120px, 1fr)); } .split { grid-template-columns: 1fr; } } @media (max-width: 700px) { .sidebar { display: none; z-index: 5; } .sidebar.open { display: flex; } .mobile-header { display: flex; gap: 1rem; padding: .6rem 1rem; border-bottom: 1px solid #aaa; } .content { margin-left: 0; padding: 1rem; } .cards, .filters, .check-list { grid-template-columns: 1fr; } .filters .wide { grid-column: span 1; } .page-head { display: block; } } /* Access administration uses the shared admin controls, colors and typography. */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } .access-message { padding: .7rem; margin-bottom: 1rem; border: 1px solid #aaa; } .access-message.failure { color: #900; } .access-workspace { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 1rem; align-items: start; } .access-browser, .access-detail { min-width: 0; border: 1px solid #aaa; background: #fff; } .access-browser { overflow: hidden; } .access-browser-head { display: grid; gap: .7rem; padding: .8rem; } .access-browser-head h2 { margin: 0; } .access-browser-head button { width: 100%; } .access-search, .access-status-filter { margin: 0 .8rem .65rem; } .access-list { border-top: 1px solid #ccc; max-height: 60vh; overflow-y: auto; } .access-list .access-list-item { grid-template-columns: minmax(0,1fr) auto; align-items: center; padding: .5rem .7rem; white-space: normal; } .access-list-item strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: inherit; } .access-list-item small { color: #555; font-size: .85rem; font-weight: normal; text-align: right; } .access-detail-head { display: flex; gap: 1rem; justify-content: space-between; align-items: start; padding: .8rem; } .access-detail-head h2 { margin: 0 0 .3rem; overflow-wrap: anywhere; } .access-detail-head p { color: #666; font-size: .9rem; margin: 0; max-width: 42rem; } .access-section { padding: .8rem; } .access-section + .access-section { border-top: 1px solid #ccc; } .access-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; } .access-section-head h3 { margin: 0; } .access-section-head p { font-size: .85rem; margin: .3rem 0 0; } .access-matrix-head { display: grid; grid-template-columns: minmax(150px,1.3fr) repeat(4,minmax(0,1fr)); align-items: end; font-size: .85rem; color: #555; padding-bottom: .5rem; gap: .3rem; } .access-matrix-head > span:not(:first-child) { text-align: center; } .access-matrix-head b { display: block; font-size: .9rem; margin-bottom: .15rem; color: #111; } .access-matrix-row { display: grid; grid-template-columns: minmax(150px,1.3fr) minmax(0,4fr); align-items: center; gap: .3rem; padding: .5rem 0; border-top: 1px solid #ccc; } .access-matrix-row strong { overflow-wrap: anywhere; } .access-matrix-row small { display: block; font-size: .85rem; color: #666; margin-top: .2rem; overflow-wrap: anywhere; } .access-users { max-height: 28rem; overflow-y: auto; } .access-level-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .3rem; } .access-level-options button { padding: .4rem .25rem; } .access-level-options button[aria-pressed="true"] { background: #ddd; border-color: #111; font-weight: bold; } .access-level-number { font-size: 1rem; } .access-level-caption { display: none; white-space: normal; } .access-savebar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid #aaa; padding: .8rem; } .access-savebar > span { color: #666; font-size: .85rem; } .access-savebar > div { display: flex; gap: .5rem; } .access-filter-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(170px,.5fr); gap: .6rem; margin-bottom: .65rem; } .access-empty { padding: .8rem; color: #666; font-size: .9rem; } .access-empty h2 { color: #111; margin-bottom: .5rem; } .access-empty p { margin: 0; } .access-dialog { width: min(480px,calc(100vw - 2rem)); max-height: calc(100dvh - 3rem); border: 1px solid #aaa; padding: 1rem; color: #111; background: #fff; } .access-dialog::backdrop { background: #0006; } .access-dialog p { font-size: .9rem; } .access-dialog-actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; } .access-danger { color: #900; } @media (max-width: 1250px) { .access-workspace { grid-template-columns: 220px minmax(0,1fr); gap: .8rem; } .access-matrix-head { display: none; } .access-matrix-row { grid-template-columns: 1fr; gap: .5rem; padding: .7rem 0; } .access-level-caption { display: block; font-size: .75rem; margin-top: .2rem; } } @media (max-width: 950px) { .access-workspace { grid-template-columns: 1fr; } .access-browser-head { display: flex; align-items: center; justify-content: space-between; } .access-browser-head button { width: auto; } .access-list { max-height: 12rem; } .access-detail-head { flex-wrap: wrap; } } @media (max-width: 500px) { .access-filter-row { grid-template-columns: 1fr; } .access-section-head { align-items: start; flex-wrap: wrap; gap: .6rem; } .access-savebar { flex-direction: column; align-items: stretch; } .access-savebar > div { justify-content: flex-end; } .access-level-options { gap: .2rem; } .access-level-options button { padding: .4rem .1rem; } .access-level-caption { font-size: .72rem; } } .content:focus { outline: none; } #document-worker-progress { width: 100%; height: 1rem; accent-color: #555; } .document-worker-table { max-height: 28rem; overflow: auto; } .document-worker-table table { min-width: 720px; } .document-worker-table .path { min-width: 230px; } .document-worker-table thead { position: sticky; top: 0; background: #fff; } /* Document browsing shares the admin UI's typography and controls. */ .portal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 2rem; border-bottom: 1px solid #aaa; background: #eee; } .portal-brand { font-weight: bold; color: #111; text-decoration: none; } .portal-header > div { display: flex; align-items: center; gap: 1rem; min-width: 0; } .portal-header #session-user { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .portal-main { max-width: 1600px; margin: auto; padding: 1.5rem 2rem 3rem; } .portal-search { display: grid; grid-template-columns: minmax(0,1fr) 190px auto; gap: .6rem; margin-bottom: 1.5rem; } .portal-search input { padding: .65rem; } .portal-workspace { display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: start; gap: 1.5rem; } .portal-filters { display: grid; gap: 1rem; padding: 1rem; border: 1px solid #aaa; } .portal-filters h2 { margin: 0; } .portal-results { min-width: 0; } .portal-results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; } .portal-results-head p { margin: 0; } .portal-view-options { display: flex; gap: .3rem; } .portal-view-options button[aria-pressed="true"] { background: #ddd; border-color: #111; font-weight: bold; } .document-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1rem; } .document-card { min-width: 0; border: 1px solid #aaa; background: #fff; overflow: hidden; } .document-open { display: block; width: 100%; padding: 0; border: 0; background: #fff; text-align: left; white-space: normal; } .document-thumbnail { display: flex; height: 210px; align-items: center; justify-content: center; background: #f5f5f5; border-bottom: 1px solid #ccc; overflow: hidden; } .document-thumbnail img { width: 100%; height: 100%; object-fit: contain; } .document-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; color: #666; } .document-placeholder .action-icon { width: 48px; height: 48px; stroke-width: 1; } .document-description { padding: .8rem; } .document-description h2 { font-size: 1rem; margin: 0 0 .3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .document-path { font-size: .8rem; color: #666; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .document-excerpt { height: 3.6em; overflow: hidden; font-size: .85rem; margin: .6rem 0 0; overflow-wrap: anywhere; } mark { background: #fff0a0; color: #111; } .document-card footer { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .8rem; border-top: 1px solid #ccc; } .document-card footer > span { min-width: 0; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .document-card footer small { display: block; color: #666; } .document-list { grid-template-columns: 1fr; } .document-list .document-card { display: flex; align-items: center; } .document-list .document-open { display: flex; align-items: center; min-width: 0; flex: 1; } .document-list .document-thumbnail { width: 80px; height: 100px; flex-shrink: 0; border: 0; border-right: 1px solid #ccc; } .document-list .document-description { min-width: 0; } .document-list footer { flex-shrink: 0; border: 0; } .document-list .document-excerpt { height: 1.4em; } .portal-empty { grid-column: 1/-1; padding: 2rem; border: 1px solid #aaa; text-align: center; color: #666; } .portal-empty h2 { color: #111; } .portal-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; } .document-dialog { width: min(1150px,calc(100vw - 2rem)); height: min(850px,calc(100dvh - 2rem)); padding: 0; border: 1px solid #aaa; color: #111; background: #fff; } .document-dialog:has(.document-placeholder) { height: fit-content; } .document-dialog:has(.document-placeholder) .document-detail { height: auto; } .document-dialog::backdrop { background: #0006; } .document-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid #aaa; } .document-dialog-head > div:first-child { min-width: 0; } .document-dialog-head h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: .3rem; } .document-dialog-head p { font-size: .85rem; overflow-wrap: anywhere; margin-bottom: 0; } .document-detail { height: calc(100% - 95px); min-height: 0; } .document-preview { padding: 1rem; overflow: auto; background: #f5f5f5; } .document-preview img { display: block; width: 100%; height: auto; } .document-dialog.pdf-dialog { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; border: 0; } .document-dialog.pdf-dialog[open] { display: flex; flex-direction: column; } .pdf-dialog .document-dialog-head { flex-shrink: 0; padding: .6rem 1rem; } .pdf-dialog .document-detail { flex: 1; height: auto; overflow: hidden; } .pdf-dialog .document-preview { height: 100%; padding: 0; overflow: hidden; } #document-pdf-viewer { display: block; width: 100%; height: 100%; border: 0; } @media (max-width: 950px) { .portal-workspace { grid-template-columns: 1fr; gap: 1rem; } .portal-filters { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; } .portal-filters h2 { display: none; } .portal-filters button { grid-column: 1/-1; } } @media (max-width: 600px) { .portal-header, .portal-main { padding: 1rem; } .portal-header { align-items: start; } .portal-header > div { justify-content: flex-end; flex-wrap: wrap; gap: .5rem; } .portal-header #session-user { max-width: 150px; } .portal-search { grid-template-columns: minmax(0,1fr) auto; } .portal-query { grid-column: 1/-1; } .portal-filters { grid-template-columns: 1fr; } .document-grid { grid-template-columns: 1fr; } .document-thumbnail { height: 240px; } .document-list .document-card { flex-wrap: wrap; } .document-list footer { width: 100%; border-top: 1px solid #ccc; } .document-detail { display: block; height: auto; } .document-dialog { overflow: auto; } .document-dialog-head { gap: .5rem; } .document-dialog-head .row-actions { flex-wrap: nowrap; } }