:root {
  color-scheme: light;
  --ink: #1b2937;
  --muted: #5f7082;
  --line: #d7e1e8;
  --surface: #ffffff;
  --surface-raised: #f8fafc;
  --surface-soft: #eff3f7;
  --page: #f1f5f8;
  --orange: #007f96;
  --orange-dark: #006477;
  --orange-soft: #e4f7f9;
  --brand-cyan: #00AFC8;
  --sidebar: #102033;
  --sidebar-hover: #21394d;
  --text-on-accent: #ffffff;
  --status-info-bg: #e8f0f8;
  --status-info-text: #315c83;
  --status-review-bg: #f0ebf7;
  --status-review-text: #5e4a85;
  --status-success-bg: #e6f2eb;
  --status-success-text: #286044;
  --status-danger-bg: #f8e9e7;
  --status-danger-text: #873b34;
  --shadow-card: 0 4px 16px rgb(24 42 61 / 5%);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 14px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 27px 16px 18px;
  background: var(--sidebar);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 7px 48px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  transform: skew(-5deg);
}

.brand-mark img {
  display: block;
  width: 32px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -0.5px;
}

.brand-copy > span {
  color: #a4a8b1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.sidebar-caption {
  margin: 0 12px 12px;
  color: #858a95;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.15px;
}

.main-nav {
  display: grid;
  gap: 5px;
}

.nav-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 13px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b9bdc6;
  text-align: left;
  transition: background 140ms ease, color 140ms ease;
}

.nav-link:hover {
  background: #252932;
  color: #fff;
}

.nav-link.is-active {
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 650;
}

.nav-icon {
  display: inline-grid;
  width: 19px;
  place-items: center;
  font-size: 18px;
}

.sidebar-note {
  display: flex;
  gap: 9px;
  margin: auto 3px 17px;
  padding: 13px 11px;
  border: 1px solid #343943;
  border-radius: 9px;
  color: #c2c6ce;
}

.note-icon {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border: 1px solid #898f9a;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 9px 0;
  border-top: 1px solid #343943;
  color: #9ca1aa;
  font-size: 11px;
}

.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #68c99a;
}

.main-content {
  min-height: 100vh;
  margin-left: 248px;
}

.topbar {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.2%;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.breadcrumb {
  color: #858b96;
  font-size: 12px;
}

.breadcrumb span {
  padding: 0 8px;
  color: #c0c4cc;
}

.breadcrumb strong {
  color: #424752;
  font-weight: 550;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4e535e;
  font-size: 12px;
  font-weight: 550;
}

.organization-select-wrap select {
  max-width: 150px;
  min-height: 32px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.profile-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fff0e7;
  color: #cc6329;
  font-size: 10px;
  font-weight: 750;
}

.profile-chevron {
  color: #8f949e;
  font-size: 16px;
}

.page-container {
  width: min(100%, 1450px);
  margin: 0 auto;
  padding: 34px 4.2% 56px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #a0a5af;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.35px;
}

h1,
h2,
p {
  margin-top: 0;
}

.page-heading h1 {
  margin-bottom: 7px;
  font-size: clamp(25px, 2.4vw, 31px);
  letter-spacing: -1px;
}

.page-subtitle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--orange);
  color: #fff;
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-primary > span {
  font-size: 17px;
  font-weight: 400;
}

.button-secondary {
  border-color: #dfe2e8;
  background: #fff;
  color: #515762;
}

.button-secondary:hover {
  background: #f6f7f9;
}

.demo-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  padding: 12px 15px;
  border: 1px solid #f2d7c4;
  border-radius: 8px;
  background: #fff8f2;
  color: #79543b;
}

.demo-banner > span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 1px solid #c58150;
  border-radius: 50%;
  color: #007f96;
  font-size: 11px;
  font-weight: 700;
}

.demo-banner p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.stat-card {
  min-height: 130px;
  padding: 17px 18px;
  border: 1px solid #eceef2;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgb(26 31 43 / 3%);
}

.stat-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6e7480;
  font-size: 11px;
  font-weight: 550;
}

.stat-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  font-size: 15px;
}

.orange-icon {
  background: #e4f7f9;
  color: #007f96;
}

.blue-icon {
  background: #eaf3ff;
  color: #4d88d9;
}

.purple-icon {
  background: #f2edff;
  color: #8562d3;
}

.green-icon {
  background: #e8f7ef;
  color: #3d9b6b;
}

.stat-value {
  display: block;
  margin-top: 10px;
  font-size: 27px;
  letter-spacing: -0.8px;
}

.stat-caption {
  display: block;
  margin-top: 3px;
  color: #989da7;
  font-size: 10px;
}

.candidate-panel {
  overflow: hidden;
  border: 1px solid #e9ebf0;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgb(26 31 43 / 3%);
}

.share-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #e9ebf0;
  border-radius: 10px;
  background: var(--surface);
}

.share-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 9px;
  background: #e4f7f9;
  color: var(--orange-dark);
  font-size: 17px;
}

.share-copy h2 {
  margin: 0 0 4px;
  font-size: 12px;
}

.share-copy p {
  margin: 0;
  color: #858b96;
  font-size: 10px;
  line-height: 1.5;
}

