.profiles-main {
  max-width: 1000px; margin: 28px auto; padding: 0 18px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start;
}
.profiles-main.single { grid-template-columns: minmax(0, 720px); justify-content: center; }
@media (max-width: 760px) { .profiles-main { grid-template-columns: 1fr; } }

.loading { color: var(--on-wood-soft); text-align: center; margin: 40px 0; }

.pad { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.profile-list { display: flex; flex-direction: column; }
.profile-item { border-bottom: 1px solid rgba(164,147,114,.45); }
.profile-item:last-child { border-bottom: 0; }
.profile-pick {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; background: transparent; border: 0; text-align: left; color: var(--ink);
}
.profile-pick:hover, .profile-pick[aria-expanded="true"] { background: var(--vellum-hi); }
.profile-pick .nm { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.profile-pick .hint { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink-soft); }

.monogram {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: var(--brass-hi);
  font-family: var(--serif); font-weight: 700; font-size: 16px;
}

.signin-form {
  display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap;
  padding: 2px 14px 14px 60px; background: var(--vellum-hi);
}
.signin-form .field { flex: 0 1 160px; }
.signin-form .msg { flex-basis: 100%; }

.empty { padding: 18px 14px; color: var(--ink-soft); margin: 0; }

.signed-head { display: flex; align-items: center; gap: 14px; }
.signed-head .monogram { width: 48px; height: 48px; font-size: 22px; }
.signed-head h2 { font-size: 24px; }
.results { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--rule); padding-top: 14px; }
.results h3 { margin: 0; font-family: var(--serif); }
.results-total { margin: 0; font-weight: 600; }
.results-modes { margin: 0; padding-left: 18px; }
.results-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.results-table th, .results-table td { text-align: left; padding: 3px 6px; border-bottom: 1px solid var(--rule); }
.about { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--rule); padding-top: 14px; }
