:root { font-family: Arial, Helvetica, sans-serif; color: #000; background: #fff; font-size: 14px; }
* { box-sizing: border-box; }
body { margin: 0; }
.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; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, .back-link:focus-visible { outline: 3px solid #1265b0; outline-offset: 2px; }
.site-header { position: sticky; top: 0; z-index: 5; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(24px, calc((100vw - 1120px) / 2)); background: #fff; border-bottom: 1px solid #dedede; }.site-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }.logo-link { display: inline-flex; flex: 0 0 auto; }.site-logo { display: block; width: 46px; height: 46px; object-fit: contain; }.account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; }.nav-icons { display: flex; align-items: center; gap: 6px; }.nav-icon { display: inline-grid; width: 36px; height: 36px; place-items: center; padding: 7px; color: #16334e; background: #fff; border: 1px solid #b9c3cd; border-radius: 4px; }.nav-icon:hover { background: #eef2f5; }.nav-icon:focus-visible { outline: 3px solid #1265b0; outline-offset: 2px; }.nav-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
h1, h2, p { margin-top: 0; } h1 { font-size: 20px; margin-bottom: 0; } h2 { font-size: 20px; margin-bottom: 8px; }
.eyebrow { margin: 0 0 2px; color: #505050; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
main { max-width: 1120px; margin: 0 auto; padding: 32px 24px 64px; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }.intro p { max-width: 560px; margin: 0; color: #3f3f3f; }
.button { border: 1px solid #b9c3cd; border-radius: 4px; padding: 9px 13px; font-weight: 600; }.button.primary { color: #fff; background: #145b94; border-color: #145b94; }.button.primary:hover { background: #104b7a; }.button.secondary { color: #16334e; background: #fff; }.button.danger { color: #fff; background: #a01414; border-color: #a01414; }.button.danger:hover { background: #7f1010; }.button:disabled { cursor: not-allowed; opacity: .6; }
.assessment-list { border-top: 1px solid #d7d7d7; }.assessment-card { display: grid; grid-template-columns: 1fr minmax(0, 2fr); gap: 16px; align-items: center; padding: 16px 2px; border-bottom: 1px solid #d7d7d7; }.assessment-card h3 { font-size: 15px; margin: 0 0 5px; }.assessment-card p { color: #535353; font-size: 13px; margin: 0; }.assessment-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.assessment-type-actions { display: flex; flex-direction: column; align-items: stretch; min-width: 0; gap: 6px; }.assessment-type-actions .button { width: 100%; min-width: 0; }.assessment-type-actions .button.review { color: #16334e; background: #e7e7e7; }.assessment-type-actions .button.review:hover { background: #dcdcdc; }.assessment-type-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 34px; }.icon-button { display: inline-grid; width: 34px; height: 34px; place-items: center; padding: 0; color: #8e1717; background: #fff; border: 1px solid #d8b4b4; border-radius: 4px; font-size: 17px; }.icon-button:hover { background: #fff1f1; }
.assessment-search { position: relative; max-width: 440px; margin: 0 0 16px; }.assessment-search input { width: 100%; height: 38px; padding: 8px 38px 8px 11px; border: 1px solid #b9c3cd; border-radius: 4px; color: #16334e; }.assessment-search input:focus-visible { outline: 3px solid #1265b0; outline-offset: 2px; }.search-clear { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; padding: 0; color: #40515e; background: transparent; border: 0; border-radius: 3px; font-size: 20px; line-height: 1; }.search-clear:hover { background: #eef2f5; }
.delete-dialog { width: min(440px, calc(100vw - 32px)); padding: 22px; color: #000; border: 1px solid #b9c3cd; border-radius: 5px; box-shadow: 0 12px 34px rgb(0 0 0 / 22%); }.delete-dialog::backdrop { background: rgb(0 0 0 / 42%); }.delete-dialog h2 { margin-bottom: 10px; }.delete-dialog p { line-height: 1.45; }.delete-dialog .form-actions { justify-content: flex-end; }.delete-dialog .field-error { margin-bottom: 0; }
.empty, .loading { padding: 24px 0; color: #555; }.status { display: inline-block; padding: 4px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; }.status.draft { color: #624700; background: #fff2cf; }.status.submitted { color: #155724; background: #dff3e3; }
.editor-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }.editor-heading h2 { margin: 15px 0 5px; }.rating-rule { margin: 0; font-size: 12px; }.status-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }.back-link { border: 0; padding: 0; color: #145b94; background: transparent; text-decoration: underline; }
.message { margin: 14px 0; padding: 11px 13px; border-left: 4px solid #145b94; background: #eef6fc; }.message.error { border-color: #ad1f1f; background: #fff0f0; }.message.success { border-color: #277c43; background: #ebf8ef; }.progress { font-size: 13px; color: #3f3f3f; }
.person-form, .person-summary { max-width: 560px; padding: 16px; border: 1px solid #d7d7d7; background: #fafbfc; }.person-form label, .person-label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }.person-form input, .person-edit-input { width: 100%; max-width: 420px; height: 34px; padding: 6px 8px; border: 1px solid #b9c3cd; border-radius: 4px; }.person-form input:invalid, .person-edit-input.has-error { border-color: #ad1f1f; background: #fff5f5; }.field-error { margin: 7px 0 0; color: #a01414; font-size: 12px; }.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }.person-summary { display: flex; align-items: center; flex-wrap: wrap; column-gap: 10px; row-gap: 5px; margin-bottom: 12px; }.person-summary .person-label { width: 100%; margin: 0; }.person-summary .back-link { margin-left: 4px; }.person-summary .form-actions { margin: 0; }
.auth-card { width: min(440px, 100%); margin: 32px auto; padding: 24px; border: 1px solid #d7d7d7; background: #fafbfc; }.auth-card h2 { margin-bottom: 8px; }.auth-card p { color: #3f3f3f; }.login-form, .password-form { display: grid; gap: 8px; }.login-form label, .password-form label { margin-top: 6px; font-size: 12px; font-weight: 700; }.login-form input, .password-form input { height: 36px; padding: 6px 8px; border: 1px solid #b9c3cd; border-radius: 4px; }.user-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid #d7d7d7; }.user-meta { display: block; margin-top: 4px; color: #535353; font-size: 12px; }
.sort-control { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 12px; font-weight: 700; }.sort-control select { min-height: 31px; padding: 4px 8px; border: 1px solid #b9c3cd; border-radius: 4px; background: #fff; color: #16334e; }
.go-top { display: inline-block; margin-top: 18px; color: #145b94; font-size: 13px; text-decoration: underline; }.go-top:focus-visible { outline: 3px solid #1265b0; outline-offset: 2px; }
.table-wrap { overflow-x: auto; border-top: 1px solid #d9d9d9; } table { width: 100%; min-width: 760px; border-collapse: collapse; } th { position: sticky; top: 0; z-index: 2; padding: 6px 12px; text-align: left; color: #fff; background: #595959; border-bottom: 1px solid #cfcfcf; font-size: 12px; } td { min-height: 0; padding: 8px 12px; vertical-align: middle; border-bottom: 1px solid #ddd; } th:first-child, td.number { width: 48px; text-align: right; } th:nth-child(2), td.rating { width: 78px; text-align: center; } th:last-child { width: 190px; color: #fff; background: #595959; font-size: 12px; } td.categories { width: 190px; color: #000; background: #fff; font-size: 12px; }
.assessment-row-blue > td { background: #D9E7FD; }.assessment-row-gray > td { background: #F2F2F2; }
.rating input { width: 46px; height: 24px; padding: 1px 3px; text-align: center; appearance: textfield; -moz-appearance: textfield; border: 1px solid #d6dde3; border-radius: 4px; }.rating input::-webkit-inner-spin-button, .rating input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }.rating input:invalid, .rating input.has-error { border-color: #ad1f1f; background: #fff5f5; }.question-text { display: block; margin-bottom: 3px; }.question-rule { display: block; font-size: 12px; }.category-chip { display: inline-block; margin: 1px 4px 1px 0; padding: 1px 5px; color: #000; background: transparent; border-radius: 3px; }
@media (max-width: 680px) { .site-header { padding: 12px 16px; }.site-brand { gap: 8px; }.site-logo { width: 36px; height: 36px; }.site-header h1 { font-size: 16px; }.site-header .button { padding: 8px 10px; font-size: 12px; }.account-actions { width: 100%; justify-content: flex-end; gap: 5px; }.nav-icons { gap: 5px; } main { padding: 20px 16px 48px; }.editor-heading, .intro { display: block; }.status-actions { justify-content: flex-start; margin-top: 14px; }.table-wrap { overflow: visible; border: 0; } table, tbody, tr, td { display: block; min-width: 0; } thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } tr { position: relative; padding: 8px 12px 8px 68px; border-bottom: 1px solid #ddd; } td { width: auto !important; min-height: 0; padding: 0; border: 0; text-align: left !important; } td.number { position: absolute; top: 11px; left: 14px; font-weight: 700; } td.rating { position: absolute; top: 7px; left: 33px; }.question-rule { margin-top: 3px; }.categories { margin-top: 6px; }.assessment-card { grid-template-columns: 1fr; }.assessment-actions { grid-template-columns: 1fr; }.assessment-type-actions { justify-content: flex-start; }.user-row { display: block; }.user-row .assessment-actions { margin-top: 10px; justify-content: flex-start; } }