.share-controls {
  display: grid;
  width: min(580px, 60%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.share-controls input {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid #e4e6eb;
  border-radius: 6px;
  background: #fafbfc;
  color: #707682;
  font-size: 10px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 21px 17px;
}

.panel-heading h2 {
  margin-bottom: 5px;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.panel-heading p {
  margin-bottom: 0;
  color: #8a909a;
  font-size: 11px;
}

.result-count {
  color: #8a909a;
  font-size: 11px;
  white-space: nowrap;
}

.filters {
  display: flex;
  gap: 10px;
  padding: 0 21px 17px;
}

.search-field,
.status-filter {
  display: flex;
  height: 37px;
  align-items: center;
  border: 1px solid #e4e6eb;
  border-radius: 6px;
  background: #fff;
}

.search-field {
  width: min(330px, 100%);
  gap: 8px;
  padding: 0 10px;
  color: #8d939e;
}

.search-field > span:first-child {
  font-size: 20px;
  line-height: 1;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 11px;
}

.search-field input::placeholder {
  color: #a0a5ae;
}

.status-filter select {
  height: 100%;
  padding: 0 29px 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #656b76;
  font-size: 11px;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid #eff0f3;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}

thead {
  background: #fafbfc;
}

th {
  height: 39px;
  padding: 0 13px;
  color: #8c929d;
  font-size: 10px;
  font-weight: 600;
}

th:first-child,
td:first-child {
  padding-left: 21px;
}

th:last-child,
td:last-child {
  padding-right: 21px;
}

td {
  height: 58px;
  padding: 8px 13px;
  border-top: 1px solid #f0f1f4;
  color: #656b76;
  font-size: 11px;
}

.candidate-name {
  color: #343943;
  font-weight: 650;
}

.candidate-subtitle {
  display: block;
  margin-top: 3px;
  color: #a0a5ae;
  font-size: 9px;
  font-weight: 400;
}

.status-badge {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}

.status-badge::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-novo {
  background: #edf4ff;
  color: #4e7fbd;
}

.status-em-analise {
  background: #f3efff;
  color: #8060c7;
}

.status-aprovado {
  background: #e9f7ef;
  color: #3d9566;
}

.status-reprovado {
  background: #fff0ef;
  color: #c75b53;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.delete-candidate-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  padding: 0;
  border: 1px solid #efd0cb;
  border-radius: 6px;
  background: #fff8f7;
  color: #a63d35;
}

.delete-candidate-button:hover:not(:disabled),
.button-danger {
  background: #a63d35;
  color: #fff;
}

.delete-candidate-button svg,
.button-danger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-danger:hover:not(:disabled) {
  background: #872e28;
}

.text-button {
  padding: 5px 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #d56a2a;
  font-size: 10px;
  font-weight: 650;
}

.text-button:hover {
  background: #fff3eb;
  color: #b75018;
}

.empty-state {
  display: grid;
  justify-items: center;
  padding: 38px 12px;
  color: #818792;
  text-align: center;
}

.empty-state.is-error {
  color: #8d302b;
}

.empty-state > span {
  margin-bottom: 7px;
  color: #b6bbc4;
  font-size: 28px;
}

.empty-state strong {
  color: #515762;
  font-size: 12px;
}

.empty-state p {
  margin: 5px 0 0;
  font-size: 11px;
}

.settings-view {
  padding-top: 3px;
}

.settings-card {
  display: flex;
  max-width: 700px;
  align-items: flex-start;
  gap: 15px;
  padding: 23px;
  border: 1px solid #e9ebf0;
  border-radius: 10px;
  background: #fff;
}

.settings-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 9px;
  background: #e4f7f9;
  color: var(--orange-dark);
  font-size: 18px;
}

.settings-card h2 {
  margin: 1px 0 7px;
  font-size: 15px;
}

.settings-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.landlord-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: 18px;
}

.admin-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.admin-panel .panel-heading {
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-panel .panel-heading h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.admin-panel .panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-panel .form-field {
  margin-bottom: 13px;
}

.admin-panel .form-field b {
  color: var(--orange-dark);
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 17px;
}

.admin-help,
.admin-access-message,
.admin-feedback {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.admin-feedback,
.admin-access-message {
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  background: #f4f8fc;
}

.admin-feedback.is-error,
.admin-access-message.is-error {
  border-color: #e7c2be;
  background: #fff4f2;
  color: #873b34;
}

.admin-help {
  margin: 12px 0 0;
}

.organization-list {
  display: grid;
  gap: 12px;
}

.organization-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.organization-card-heading,
.organization-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.organization-card-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.organization-card-heading h3 {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 14px;
}

.organization-card ul {
  display: grid;
  gap: 9px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.organization-card li > span:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.organization-card li strong,
.organization-card li small {
  overflow-wrap: anywhere;
}

.organization-card li strong {
  font-size: 12px;
}

.organization-card li small {
  color: var(--muted);
  font-size: 11px;
}

.role-pill {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e4f7f9;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 20px;
  background: rgb(16 19 25 / 58%);
}

.modal {
  width: min(100%, 480px);
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 70px rgb(0 0 0 / 22%);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.modal-header .eyebrow {
  margin-bottom: 5px;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.icon-button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: #f4f5f7;
  color: #686e79;
  font-size: 22px;
  line-height: 1;
}

.icon-button:hover {
  background: #e9ebef;
}

.modal-description {
  margin: 10px 0 19px;
  color: #818792;
  font-size: 12px;
  line-height: 1.5;
}

.form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #4d535e;
  font-size: 11px;
  font-weight: 650;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 39px;
  padding: 9px 11px;
  border: 1px solid #dfe2e8;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #30343d;
  font-size: 12px;
  font-weight: 400;
}

.form-field textarea {
  min-height: 78px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #ee9a68;
  box-shadow: 0 0 0 3px rgb(240 120 45 / 12%);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a3a8b1;
}

.required-mark {
  color: #d86134;
}

.optional-label {
  color: #9a9faa;
  font-weight: 400;
}

.field-error {
  min-height: 0;
  color: #c84943;
  font-size: 10px;
  font-weight: 400;
}

.field-error:not(:empty) {
  min-height: 13px;
}

.form-footnote {
  margin: -2px 0 17px;
  color: #9096a0;
  font-size: 10px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

.details-modal {
  width: min(100%, 520px);
  max-height: 90vh;
  overflow-y: auto;
}

.detail-wide h3 {
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: 12px;
}

.details-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 22px;
}

.detail-item {
  min-width: 0;
  padding-bottom: 11px;
  border-bottom: 1px solid #eff0f3;
}

.detail-item.detail-wide {
  grid-column: 1 / -1;
}

.detail-label {
  display: block;
  margin-bottom: 5px;
  color: #9297a1;
  font-size: 10px;
}

.document-mime-type {
  display: block;
  margin: -2px 0 5px;
  color: #9297a1;
  font-size: 10px;
}

.detail-value {
  overflow-wrap: anywhere;
  color: #424752;
  font-size: 12px;
  line-height: 1.5;
}

.status-editor {
  margin-top: 18px;
}

.status-editor .form-field {
  margin-bottom: 0;
}

.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  display: grid;
  gap: 8px;
}

.toast {
  max-width: min(380px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  background: #202a25;
  box-shadow: 0 7px 22px rgb(0 0 0 / 18%);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  animation: toast-in 170ms ease-out;
}

.toast.is-error {
  background: #8d302b;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Formulário público de demonstração */
.public-page {
  min-height: 100vh;
  background: #f6f7f9;
}

.public-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 max(22px, calc((100vw - 1020px) / 2));
  border-bottom: 1px solid #e8eaf0;
  background: #fff;
}

.public-brand {
  margin: 0;
  color: var(--ink);
}

.public-brand .brand-copy > span {
  color: #858a95;
}

.public-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #757b86;
  font-size: 11px;
}

.public-main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 38px 0 24px;
}

.public-intro {
  margin-bottom: 21px;
}

.public-intro h1 {
  margin-bottom: 9px;
  font-size: clamp(25px, 5vw, 34px);
  letter-spacing: -1.2px;
}

.public-intro > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: #737987;
  font-size: 13px;
  line-height: 1.65;
}

.prototype-alert {
  margin-bottom: 17px;
  padding: 14px 16px;
  border: 1px solid #f0d2be;
  border-radius: 9px;
  background: #fff8f2;
  color: #744d34;
  font-size: 11px;
  line-height: 1.6;
}

.prototype-alert strong {
  display: block;
  margin-bottom: 3px;
  color: #803f1e;
  font-size: 12px;
}

.prototype-alert p {
  margin: 0;
}

.public-form-card,
.submission-success {
  padding: 25px 27px;
  border: 1px solid #e9ebf0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(26 31 43 / 4%);
}

.wizard-progress {
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eceef2;
}

.wizard-progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 11px;
  color: #858b96;
  font-size: 10px;
}

.wizard-progress-copy strong {
  color: #424752;
  font-size: 12px;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 9px;
  background: #eef0f3;
}

.progress-track > span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 180ms ease;
}

