.secure-notice {
  padding: 18px 22px;
  background: #f1f6fd;
  border: 1px solid #d5e2f3;
  border-radius: 12px;
  margin: 18px 0;
  line-height: 1.65;
  color: #34465d;
}
.secure-notice h2,
.secure-notice h3 {
  margin: 0 0 8px;
}
.secure-notice p {
  margin: 6px 0;
}
.secure-error {
  padding: 18px;
  border: 1px solid #e7a3a3;
  background: #fff4f4;
  color: #912525;
  border-radius: 10px;
}
.secure-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.secure-card {
  border: 1px solid #d6e0ed;
  background: white;
  text-align: left;
  padding: 28px;
  border-radius: 14px;
  cursor: pointer;
  color: #152a45;
}
.secure-card b {
  display: block;
  font-size: 20px;
  margin-bottom: 12px;
}
.secure-card span {
  font-size: 14px;
  color: #5c6e85;
}
.secure-filters,
.secure-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.secure-filters label,
.secure-form label,
#secureUpload label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #43546a;
  font-size: 13px;
}
.secure-filters input,
.secure-filters select,
.secure-form input,
.secure-form select,
.secure-form textarea {
  padding: 10px;
  border: 1px solid #cad5e4;
  border-radius: 7px;
  width: 100%;
  font: inherit;
}
.secure-form .full {
  grid-column: 1/-1;
}
.secure-permissions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.secure-permissions label {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.secure-permissions input {
  width: auto;
}
.secure-table {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #fff;
}
.secure-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.secure-table th,
.secure-table td {
  padding: 12px;
  border-bottom: 1px solid #e8edf3;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.secure-table th {
  background: #f0f5fb;
}
.secure-table small {
  display: block;
  margin-top: 5px;
  color: #62748a;
}
.secure-table code {
  font-size: 11px;
}
.secure-pager,
.secure-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.secure-pager {
  justify-content: flex-end;
}
.secure-pager button:disabled {
  opacity: 0.45;
  cursor: default;
}
.secure-file-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid #dde6ef;
  gap: 20px;
}
.secure-document-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 25px;
  background: #fff;
  border: 1px solid #d8e2ed;
  min-height: 140px;
  margin: 20px 0;
}
#secureUpload {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-top: 20px;
}
#secureUpload .secure-notice {
  width: 100%;
}
.secure-print-frame {
  width: 100%;
  height: 65vh;
  border: 1px solid #cdd8e5;
}
.secure-print-modal {
  width: min(1060px, 96vw) !important;
  max-width: 1060px !important;
}
.equipment-upload-preview [data-eq-private-photo] {
  width: 100%;
  min-height: 45px;
}
.equipment-upload-preview small {
  font-size: 10px;
}
.equipment-session-status {
  margin: 8px 0;
  padding: 10px;
  font-size: 12px;
  color: #52657f;
}
.equipment-upload-preview .equipment-photo-replace {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fff;
  padding: 3px;
  font-size: 10px;
  cursor: pointer;
}
.equipment-photo-replace input {
  display: none;
}
@media (max-width: 800px) {
  .secure-filters,
  .secure-form {
    grid-template-columns: 1fr;
  }
  .secure-table th,
  .secure-table td {
    padding: 8px;
  }
  .secure-permissions {
    grid-template-columns: 1fr;
  }
  .secure-cards {
    grid-template-columns: 1fr;
  }
}
.hidden {
  display: none !important;
}
.login-brand-logo-shell {
  display: inline-flex;
  width: min(280px, 90%);
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}
.login-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.sidebar-logo-shell {
  display: inline-flex;
  width: 180px;
  max-width: 100%;
  background: #fff;
  border-radius: 9px;
  padding: 8px;
}
.sidebar-logo-shell img {
  width: 100%;
  height: auto;
}
.secure-form input:read-only {
  background: #f3f6fa;
  color: #687c92;
}
.role-preset-fieldset {
  border: 1px solid #d5e1f0;
  border-radius: 12px;
  padding: 16px;
  margin: 0;
}
.role-preset-fieldset > p {
  margin: 4px 0 12px;
  color: #58708c;
  font-size: 13px;
}
.role-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}
.role-preset-grid .role-preset {
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid #c9d8e9;
  background: #fff;
  color: #173454;
  font-weight: 700;
  cursor: pointer;
}
.role-preset-grid .role-preset:hover,
.role-preset-grid .role-preset[aria-pressed='true'] {
  border-color: #1769c8;
  background: #eaf3ff;
  color: #0a4d9b;
}
.role-preset-fieldset .role-preset-status {
  margin: 12px 0 0;
}
