:root { --workspace-width: 980px; } /* Full-width overview and exposure tables are the only main-content exception. */
* { box-sizing: border-box; font-family: 'Quattrocento', serif; font-size: 12px; color: #151515; }
body { margin: 0; background: #fff; }
.masthead { display: flex; align-items: center; min-height: 58px; gap: 18px; padding: 6px 14px; background: linear-gradient(to right, white, darkgrey); border-bottom: 1px solid #aeb8c0; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.brand img { flex: 0 0 auto; }
.brand-lockup { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.brand-first { font: 25px 'Oswald', sans-serif; letter-spacing: .3px; color: #000; }
.brand-last { font: italic 14px 'Oswald', sans-serif; letter-spacing: .15px; color: #000; }
.first { margin: 0; display: inline; font: 30px 'Oswald', sans-serif; color: #000; }
.last { margin: 0; display: inline; font: italic 16px 'Oswald', sans-serif; color: #000; }
.tabs { align-self: flex-end; display: flex; align-items: center; gap: 2px; min-width: 0; margin-bottom: 3px; }
.tabs a { padding: 5px 9px; border-radius: 3px; text-decoration: none; cursor: pointer; }
.tabs a { color: #40586c; border: 1px solid transparent; font-weight: bold; }
.ButtonTabActive { color: #102f49 !important; background: #dceafa; border-color: #b5cde3 !important; font-weight: bold; }
.ButtonTabInActive:hover, .ButtonTabInActive:focus-visible { color: #174c7c; background: #e5f0fa; border-color: #c3d6e8; }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.link-button { border: 0; background: transparent; color: #174c7c; text-decoration: none; cursor: pointer; padding: 0; font-weight: bold; }
.link-button:hover, .link-button:focus-visible { text-decoration: underline; }
.account-login { color: #174c7c; text-decoration: none; font-weight: bold; }
.account-login:hover, .account-login:focus-visible { text-decoration: underline; }
.header-create { color: #174c7c; text-decoration: none; font-weight: bold; }
.header-create::before { content: "+"; display: inline-block; margin-right: 3px; color: #326a99; font-size: 15px; line-height: 10px; }
.header-create:hover, .header-create:focus-visible { text-decoration: underline; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; max-width: 190px; cursor: pointer; list-style: none; color: #40586c; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu summary::after { content: "⌄"; margin-left: 5px; color: #40586c; font-size: 14px; }
.account-menu-panel { position: absolute; z-index: 10; top: calc(100% + 7px); right: 0; display: grid; min-width: 156px; padding: 5px; border: 1px solid #b5cde3; border-radius: 3px; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .16); }
.account-menu-panel a, .account-menu-panel form { display: block; }
.account-menu-panel a, .account-menu-panel .link-button { width: 100%; padding: 6px 8px; color: #29495f; text-align: left; text-decoration: none; }
.account-menu-panel a:hover, .account-menu-panel .link-button:hover { background: #e7f0fa; text-decoration: none; }
#MainFrame { min-height: 420px; padding: 10px; background: #fff; }
.welcome { min-height: 50vh; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 16px; }
.welcome img { max-width: 100%; }
.welcome-login { display: grid; width: min(100%, 360px); gap: 14px; padding: 18px 20px; border: 1px solid #b5cde3; border-radius: 4px; background: #edf5fd; text-align: center; box-shadow: 0 1px 2px rgb(16 47 73 / 12%); }
.welcome-login h3 { margin: 0; font: 19px 'Oswald', sans-serif; color: #173a58; }
.welcome-login p { margin: 5px 0 0; color: #465766; line-height: 1.4; }
.welcome-login .button { width: 100%; min-height: 34px; }
.welcome-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.not-found { display: flex; min-height: 50vh; max-width: 560px; margin: 0 auto; padding: 48px 24px; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
.not-found-code { margin: 0; color: #326a99; font: 64px 'Oswald', sans-serif; line-height: 1; }
.not-found h1 { margin: 10px 0 8px; font: 30px 'Oswald', sans-serif; }
.not-found p:not(.not-found-code) { max-width: 390px; margin: 0 0 22px; color: #40586c; font-size: 14px; line-height: 1.5; }
.filter form, .editor form, .login-panel form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.filter { max-width: var(--workspace-width); }
.legacy-filter { display: block !important; }
.legacy-filter-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: var(--workspace-width); }
.legacy-filter details { margin: 0 0 10px; border: 1px solid #c3d2e0; background: #fff; }
.legacy-filter summary { cursor: pointer; font-weight: bold; padding: 8px 10px; list-style: none; background: #e7f0fa; }
.legacy-filter summary:hover { background: #dceafa; }
.legacy-filter summary::-webkit-details-marker { display: none; }
.legacy-filter summary::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -2px; background: url("/static/expand.jpg") center/contain no-repeat; }
.legacy-filter details[open] > summary::before { background-image: url("/static/collapse.jpg"); }
.legacy-filter-panel { padding: 8px 10px; overflow-x: auto; }
.legacy-filter-row { display: flex; align-items: center; gap: 6px; min-height: 29px; margin: 3px 0; padding: 3px 0; }
.legacy-filter-row + .legacy-filter-row { border-top: 1px solid #edf0f3; }
.legacy-filter-row .labelSize { width: 145px; min-width: 145px; max-width: 145px; padding-top: 0; line-height: 1.25; color: #374957; font-weight: bold; overflow-wrap: normal; word-break: normal; }
.legacy-filter-row select[multiple] { width: 283px; max-width: 283px; min-height: 92px; }
.legacy-text { width: 279px; max-width: 279px; min-height: 27px; }
.legacy-operator { width: 45px; min-width: 45px; }
.legacy-comparison-value { width: 65px; min-width: 65px; min-height: 27px; }
.legacy-join { width: 60px; min-width: 60px; }
.legacy-next-clause.hidden { display: none; }
.legacy-next-clause { display: inline-flex; gap: 2px; }
.legacy-date-range { display: flex; gap: 6px; }
.legacy-date-range label { gap: 2px; color: #374957; font-size: 12px; font-weight: bold; }
.legacy-date-range input { width: 130px; min-width: 130px; }
.legacy-number-range { display: flex; align-items: end; gap: 6px; }
.legacy-number-range label { gap: 2px; color: #374957; font-size: 12px; font-weight: bold; }
.legacy-number-range input { width: 96px; min-width: 96px; }
.legacy-range-unit { padding-bottom: 5px; color: #596d7d; font-size: 12px; white-space: nowrap; }
.legacy-range-unit sup { color: inherit; }
@media (max-width: 900px) { .legacy-filter-columns { grid-template-columns: 1fr; row-gap: 0; } }
@media (max-width: 520px) {
  .legacy-filter-panel { overflow-x: hidden; }
  .legacy-filter-row { align-items: flex-start; flex-wrap: wrap; }
  .legacy-filter-row .labelSize { width: 100%; min-width: 0; max-width: none; }
  .legacy-filter-row .legacy-text { width: 100%; max-width: none; }
  .legacy-filter-row input[list] { min-height: 32px; }
  .legacy-date-range { width: 100%; }
  .legacy-date-range label { flex: 1; }
  .legacy-date-range input { width: 100%; min-width: 0; }
  .legacy-number-range { width: 100%; }
  .legacy-number-range label { flex: 1; }
  .legacy-number-range input { width: 100%; min-width: 0; }
  .legacy-range-unit { padding-bottom: 5px; }
}
@media print { .masthead, .tabs, .filter { display: none; } #MainFrame { border: 0; padding: 0; } }
label { display: flex; flex-direction: column; gap: 4px; }
input, select, textarea { max-width: 280px; min-height: 24px; border: 1px solid #999; background: #fff; padding: 3px; }
textarea { min-height: 72px; width: 280px; }
.button, button, .legacy-button, .grid-select { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 5px 10px; color: #29495f; border: 1px solid #8c9dab; border-radius: 3px; background: #fff; text-decoration: none; cursor: pointer; font-weight: bold; line-height: 1.1; }
.button:hover, .button:focus-visible, button:hover, button:focus-visible, .legacy-button:hover, .legacy-button:focus-visible, .grid-select:hover, .grid-select:focus-visible { color: #174c7c; border-color: #719cc7; background: #e7f0fa; }
.button-primary, button.button-primary { color: #fff; border-color: #24557e; background: #326a99; }
.button-primary:hover, .button-primary:focus-visible, button.button-primary:hover, button.button-primary:focus-visible { color: #fff; border-color: #1c476a; background: #24557e; }
.button-danger, button.button-danger { color: #fff; border-color: #9f2323; background: #b53838; }
.button-danger:hover, .button-danger:focus-visible, button.button-danger:hover, button.button-danger:focus-visible { color: #fff; border-color: #7f1b1b; background: #942b2b; }
.button-compact { min-height: 26px; padding: 3px 7px; font-size: 11px; }
button.link-button { display: inline; min-height: 0; padding: 0; color: #174c7c; border: 0; background: transparent; }
.result-count { margin: 14px 0 5px; }
.overview { max-width: none; }
.overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 8px; }
.overview-actions > span { margin-right: 2px; color: #555; font-weight: bold; }
.overview-table-wrap { overflow-x: auto; border: 1px solid #b1cbec; }
.overview-grid { min-width: 860px; border: 0; }
.overview-grid th { padding: 6px 7px; background: #e7f0fa; border-bottom: 1px solid #b1cbec; }
.overview-grid td { padding: 6px 7px; }
.overview-grid tbody tr { background: #fffdf0; }
.overview-grid tbody tr:hover { background: #f3f8ff; }
.overview .grid-pagination { margin-top: 0; padding: 8px; border: 1px solid #b1cbec; border-top: 0; background: #f5f9fd; }
.overview .grid-pager a, .overview .grid-pager span { min-width: 25px; padding: 3px 5px; text-align: center; }
.overview .grid-pager a { color: #174c7c; border: 1px solid #b1cbec; background: #fff; text-decoration: none; }
.overview .grid-pager [aria-current="page"] { color: #fff; background: #326a99; }
.result-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 12px 0 7px; padding: 9px 11px; border-left: 3px solid #6899c7; background: #edf5fd; color: #29495f; }
.filter .result-summary { max-width: var(--workspace-width); }
.result-summary-count { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.result-summary-count strong { color: #174c7c; font-size: 17px; }
.active-query { display: flex; align-items: flex-start; gap: 7px; min-width: 0; padding-left: 16px; border-left: 1px solid #b8cde0; }
.result-summary-clear { margin-left: auto; white-space: nowrap; }
.active-query-label { flex: 0 0 auto; font-weight: bold; }
.active-query code { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.query-field { color: #005a9c; font-weight: bold; }
.query-operator, .query-keyword { color: #7a3e00; font-weight: bold; }
.query-value { color: #246b35; }
.data-grid { width: 100%; border-collapse: collapse; border: 1px solid #b1cbec; background: lightyellow; }
.data-grid th, .data-grid td { padding: 3px; text-align: left; border-right: 1px solid #b1cbec; vertical-align: top; }
.data-grid th { font-weight: bold; background: lightyellow; }
.data-grid .sort-link { display: inline-flex; align-items: center; gap: 3px; color: inherit; text-decoration: none; }
.data-grid .sort-link:hover, .data-grid .sort-link:focus-visible { color: #0645ad; text-decoration: underline; }
.data-grid .sort-link.active { color: #0645ad; }
.data-grid tbody tr { background: lightyellow; }
.data-grid tbody tr:nth-child(even) { background: #fff; }
.data-grid td:first-child { width: 1%; white-space: nowrap; }
.grid-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 6px 3px; background: lightyellow; }
.grid-range { margin: 0; }
.page-size { display: flex; align-items: center; gap: 4px; }
.page-size label { display: inline-flex; flex-direction: row; align-items: center; gap: 4px; }
.grid-pager { display: flex; gap: 5px; align-items: center; }
.grid-pager a, .grid-pager span { padding: 2px 4px; }
.grid-pager span { font-weight: bold; }
.grid-pager [aria-disabled="true"] { color: #777; font-weight: normal; }
.exposure-page { max-width: none; }
.exposure-controls { margin: 0 0 12px; padding: 12px; border: 1px solid #b1cbec; background: #edf5fd; }
.exposure-selector { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 0; }
.exposure-selector label { display: grid; gap: 5px; min-width: min(100%, 420px); color: #374957; font-weight: bold; }
.exposure-selector select { width: 100%; min-width: min(100%, 420px); max-width: 100%; min-height: 30px; }
.exposure-export-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 8px; }
.exposure-export-actions > span { margin-right: 2px; color: #555; font-weight: bold; }
.exposure-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #9ebbd6; background: #b1cbec; }
.exposure-grid { width: max-content; min-width: 100%; border: 0; }
.exposure-grid th { padding: 6px 8px; background: #b1cbec; border-bottom: 1px solid #8eafd2; }
.exposure-grid tbody tr { background: #bfdbff; }
.exposure-grid tbody tr:nth-child(even) { background: #fff; }
.exposure-grid tbody tr:hover { background: #e7f1ff; }
.exposure-grid td { padding: 6px 8px; text-align: center; white-space: nowrap; }
.login-panel { max-width: 400px; margin: 40px auto; padding: 20px; background: #e1e1e1; border: 1px solid #676767; }
.login-panel form, .editor form { flex-direction: column; align-items: stretch; }
.auth-panel { max-width: 430px; padding: 0; overflow: hidden; background: #fff; border-color: #9eb5ca; }
.auth-panel-heading { padding: 20px 22px 16px; background: #e7f0fa; border-bottom: 1px solid #b1cbec; }
.auth-panel-heading h2 { margin: 0; font: 22px 'Oswald', sans-serif; }
.auth-panel-heading p { margin: 5px 0 0; color: #465766; line-height: 1.4; }
.auth-form { display: grid !important; gap: 14px; padding: 20px 22px; }
.auth-field { display: grid; gap: 5px; font-weight: bold; }
.auth-field input { width: 100%; max-width: none; min-height: 32px; padding: 6px 8px; }
.auth-field small { color: #555; font-weight: normal; }
.password-control { display: flex; gap: 6px; }
.password-control input { flex: 1 1 auto; min-width: 0; }
.password-toggle { flex: 0 0 auto; min-height: 32px; white-space: nowrap; }
.auth-submit { width: 100%; min-height: 34px; margin-top: 3px; color: #fff; background: #326a99; border-color: #24557e; border-radius: 3px; font-weight: bold; }
.auth-submit:hover, .auth-submit:focus-visible { background: #24557e; }
.auth-panel .message.error { margin: 16px 22px 0; border: 1px solid #9f2323; }
.auth-footer { display: flex; flex-wrap: wrap; gap: 5px; padding: 13px 22px; border-top: 1px solid #e1e1e1; background: #fafafa; color: #555; }
.auth-footer a { color: #174c7c; font-weight: bold; }
.auth-help { line-height: 1.4; }
.user-management { max-width: var(--workspace-width); }
.user-page-header { padding-bottom: 8px; }
.section-label { margin: 0 0 3px; color: #555; font-weight: bold; text-transform: uppercase; letter-spacing: .05em; }
.user-page-actions { display: flex; align-items: center; gap: 8px; }
.user-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0; color: #556675; }
.user-summary span + span { padding-left: 14px; border-left: 1px solid #d4dce3; }
.user-table-wrap { overflow-x: auto; border: 1px solid #c6d5e2; border-radius: 3px; background: #fff; }
.user-grid { min-width: 600px; border: 0; background: #fff; }
.user-grid th { padding: 8px 10px; color: #374957; border-right: 0; border-bottom: 1px solid #c6d5e2; background: #edf5fd; }
.user-grid td { padding: 10px; border-right: 0; border-bottom: 1px solid #e2e8ed; vertical-align: middle; }
.user-grid tbody tr, .user-grid tbody tr:nth-child(even) { background: #fff; }
.user-grid tbody tr:hover { background: #f5f9fd; }
.user-grid tbody tr:last-child td { border-bottom: 0; }
.user-identity { min-width: 220px; }
.user-name, .user-username { display: block; }
.user-name { font-size: 13px; }
.user-username { margin-top: 2px; color: #596d7d; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; }
.user-created { color: #555; white-space: nowrap; }
.user-action { width: 1%; white-space: nowrap; text-align: right; }
.user-badge { display: inline-block; min-width: 92px; padding: 3px 7px; border: 1px solid; border-radius: 10px; text-align: center; font-size: 11px; font-weight: bold; }
.user-badge-admin { color: #174c7c; background: #dcecff; border-color: #92b9e0; }
.user-badge-user { color: #555; background: #f3f3f3; border-color: #c5c5c5; }
.user-badge-active { color: #216738; background: #e2f4e7; border-color: #9fc8aa; }
.user-badge-disabled { color: #8a2525; background: #fbe6e6; border-color: #dfa7a7; }
.user-form { max-width: none; }
.user-form-card { margin: 12px 0; border: 1px solid #b5b5b5; background: #fff; }
.user-form-card h3 { margin: 0; padding: 6px 9px; font: bold 14px 'Oswald', sans-serif; background: #e7f0fa; border-bottom: 1px solid #b5b5b5; }
.user-fields { padding: 14px; }
.user-access-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.user-option { display: flex; align-items: flex-start; gap: 9px; min-height: 74px; padding: 12px; border-right: 1px solid #e1e1e1; cursor: pointer; }
.user-option:last-child { border-right: 0; }
.user-option input { width: auto; min-height: auto; margin-top: 2px; }
.user-option span { display: grid; gap: 3px; }
.user-option small { color: #555; line-height: 1.35; }
.user-option-danger { background: #fffafa; }
.password-choice { gap: 10px; }
.password-choice legend { padding: 0; font-weight: bold; }
.password-choice-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #d4dce3; border-radius: 3px; overflow: hidden; }
.password-choice-options-edit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.password-choice-option { display: flex; align-items: flex-start; gap: 9px; min-height: 78px; padding: 12px; cursor: pointer; }
.password-choice-option + .password-choice-option { border-left: 1px solid #d4dce3; }
.password-choice-selected { background: #edf5fd; }
.password-choice-option input { width: auto; min-height: auto; margin-top: 2px; }
.password-choice-option span { display: grid; gap: 3px; }
.password-choice-option small { color: #555; line-height: 1.35; }
.password-manual { margin-top: 2px; }
.password-manual.hidden { display: none; }
.generated-password { max-width: 520px; margin: 16px 0; padding: 18px 20px; border: 1px solid #b5cde3; border-radius: 4px; background: #edf5fd; }
.generated-password h3 { margin: 0; font: 19px 'Oswald', sans-serif; color: #173a58; }
.generated-password p { margin: 7px 0 12px; color: #465766; }
.generated-password-value { display: block; padding: 12px; border: 1px solid #9eb5ca; border-radius: 3px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; font-weight: bold; letter-spacing: .08em; overflow-wrap: anywhere; }
.account-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; padding: 14px; }
.account-details dt { font-weight: bold; }
.account-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.message.error { background: #c00; color: white; padding: 8px; font-weight: bold; }
.detail { max-width: var(--workspace-width); }
.editor { max-width: var(--workspace-width); }
.detail-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 9px; border-bottom: 1px solid #b5b5b5; }
.detail-title > :first-child { flex: 1 1 auto; min-width: 0; }
.detail-title h2 { margin: 0; font: 22px 'Oswald', sans-serif; }
.detail-subtitle { margin: 2px 0 0; color: #555; }
.detail-actions { display: flex; flex: 0 0 auto; flex-wrap: nowrap; gap: 5px; white-space: nowrap; }
.detail-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.detail-section { border: 1px solid #b5b5b5; background: #fff; }
.detail-section:nth-child(6) { grid-column: 1 / -1; }
.detail-section h3 { margin: 0; padding: 5px 7px; font: bold 14px 'Oswald', sans-serif; background: #e1e1e1; border-bottom: 1px solid #b5b5b5; }
.detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-field { display: grid; grid-template-columns: minmax(110px, 42%) 1fr; min-width: 0; padding: 4px 7px; border-bottom: 1px solid #eee; }
.detail-field-wide { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 4px; }
.detail-field-wide dd { line-height: 1.5; }
.detail-field:nth-last-child(-n+2) { border-bottom: 0; }
.detail-field dt { font-weight: bold; }
.detail-field dd { min-width: 0; overflow-wrap: anywhere; }
.detail-unit { margin-left: 4px; color: #555; white-space: nowrap; }
.detail-unit sup { color: inherit; }
.blowout-editor-form { display: block !important; }
.editor-title { margin-bottom: 12px; }
.editor-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.editor-section:nth-child(6) { grid-column: 1 / -1; }
.editor-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.editor-field { min-width: 0; }
.editor-field-wide { grid-column: 1 / -1; }
.editor-field label { display: block; margin-bottom: 4px; font-weight: bold; }
.editor-field input, .editor-field textarea, .editor-field select { width: 100%; max-width: none; }
.editor-field input, .editor-field select { min-height: 32px; padding: 6px 8px; }
.editor-field .password-choice-option input[type="radio"] { width: auto; min-height: auto; padding: 0; }
.editor-field textarea { min-height: 88px; }
.editor-control { display: flex; align-items: center; gap: 6px; }
.editor-control input { flex: 1 1 auto; min-width: 0; }
.editor-static { margin: 0; min-height: 32px; padding: 6px 8px; border: 1px solid #999; background: #f5f5f5; }
.editor-help { margin: 4px 0 0; color: #555; }
.editor-actions { display: flex; justify-content: flex-end; gap: 8px; }
.attachments { margin-top: 12px; }
.attachments h3 { margin: 0 0 5px; font: bold 14px 'Oswald', sans-serif; }
.attachments-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.attachments-title h3 { margin: 0; }
.attachment-panel { padding: 12px; }
.attachment-empty { margin: 0; color: #555; }
.attachment-list { max-width: var(--workspace-width); border: 1px solid #c6d5e2; border-radius: 3px; background: #fff; }
.attachment-manager .attachment-list { max-width: none; }
.attachment-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; }
.attachment-item + .attachment-item { border-top: 1px solid #e2e8ed; }
.attachment-item:hover { background: #f5f9fd; }
.attachment-type { flex: 0 0 42px; padding: 3px 5px; color: #40586c; border: 1px solid #c6d5e2; border-radius: 2px; background: #edf5fd; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: bold; text-align: center; }
.attachment-details { flex: 1 1 auto; min-width: 0; }
.attachment-name { display: block; color: #174c7c; font-weight: bold; overflow-wrap: anywhere; }
.attachment-meta { margin-top: 3px; color: #596d7d; font-size: 11px; overflow-wrap: anywhere; }
.attachment-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.attachment-actions form { display: inline; }
.attachment-download { color: #174c7c; font-weight: bold; text-decoration: none; }
.attachment-download:hover, .attachment-download:focus-visible { text-decoration: underline; }
button.link-button.attachment-delete { color: #8a2525; }
button.link-button.attachment-delete:hover, button.link-button.attachment-delete:focus-visible { color: #6d1d1d; }
.attachment-upload { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e1e1e1; }
.attachment-upload h4 { margin: 0 0 10px; font: bold 13px 'Oswald', sans-serif; }
.attachment-upload-form { display: flex !important; flex-direction: column; gap: 12px; }
.attachment-upload-form .editor-fields { padding: 0; }
.attachment-upload-form input[type="file"] { width: 100%; max-width: none; }
.attachment-upload-form .editor-actions { padding: 0; }
.editor-page-actions { margin-top: 16px; padding-top: 12px; border-top: 1px solid #b5b5b5; }
.inline { display: inline; }
dl { display: grid; grid-template-columns: 180px 1fr; gap: 7px 12px; }
dt { font-weight: bold; }
dd { margin: 0; white-space: pre-wrap; }
@media (max-width: 760px) { .detail-title { align-items: flex-start; flex-direction: column; } .detail-sections, .editor-sections { grid-template-columns: 1fr; } .detail-section:nth-child(6), .editor-section:nth-child(6) { grid-column: auto; } .detail-fields, .editor-fields { grid-template-columns: 1fr; } .detail-field:nth-last-child(-n+2) { border-bottom: 1px solid #eee; } .detail-field:last-child { border-bottom: 0; } .result-summary { align-items: flex-start; flex-direction: column; gap: 6px; } .active-query { width: 100%; padding-top: 6px; padding-left: 0; border-top: 1px solid #b8cde0; border-left: 0; } .result-summary-clear { margin-left: 0; } .user-page-actions { width: 100%; justify-content: space-between; } .user-access-options { grid-template-columns: 1fr; } .user-option { border-right: 0; border-bottom: 1px solid #e1e1e1; } .user-option:last-child { border-bottom: 0; } }
@media (max-width: 580px) { .user-grid { min-width: 440px; } .user-grid .user-created { display: none; } }
@media (max-width: 760px) { .masthead { flex-wrap: wrap; gap: 7px 14px; } .tabs { order: 3; width: 100%; } }
@media (max-width: 640px) { .masthead { min-height: 0; padding: 8px 12px; } .brand-first { font-size: 21px; } .brand-last { font-size: 11px; } .header-tools { gap: 8px; } dl { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 430px) { .brand img { width: 38px; } .header-create { font-size: 0; } .header-create::before { margin: 0; font-size: 20px; } .account-menu summary { max-width: 135px; } }