.step-indicators {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.step-indicators li {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #969ba5;
  font-size: 9px;
}

.step-indicators li > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid #dfe2e8;
  border-radius: 50%;
  background: #fff;
  font-size: 10px;
  font-weight: 650;
}

.step-indicators li.is-current {
  color: #bd5c25;
  font-weight: 700;
}

.step-indicators li.is-current > span,
.step-indicators li.is-complete > span {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.step-indicators li.is-complete {
  color: #6e7480;
}

.wizard-step {
  min-height: 260px;
}

.wizard-step > h2:focus {
  outline: none;
}

.form-section + .form-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #eceef2;
}

.form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.section-number {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 8px;
  background: #e4f7f9;
  color: #d56a2a;
  font-size: 10px;
  font-weight: 750;
}

.form-section-heading h2 {
  margin: 1px 0 4px;
  font-size: 15px;
}

.form-section-heading p {
  margin: 0;
  color: #858b96;
  font-size: 11px;
  line-height: 1.5;
}

.public-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.public-form-card .form-field {
  gap: 7px;
  margin-bottom: 15px;
  font-size: 12px;
}

.public-form-card .form-field input,
.public-form-card .form-field textarea,
.public-form-card .form-field select {
  min-height: 43px;
  font-size: 12px;
}

.public-form-card .form-field textarea {
  min-height: 88px;
}

.public-form-card .form-field input[aria-invalid="true"],
.public-form-card .form-field select[aria-invalid="true"],
.public-form-card .form-field textarea[aria-invalid="true"],
.file-field[aria-invalid="true"] {
  border-color: #c84943;
}

.file-fields {
  display: grid;
  gap: 10px;
}

.file-field {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: flex-start;
  gap: 12px;
  padding: 13px;
  border: 1px dashed #d9dde5;
  border-radius: 8px;
  background: #fcfcfd;
  cursor: pointer;
}

.file-owner-toggle {
  margin: 3px 0 14px;
}

.contact-card {
  margin-bottom: 16px;
  padding: 15px 15px 1px;
  border: 1px solid #e9ebf0;
  border-radius: 8px;
  background: #fcfcfd;
}

.contact-card h3 {
  margin: 0 0 13px;
  color: #4d535e;
  font-size: 12px;
}

.wizard-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #eceef2;
}

.wizard-action-spacer {
  flex: 1;
}

.wizard-actions .button[hidden] {
  display: none;
}

.wizard-actions .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.share-controls .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.red-icon {
  background: #fcebea;
  color: #b42318;
}

.prototype-alert.is-error {
  border-color: #e5b1a8;
  background: #fff3f0;
  color: #8d302b;
}

.prototype-alert.is-success {
  border-color: #b8dbc4;
  background: #eff8f2;
  color: #286044;
}

.submission-summary {
  display: grid;
  gap: 14px;
}

.summary-group {
  padding: 14px;
  border: 1px solid #e9ebf0;
  border-radius: 8px;
  background: #fcfcfd;
}

.summary-group h3 {
  margin: 0 0 10px;
  color: #424752;
  font-size: 12px;
}

.summary-item {
  display: grid;
  gap: 3px;
  padding: 8px 0;
  border-top: 1px solid #eff0f3;
}

.summary-label {
  color: #858b96;
  font-size: 10px;
}

.summary-value {
  overflow-wrap: anywhere;
  color: #424752;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
}

.file-field:hover,
.file-field:focus-within {
  border-color: #e9a276;
  background: #fffaf6;
}

.file-symbol {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 7px;
  background: #f1f2f5;
  color: #777e89;
  font-size: 17px;
}

.file-copy {
  display: grid;
  gap: 4px;
  padding-top: 1px;
}

.file-copy strong {
  color: #4d535e;
  font-size: 11px;
}

.file-copy small {
  color: #858b96;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.file-name {
  overflow-wrap: anywhere;
  color: #d56a2a;
  font-size: 10px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-error {
  position: absolute;
  right: 10px;
  bottom: 3px;
  left: 55px;
}

.file-prototype-note {
  margin: 10px 0 0;
  color: #858b96;
  font-size: 10px;
  line-height: 1.55;
}

.privacy-notice {
  display: flex;
  gap: 11px;
  margin-top: 23px;
  padding: 15px;
  border: 1px solid #e6eaf1;
  border-radius: 8px;
  background: #f7f9fc;
}

.privacy-icon {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  place-items: center;
  border: 1px solid #8693a8;
  border-radius: 50%;
  color: #62728b;
  font-size: 11px;
  font-weight: 700;
}

.privacy-notice h2 {
  margin: 1px 0 6px;
  color: #3f4a5c;
  font-size: 11px;
}

.privacy-notice p {
  margin: 0;
  color: #697486;
  font-size: 10px;
  line-height: 1.6;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  color: #505661;
  font-size: 11px;
  line-height: 1.6;
  cursor: pointer;
}

.consent-field input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.consent-field input[aria-invalid="true"] {
  outline: 2px solid #c84943;
}

.social-choice-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.social-choice-card > .form-field {
  margin-bottom: 10px;
}

.no-instagram-option {
  margin: 7px 0 12px;
}

.alternate-social-fields {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.social-choice-card .additional-socials-field {
  margin: 10px 0 0;
}

.consent-error {
  display: block;
  margin: 4px 0 0 25px;
}

.public-form-footnote {
  margin: 14px 0 0;
  color: #858b96;
  font-size: 10px;
}

.public-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 17px;
  border-top: 1px solid #eceef2;
}

.public-submit {
  min-height: 44px;
}

.submission-success {
  padding: 40px 30px;
  text-align: center;
}

.submission-success .eyebrow {
  margin: 17px 0 8px;
}

.success-check {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e9f7ef;
  color: #3d9566;
  font-size: 23px;
}

.submission-success h2 {
  margin: 0 0 9px;
  font-size: 22px;
  letter-spacing: -0.6px;
}

.submission-success > p:not(.eyebrow) {
  color: #747a85;
  font-size: 12px;
  line-height: 1.6;
}

.success-notice {
  margin: 17px 0 20px;
  padding: 13px;
  border-radius: 7px;
  background: #fff8f2;
  color: #79543b;
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
}

.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 3px 0;
  color: #8a909a;
  font-size: 10px;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .sidebar {
    width: 218px;
  }

  .main-content {
    margin-left: 218px;
  }

  .page-container {
    padding-right: 3%;
    padding-left: 3%;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 15px;
  }

  th,
  td {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 760px) {
  .landlord-admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-panel {
    padding: 15px;
  }

  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    padding: 11px 13px 9px;
  }

  .brand {
    margin: 0 2px 12px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 9px;
    font-size: 18px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .sidebar-caption,
  .sidebar-note,
  .sidebar-footer {
    display: none;
  }

  .main-nav {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding-bottom: 1px;
  }

  .nav-link {
    min-height: 35px;
    flex: 0 0 auto;
    gap: 6px;
    padding: 0 10px;
    font-size: 11px;
  }

  .nav-icon {
    width: auto;
    font-size: 14px;
  }

  .main-content {
    min-height: calc(100vh - 98px);
    margin-left: 0;
  }

  .topbar {
    height: 52px;
    padding: 0 17px;
  }

  .profile {
    gap: 7px;
    font-size: 10px;
  }

  .profile-avatar {
    width: 27px;
    height: 27px;
  }

  .profile-chevron {
    display: none;
  }

  .page-container {
    padding: 25px 16px 42px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .page-heading .button {
    align-self: stretch;
  }

  .share-card {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    padding: 14px;
  }

  .share-controls {
    width: 100%;
  }

  .share-controls .button {
    flex: 0 0 auto;
    padding: 0 11px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }

  .stat-card {
    min-height: 116px;
    padding: 13px;
  }

  .stat-topline {
    font-size: 10px;
  }

  .stat-icon {
    width: 26px;
    height: 26px;
  }

  .stat-value {
    font-size: 24px;
  }

  .panel-heading {
    padding: 16px 15px 14px;
  }

  .filters {
    flex-direction: column;
    padding: 0 15px 14px;
  }

  .search-field,
  .status-filter {
    width: 100%;
  }

  .status-filter select {
    width: 100%;
  }

  table {
    min-width: 780px;
  }

  th:first-child,
  td:first-child {
    padding-left: 15px;
  }

  th:last-child,
  td:last-child {
    padding-right: 15px;
  }

  .toast-region {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .public-header {
    min-height: 58px;
    padding: 0 16px;
  }

  .public-label {
    font-size: 9px;
  }

  .public-main {
    width: min(100% - 24px, 760px);
    padding-top: 25px;
  }

  .public-form-card,
  .submission-success {
    padding: 19px 16px;
  }

  .wizard-progress {
    margin-bottom: 21px;
  }

  .step-indicators li {
    font-size: 8px;
  }

  .step-indicators li > span {
    width: 21px;
    height: 21px;
  }

  .public-fields-grid {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .form-section + .form-section {
    margin-top: 19px;
    padding-top: 19px;
  }

  .file-field {
    padding: 11px;
  }

  .file-error {
    position: static;
    grid-column: 2;
    margin-top: -3px;
  }

  .public-footer {
    flex-direction: column;
    line-height: 1.5;
  }
}

/* Shared product visual system and responsive refinements. */
:focus-visible {
  outline: 3px solid #37c6d9;
  outline-offset: 3px;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--radius-md);
  background: var(--orange);
  color: #102033;
  transform: none;
}

.brand-mark svg,
.brand-mark img {
  display: block;
  width: 31px;
  height: 25px;
  object-fit: contain;
}

.brand-copy strong {
  color: currentColor;
  font-size: 17px;
  letter-spacing: -0.4px;
}

.brand-copy > span {
  letter-spacing: 2px;
}

.sidebar {
  background: var(--sidebar);
}

.nav-link {
  min-height: 46px;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  background: var(--sidebar-hover);
}

.nav-link.is-active {
  background: var(--brand-cyan);
  color: #fff;
  box-shadow: none;
}

.nav-link.is-active:hover {
  background: var(--brand-cyan);
  color: #fff;
}

.nav-link.is-active:focus-visible {
  outline-color: #fff;
}

.main-content,
.public-page {
  background: var(--page);
}

.topbar {
  min-height: 68px;
  background: var(--surface);
}

.organization-select-wrap select {
  max-width: min(260px, 30vw);
  min-height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-size: 12px;
}

.profile-avatar {
  width: 35px;
  height: 35px;
  background: var(--sidebar);
  color: #fff;
  font-size: 13px;
}

.auth-status-banner {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.page-container {
  padding-top: 36px;
}

.page-heading {
  margin-bottom: 28px;
}

.page-heading h1 {
  color: var(--sidebar);
  font-size: clamp(27px, 2.6vw, 34px);
  letter-spacing: -1.2px;
}

.eyebrow {
  color: var(--orange-dark);
  font-size: 10px;
  letter-spacing: 1.2px;
}

.button {
  min-height: 43px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.button:focus-visible,
.nav-link:focus-visible,
.text-button:focus-visible,
.auth-logout:focus-visible {
  outline-offset: 3px;
}

.button-primary {
  background: var(--orange);
}

.button-primary:hover:not(:disabled) {
  background: var(--orange-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover:not(:disabled) {
  border-color: #bac7d4;
  background: var(--surface-raised);
}

.demo-banner {
  border-color: #e7d3c5;
  border-radius: var(--radius-md);
  background: #fffaf5;
  color: #67472f;
}

.stats-grid {
  gap: 16px;
}

.stat-card,
.candidate-panel,
.share-card,
.settings-card,
.admin-panel,
.modal,
.public-form-card,
.submission-success,
.auth-card {
  border-color: var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.stat-card {
  min-height: 137px;
  padding: 19px;
  background: var(--surface);
}

.stat-topline {
  color: var(--muted);
  font-size: 12px;
}

.stat-value {
  color: var(--sidebar);
  font-size: 30px;
}

.stat-caption {
  color: #6c7b8c;
  font-size: 11px;
}

.share-card {
  padding: 18px 20px;
  background: var(--surface);
}

.share-icon,
.settings-icon {
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.share-copy h2,
.panel-heading h2 {
  color: var(--sidebar);
  font-size: 15px;
}

.share-copy p,
.panel-heading p {
  color: var(--muted);
  font-size: 12px;
}

.share-controls input {
  min-height: 43px;
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 12px;
}

.candidate-panel {
  background: var(--surface);
}

.panel-heading {
  padding: 20px 22px 15px;
}

.filters {
  padding: 0 22px 16px;
}

.search-field,
.status-filter select {
  min-height: 43px;
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}

.search-field input,
.status-filter select {
  color: var(--ink);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

thead {
  background: #f2f5f8;
}

th {
  color: #526478;
  font-size: 10px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

td {
  border-bottom-color: #e8edf2;
  color: #34465a;
  font-size: 12px;
}

tbody tr:hover {
  background: #f9fbfd;
}

.candidate-name {
  color: var(--sidebar);
  font-weight: 700;
}

.status-badge {
  min-height: 25px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.text-button {
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--orange-dark);
  font-size: 11px;
}

.text-button:hover:not(:disabled) {
  background: var(--orange-soft);
}

.admin-access-message,
.admin-feedback,
.admin-panel {
  border-color: var(--line);
  border-radius: var(--radius-md);
}

.admin-panel {
  background: var(--surface);
}

.admin-panel .form-field,
.auth-card .form-field,
.public-form-card .form-field {
  color: #26394d;
  font-size: 13px;
  font-weight: 600;
}

.admin-panel .form-field input,
.admin-panel .form-field select,
.auth-card .form-field input,
.public-form-card .form-field input,
.public-form-card .form-field select,
.public-form-card .form-field textarea {
  min-height: 46px;
  border: 1px solid #cbd5df;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.public-form-card .form-field textarea {
  min-height: 100px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.organization-select-wrap select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgb(201 91 27 / 13%);
  outline: none;
}

.admin-help {
  color: #5e7083;
  font-size: 12px;
}

.organization-card {
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background: #f8fafc;
}

.role-pill {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.public-header {
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

.public-label {
  color: #40546a;
}

.public-label .demo-dot {
  background: #498361;
}

.public-main {
  width: min(100% - 36px, 820px);
  padding-top: 38px;
}

.public-intro {
  margin-bottom: 24px;
  padding: 24px 26px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.public-intro h1 {
  max-width: 680px;
  color: var(--sidebar);
  font-size: clamp(27px, 5vw, 37px);
  line-height: 1.12;
}

.public-intro > p:last-child {
  color: #526579;
  font-size: 14px;
  line-height: 1.65;
}

.public-form-card,
.submission-success {
  padding: 28px;
  background: var(--surface);
}

.wizard-progress {
  padding-bottom: 22px;
  border-bottom-color: var(--line);
}

.wizard-progress-copy span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.wizard-progress-copy strong {
  color: var(--sidebar);
  font-size: 15px;
}

.progress-track {
  height: 7px;
  border-radius: 999px;
  background: #e5ebf0;
}

.progress-track > span {
  border-radius: inherit;
  background: var(--orange);
}

.step-indicators li {
  color: #66788a;
}

.step-indicators li > span {
  border-color: #cbd5df;
  background: #fff;
  color: #5d7083;
}

.step-indicators li.is-current > span,
.step-indicators li.is-complete > span {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.form-section-heading {
  gap: 14px;
}

.section-number {
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.form-section-heading h2 {
  color: var(--sidebar);
  font-size: 19px;
}

.form-section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.file-field {
  min-height: 92px;
  border-color: #cbd5df;
  border-radius: var(--radius-sm);
  background: #f8fafc;
}

.file-field:hover,
.file-field:focus-within {
  border-color: var(--orange);
  background: #fffaf6;
}

.file-copy strong {
  color: var(--sidebar);
  font-size: 13px;
}

.file-copy small,
.file-prototype-note {
  color: #586b7e;
  font-size: 12px;
  line-height: 1.55;
}

.file-name {
  color: var(--orange-dark);
  font-weight: 650;
}

.contact-card,
.social-choice-card,
.privacy-notice {
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background: #f7f9fb;
}

.contact-card h3 {
  color: var(--sidebar);
}

.privacy-notice {
  gap: 13px;
  padding: 17px;
}

.privacy-notice h2 {
  color: var(--sidebar);
  font-size: 14px;
}

.privacy-notice p {
  color: #4d6175;
  font-size: 12px;
}

.consent-field {
  color: #34485d;
  font-size: 13px;
}

.consent-field input {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

.wizard-actions {
  position: sticky;
  bottom: 10px;
  z-index: 1;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 4px 18px rgb(24 42 61 / 9%);
  backdrop-filter: blur(8px);
}

.prototype-alert {
  border-color: #e6d2c2;
  border-radius: var(--radius-sm);
  background: #fffaf5;
  color: #67472f;
  font-size: 12px;
}

.auth-page {
  background:
    linear-gradient(135deg, #edf2f6 0%, #f6f8fa 58%, #fbf1e9 100%);
}

.auth-card {
  width: min(100%, 470px);
  padding: 36px;
  border-top: 4px solid var(--orange);
  background: var(--surface);
}

.auth-card-heading {
  margin-bottom: 27px;
}

.auth-card-icon {
  width: 58px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.auth-card-icon svg {
  width: 38px;
  height: 28px;
}

.auth-card-icon img {
  width: 38px;
  height: 30px;
  object-fit: contain;
}

.auth-card-heading h1 {
  color: var(--sidebar);
  font-size: 27px;
}

.auth-card-heading > p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.auth-demo-note,
.auth-signup-note {
  color: #526579;
  font-size: 12px;
}

.auth-demo-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f7f9fb;
  text-align: left;
}

.auth-message,
.auth-setup-notice {
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.toast {
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 25px rgb(17 31 46 / 18%);
  font-size: 13px;
}

@media (max-width: 1050px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landlord-admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .sidebar {
    padding: 10px 12px;
  }

  .brand {
    margin-bottom: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-mark svg,
  .brand-mark img {
    width: 27px;
  }

  .main-nav {
    scrollbar-width: thin;
  }

  .nav-link {
    min-height: 40px;
    font-size: 12px;
  }

  .main-content {
    min-height: calc(100vh - 110px);
  }

  .topbar {
    min-height: 56px;
    height: auto;
    gap: 8px;
    padding: 8px 14px;
  }

  .breadcrumb {
    flex: 0 1 auto;
    font-size: 11px;
  }

  .profile {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    font-size: 11px;
  }

  .profile-avatar {
    width: 30px;
    height: 30px;
  }

  .organization-select-wrap select {
    max-width: 42vw;
    min-height: 36px;
    font-size: 11px;
  }

  .auth-status-banner {
    margin: 10px 14px 0;
    font-size: 11px;
  }

  .page-container {
    padding: 24px 14px 42px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .page-heading > .button {
    width: 100%;
  }

  .demo-banner {
    align-items: flex-start;
    padding: 12px;
  }

  .demo-banner p {
    font-size: 12px;
  }

  .stats-grid {
    gap: 10px;
    margin-bottom: 17px;
  }

  .stat-card {
    min-height: 116px;
    padding: 13px;
  }

  .stat-topline {
    align-items: flex-start;
    font-size: 11px;
  }

  .stat-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .stat-value {
    margin-top: 7px;
    font-size: 25px;
  }

  .stat-caption {
    font-size: 10px;
  }

  .share-card {
    align-items: stretch;
    flex-direction: column;
    padding: 15px;
  }

  .share-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .share-controls input {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .share-controls .button {
    min-width: 0;
    padding: 0 9px;
    font-size: 11px;
  }

  .panel-heading {
    align-items: flex-start;
    gap: 8px;
    padding: 16px 15px 12px;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 15px 14px;
  }

  .search-field,
  .status-filter select {
    width: 100%;
  }

  .table-wrap {
    overflow: visible;
    padding: 0 12px 12px;
  }

  .table-wrap table,
  .table-wrap tbody {
    display: block;
    width: 100%;
  }

  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }

  .table-wrap tbody {
    display: grid;
    gap: 10px;
  }

  .table-wrap tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
  }

  .table-wrap tbody td {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
    border: 0;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .table-wrap tbody td::before {
    flex: 0 0 auto;
    color: #617386;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    text-align: left;
  }

  .table-wrap tbody td:first-child {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8edf2;
    text-align: left;
  }

  .table-wrap tbody td:first-child::before {
    content: none;
  }

  .table-wrap tbody td:last-child {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    padding-top: 8px;
    border-top: 1px solid #e8edf2;
    text-align: left;
  }

  .table-wrap tbody td:last-child::before {
    display: block;
  }

  .row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .text-button {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .empty-state {
    padding: 22px 12px;
  }

  .organization-card li {
    align-items: flex-start;
  }

  .public-header {
    min-height: 60px;
    gap: 10px;
    padding: 0 14px;
  }

  .public-label {
    max-width: 45%;
    font-size: 10px;
    text-align: right;
  }

  .public-main {
    width: min(100% - 24px, 820px);
    padding-top: 20px;
  }

  .public-intro {
    margin-bottom: 14px;
    padding: 18px 16px;
  }

  .public-intro h1 {
    font-size: clamp(25px, 8vw, 31px);
  }

  .public-intro > p:last-child {
    font-size: 13px;
  }

  .prototype-alert {
    font-size: 11px;
  }

  .public-form-card,
  .submission-success {
    padding: 17px 14px;
  }

  .wizard-progress-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .step-indicators {
    gap: 4px;
  }

  .step-indicators li {
    min-width: 0;
    font-size: 9px;
  }

  .step-indicators li small {
    font-size: 9px;
  }

  .public-fields-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-span-2 {
    grid-column: auto;
  }

  .public-form-card .form-field input,
  .public-form-card .form-field select,
  .public-form-card .form-field textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .file-field {
    min-height: 92px;
    padding: 13px;
  }

  .file-symbol {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .wizard-actions {
    bottom: 6px;
    gap: 7px;
    padding: 9px;
  }

  .wizard-actions .button {
    min-height: 46px;
    flex: 1 1 0;
    padding: 0 10px;
  }

  .auth-main {
    padding: 24px 14px 32px;
  }

  .auth-card {
    padding: 27px 20px;
  }

  .auth-card .form-field input {
    min-height: 48px;
    font-size: 16px;
  }

  .auth-page .public-header {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background-color: var(--page);
  color: var(--ink);
}

.main-content,
.public-page {
  background-color: var(--page);
}

.topbar,
.stat-card,
.candidate-panel,
.share-card,
.settings-card,
.modal,
.public-header,
.public-form-card,
.submission-success {
  border-color: var(--line);
  background-color: var(--surface);
  box-shadow: var(--shadow-card);
}

.sidebar {
  background-color: var(--sidebar);
}

.nav-link:hover {
  background-color: var(--sidebar-hover);
}

.nav-link.is-active {
  background-color: var(--brand-cyan);
  color: #fff;
}

.button-primary {
  background-color: var(--orange);
  color: var(--text-on-accent);
}

.button-primary:hover {
  background-color: var(--orange-dark);
}

.button-secondary,
.icon-button {
  border-color: var(--line);
  background-color: var(--surface-soft);
  color: var(--ink);
}

.button-secondary:hover,
.icon-button:hover {
  background-color: #dfe7ef;
}

.search-field,
.status-filter,
.search-field input,
.status-filter select,
.share-controls input,
.form-field input,
.form-field textarea,
.form-field select {
  border-color: var(--line);
  background-color: var(--surface-raised);
  color: var(--ink);
}

.file-field,
.contact-card,
.summary-group,
.social-choice-card {
  border-color: var(--line);
  background-color: var(--surface-soft);
}

.file-field:hover,
.file-field:focus-within {
  border-color: var(--orange);
  background-color: var(--orange-soft);
}

.demo-banner,
.prototype-alert,
.success-notice {
  border-color: #e4c4ad;
  background-color: #f6e9df;
  color: #563b2a;
}

.demo-banner > span {
  border-color: #9b532a;
  color: #864016;
}

.prototype-alert strong {
  color: #713612;
}

.status-novo {
  background-color: var(--status-info-bg);
  color: var(--status-info-text);
}

.status-em-analise {
  background-color: var(--status-review-bg);
  color: var(--status-review-text);
}

.status-aprovado {
  background-color: var(--status-success-bg);
  color: var(--status-success-text);
}

.status-reprovado {
  background-color: var(--status-danger-bg);
  color: var(--status-danger-text);
}

.text-button {
  color: var(--orange-dark);
}

.text-button:hover {
  background-color: var(--orange-soft);
  color: var(--orange-dark);
}

.stat-caption,
.eyebrow,
.sidebar-caption,
.breadcrumb,
.panel-heading p,
.result-count,
.share-copy p,
.candidate-subtitle,
.empty-state,
.detail-label,
.public-intro > p:last-child,
.form-section-heading p,
.file-copy small,
.file-prototype-note,
.public-footer,
.public-form-footnote,
.submission-success > p:not(.eyebrow) {
  color: var(--muted);
}

.breadcrumb strong {
  color: var(--ink);
}

.file-name {
  color: var(--orange-dark);
}

.file-copy strong {
  color: var(--ink);
}

.summary-label {
  color: var(--muted);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.search-field:focus-within,
.share-controls input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgb(0 127 150 / 14%);
}

.search-field input,
.status-filter select {
  background-color: transparent;
}

.search-field input::placeholder,
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #69798b;
  opacity: 1;
}

input[type="checkbox"] {
  accent-color: var(--orange);
}

.wizard-progress,
.form-section + .form-section,
.public-form-actions,
.wizard-actions {
  border-color: var(--line);
}

.progress-track {
  background-color: var(--surface-soft);
}

.step-indicators li {
  color: var(--muted);
}

.step-indicators li > span {
  border-color: var(--line);
  background-color: var(--surface-raised);
  color: var(--muted);
}

.step-indicators li.is-current {
  color: var(--orange-dark);
}

.step-indicators li.is-current > span,
.step-indicators li.is-complete > span {
  border-color: var(--orange);
  background-color: var(--orange);
  color: var(--text-on-accent);
}

.section-number,
.share-icon,
.settings-icon {
  background-color: var(--orange-soft);
  color: var(--orange-dark);
}

.file-symbol {
  background-color: #dfe7ef;
  color: #40546a;
}

.privacy-notice {
  border-color: var(--line);
  background-color: var(--surface-soft);
}

.privacy-icon {
  border-color: #657990;
  color: #40546a;
}

.privacy-notice h2,
.privacy-notice p,
.consent-field {
  color: #34465a;
}

.success-check {
  background-color: var(--status-success-bg);
  color: var(--status-success-text);
}

@media (max-width: 760px) {
  .social-choice-card {
    padding: 12px;
  }
}

.topbar-right {
  display: flex;
  align-items: center;
}

.profile {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.auth-link,
.auth-mode-link,
.auth-back-link {
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.auth-link:hover,
.auth-mode-link:hover,
.auth-back-link:hover {
  color: var(--orange);
  text-decoration: underline;
}

.auth-logout {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
}

.auth-logout:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.auth-logout:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-status-banner {
  margin: 13px 4.2% 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 15%, rgb(0 127 150 / 7%), transparent 43%),
    var(--page);
}

.auth-page .public-header {
  padding-right: max(22px, calc((100vw - 1020px) / 2));
  padding-left: max(22px, calc((100vw - 1020px) / 2));
}

.auth-main {
  display: grid;
  min-height: calc(100vh - 68px);
  align-items: start;
  justify-items: center;
  padding: 58px 16px 40px;
}

.auth-card {
  width: min(100%, 440px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.auth-card-heading {
  margin-bottom: 24px;
  text-align: center;
}

.auth-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 11px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 20px;
}

.auth-card-heading .eyebrow {
  margin-bottom: 7px;
}

.auth-card-heading h1 {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: -0.6px;
}

.auth-card-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.auth-card .form-field {
  margin-bottom: 17px;
  font-size: 12px;
}

.auth-card .form-field input {
  min-height: 44px;
  font-size: 13px;
}

.auth-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-mode-link {
  display: block;
  margin: 15px auto 0;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.auth-signup-note,
.auth-demo-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.auth-demo-note {
  margin-top: 12px;
  padding: 10px;
  border-radius: 7px;
  background: var(--surface-soft);
}

.auth-setup-notice,
.auth-message {
  margin-bottom: 17px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.6;
}

.auth-setup-notice strong {
  display: block;
  margin-bottom: 4px;
}

.auth-setup-notice p {
  margin: 0;
  color: var(--muted);
}

.auth-setup-notice code {
  color: var(--orange-dark);
  font-size: 10px;
}

.auth-message.is-error {
  border-color: #e3b8b3;
  background: var(--status-danger-bg);
  color: var(--status-danger-text);
}

.auth-message.is-success {
  border-color: #b9d7c7;
  background: var(--status-success-bg);
  color: var(--status-success-text);
}

.auth-message.is-info {
  color: var(--muted);
}

.auth-return-link {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 760px) {
  .auth-status-banner {
    margin: 10px 16px 0;
  }

  .profile {
    gap: 6px;
    font-size: 9px;
  }

  .auth-link,
  .auth-logout {
    font-size: 9px;
  }

  .auth-main {
    min-height: calc(100vh - 58px);
    padding-top: 30px;
  }

  .auth-card {
    padding: 23px 18px;
  }

  .auth-page .public-header {
    padding-right: 16px;
    padding-left: 16px;
  }
}

.nav-icon svg,
.stat-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-link.is-active {
  background: var(--brand-cyan);
  color: #fff;
  box-shadow: none;
}

.nav-link.is-active:hover {
  background: var(--brand-cyan);
  color: #fff;
}

.sniper-center {
  display: grid;
  gap: 20px;
}

.sniper-hero {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: center;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid #163b50;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 82% 50%, rgb(13 87 111 / 28%), transparent 42%),
    linear-gradient(118deg, #071827 0%, #0a2030 58%, #0b2637 100%);
  color: #eefaff;
  box-shadow: 0 16px 34px rgb(7 24 39 / 16%);
}

.sniper-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(94 190 218 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(94 190 218 / 5%) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.sniper-hero::after {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(75 220 242 / 65%), transparent);
  content: "";
}

.sniper-copy {
  position: relative;
  z-index: 1;
  width: min(590px, 66%);
}

.sniper-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: #78dff0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
}

.sniper-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #49d7d2;
  box-shadow: 0 0 12px rgb(73 215 210 / 70%);
}

.sniper-copy h2 {
  margin: 0;
  color: #f3fbff;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 650;
  letter-spacing: -2.4px;
  line-height: 1.08;
}

.sniper-copy h2 span {
  color: #67d9eb;
}

.sniper-description {
  max-width: 510px;
  margin: 16px 0 24px;
  color: #b7cbd6;
  font-size: 15px;
  line-height: 1.7;
}

.sniper-create-button,
.sniper-consult-button {
  min-height: 46px;
  border-color: #57d2e5;
  background: #1c9eb8;
  color: #041923;
  font-weight: 750;
  box-shadow: 0 8px 24px rgb(19 160 188 / 19%);
}

.sniper-create-button:hover,
.sniper-consult-button:hover {
  border-color: #93eff8;
  background: #69d7e5;
  color: #061822;
}

.sniper-create-button span,
.sniper-consult-button span {
  margin-left: 6px;
}

.sniper-confirm-link {
  display: block;
  margin: 15px 0 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #a7c7d4;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: rgb(167 199 212 / 45%);
  text-underline-offset: 4px;
}

.sniper-confirm-link:hover {
  color: #70d8eb;
}

.sniper-confirmed-actions {
  max-width: 500px;
  margin-top: 20px;
}

.sniper-confirmation-note {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 2px solid #54c9dc;
  color: #b9d1da;
  font-size: 12px;
  line-height: 1.6;
}

.sniper-radar {
  position: absolute;
  top: 50%;
  right: clamp(24px, 7vw, 88px);
  width: clamp(190px, 27vw, 300px);
  aspect-ratio: 1;
  border: 1px solid rgb(85 204 225 / 18%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(39 159 181 / 9%), transparent 66%);
  opacity: 0.88;
  transform: translateY(-50%);
}

.sniper-radar::before,
.sniper-radar::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgb(91 196 218 / 23%);
  content: "";
}

.sniper-radar::after {
  transform: rotate(90deg);
}

.sniper-radar-ring {
  position: absolute;
  inset: 14%;
  border: 1px solid rgb(92 206 227 / 26%);
  border-radius: 50%;
}

.sniper-radar-ring-middle {
  inset: 29%;
}

.sniper-radar-ring-inner {
  inset: 44%;
  border-color: rgb(105 229 239 / 55%);
}

.sniper-radar-crosshair {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgb(97 196 220 / 22%);
  border-radius: 50%;
}

.sniper-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 2deg, transparent 0deg 295deg, rgb(48 207 224 / 24%) 350deg, transparent 360deg);
  animation: sniper-sweep 12s linear infinite;
}

.sniper-radar-point {
  position: absolute;
  top: 30%;
  left: 67%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8af3ef;
  box-shadow: 0 0 12px 3px rgb(87 229 224 / 55%);
}

.sniper-coordinate {
  position: absolute;
  right: 24px;
  bottom: 17px;
  color: rgb(138 184 198 / 56%);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.sniper-workspace {
  overflow: hidden;
  border: 1px solid #d5e0e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.sniper-workspace-heading {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #e4ebf0;
}

.sniper-workspace-heading .sniper-eyebrow {
  margin-bottom: 5px;
  color: #007f96;
  font-size: 9px;
}

.sniper-workspace-heading h3 {
  margin: 0;
  color: #17283a;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.sniper-secure-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #637a88;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sniper-secure-label span {
  color: #007f96;
  font-size: 15px;
}

.sniper-frame-wrap {
  padding: 14px;
  background:
    linear-gradient(135deg, rgb(22 139 164 / 3%), transparent 35%),
    #f5f8fa;
}

.sniper-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  height: min(72vh, 820px);
  border: 1px solid #dce5eb;
  border-radius: 8px;
  background: #fff;
}

.sniper-workspace-hint {
  margin: 0;
  padding: 0 22px 14px;
  color: #627583;
  font-size: 11px;
  line-height: 1.6;
}

.sniper-external-link {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid #c8dce4;
  border-radius: 7px;
  color: #006b80;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.sniper-external-link:hover {
  border-color: #58bbcf;
  background: #e4f7f9;
}

.sniper-create-button:focus-visible,
.sniper-confirm-link:focus-visible,
.sniper-consult-button:focus-visible,
.sniper-external-link:focus-visible {
  outline: 3px solid #37c6d9;
  outline-offset: 3px;
}

@keyframes sniper-sweep {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .sniper-copy {
    width: 72%;
  }

  .sniper-radar {
    right: 18px;
    opacity: 0.55;
  }
}

@media (max-width: 760px) {
  .sniper-center {
    gap: 14px;
  }

  .sniper-hero {
    min-height: 0;
    padding: 28px 20px 34px;
  }

  .sniper-copy {
    width: 100%;
  }

  .sniper-copy h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .sniper-description {
    max-width: 470px;
    font-size: 13px;
  }

  .sniper-create-button {
    width: 100%;
    justify-content: center;
    padding: 11px 13px;
    text-align: center;
  }

  .sniper-radar {
    top: auto;
    right: -78px;
    bottom: -96px;
    width: 210px;
    transform: none;
    opacity: 0.25;
  }

  .sniper-coordinate {
    right: 14px;
    bottom: 10px;
    font-size: 7px;
  }

  .sniper-workspace-heading {
    min-height: 72px;
    padding: 14px;
  }

  .sniper-workspace-heading h3 {
    font-size: 16px;
  }

  .sniper-secure-label {
    font-size: 7px;
    letter-spacing: 0.5px;
  }

  .sniper-frame-wrap {
    padding: 8px;
  }

  .sniper-frame-wrap iframe {
    min-height: 55vh;
    height: 65vh;
  }

  .sniper-workspace-hint {
    padding: 0 16px 14px;
  }

  .sniper-external-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sniper-radar-sweep {
    animation: none;
  }
}

.settings-view {
  display: grid;
  gap: 18px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 18px;
}

.overview-candidate-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 20px 6px;
  list-style: none;
}

.overview-candidate-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.overview-candidate-list li:last-child {
  border-bottom: 0;
}

.overview-candidate-identity {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.overview-candidate-identity strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-candidate-identity small {
  color: var(--muted);
  font-size: 11px;
}

.overview-drive {
  padding: 18px;
}

.overview-drive .panel-heading {
  padding: 0;
}

.overview-drive .drive-connection-status {
  margin: 14px 0;
}

.overview-drive-indicator {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #98a6b3;
  box-shadow: 0 0 0 4px #eef2f5;
}

.overview-drive-indicator.is-connected {
  background: #23845a;
  box-shadow: 0 0 0 4px #e6f4ec;
}

.overview-drive-indicator.is-disconnected,
.overview-drive-indicator.is-error {
  background: #bd554c;
  box-shadow: 0 0 0 4px #faecea;
}

.overview-drive .admin-form-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.form-config-notice {
  padding: 14px 16px;
  border: 1px solid #bde8ed;
  border-radius: var(--radius-md);
  background: #effbfc;
  color: #234552;
}

.form-config-notice strong {
  color: #15384a;
  font-size: 12px;
}

.form-config-notice p {
  margin: 5px 0 0;
  color: #526d79;
  font-size: 12px;
  line-height: 1.5;
}

.form-config-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-config-group {
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.form-config-group.is-disabled {
  background: var(--surface-soft);
}

.form-config-group legend {
  padding: 0 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.form-config-group > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.form-config-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 9px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.4;
}

.form-config-option input {
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.form-config-preview-wrap {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  margin-top: 17px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.form-config-preview-wrap .eyebrow {
  margin: 0 0 4px;
}

.form-config-preview-wrap h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.form-config-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-config-preview li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
}

.form-config-preview li small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
}

.organization-profile-form {
  max-width: 660px;
}

.organization-profile-form .form-field input {
  min-height: 42px;
}

.organization-profile-form .form-field input:disabled {
  color: var(--muted);
  opacity: 0.85;
}

.admin-panel,
.candidate-panel,
.share-card {
  border-radius: var(--radius-lg);
}

.stat-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgb(16 32 51 / 5%);
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .form-config-fields,
  .form-config-preview-wrap,
  .form-config-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-candidate-list {
    padding-right: 14px;
    padding-left: 14px;
  }

  .overview-candidate-list li {
    align-items: flex-start;
  }

  .organization-profile-form .admin-form-actions {
    justify-content: stretch;
  }

  .organization-profile-form .admin-form-actions .button {
    width: 100%;
  }
}

.clear-search-button {
  min-height: 37px;
  padding: 0 12px;
  white-space: nowrap;
}

.details-modal {
  width: min(100%, 940px);
  max-height: min(92dvh, 960px);
}

#candidate-details.details-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.candidate-detail-section {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.candidate-detail-section > h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
}

.candidate-detail-section > h4 {
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 11px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.candidate-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 11px;
}

.checklist-item strong {
  flex: 0 0 auto;
  font-size: 10px;
}

.checklist-item.is-received strong {
  color: var(--status-success-text);
}

.checklist-item.is-pending strong {
  color: var(--status-danger-text);
}

.checklist-item.is-not-required strong {
  color: var(--muted);
}

.candidate-document-list,
.candidate-contact-list {
  display: grid;
  gap: 8px;
}

.candidate-document-card,
.candidate-contact-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}

.candidate-document-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.candidate-document-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.candidate-document-copy strong,
.candidate-contact-card h4 {
  color: var(--ink);
  font-size: 11px;
}

.candidate-document-copy strong {
  overflow-wrap: anywhere;
}

.candidate-document-copy small {
  color: var(--muted);
  font-size: 10px;
}

.candidate-document-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.candidate-document-actions .text-button {
  color: var(--orange-dark);
}

.candidate-contact-card h4 {
  margin: 0 0 10px;
}

.candidate-detail-empty,
.candidate-history-entry,
.candidate-notes {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.candidate-history-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.candidate-notes {
  white-space: pre-wrap;
}

.document-preview-backdrop {
  z-index: 20;
}

.document-preview-modal {
  width: min(100%, 1000px);
  max-height: 92dvh;
  overflow: auto;
}

.document-preview-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.document-preview-content {
  display: grid;
  min-height: 150px;
  max-height: calc(92dvh - 120px);
  place-items: center;
  overflow: auto;
  padding: 12px;
  background: var(--surface-soft);
}

.document-preview-content img,
.document-preview-content video {
  display: block;
  max-width: 100%;
  max-height: calc(92dvh - 150px);
  object-fit: contain;
}

.document-preview-content img {
  cursor: zoom-in;
}

.document-preview-content img.is-zoomed {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

@media (max-width: 700px) {
  .filters {
    flex-wrap: wrap;
  }

  .search-field {
    flex: 1 1 100%;
    width: auto;
  }

  .status-filter {
    flex: 1 1 auto;
  }

  .status-filter select {
    width: 100%;
  }

  .clear-search-button {
    flex: 0 0 auto;
  }

  .details-modal,
  .document-preview-modal {
    width: 100%;
    max-height: 94dvh;
  }

  .candidate-detail-section {
    padding: 12px;
  }

  .detail-grid,
  .candidate-checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .candidate-document-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .candidate-document-actions {
    justify-content: flex-start;
  }
}
