/* Shared visual language for professional tools and the private directory. */
.professional-page, .member-directory-page {
  --bg: #fff6ea; --surface: #fefefe; --surface-muted: #fff6ea;
  --ink: #000000; --text: #000000; --muted: #78695f;
  --line: #e7dcd0; --brand: #aa4e36; --brand-dark: #6a2a1a;
  --accent: #8aa8a6; --sage: #8aa8a6; --radius: 14px;
  --shadow: 0 8px 28px #6a2a1a09;
  background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 'Trebuchet MS', Arial, sans-serif;
}
.professional-page a { border: 0; color: var(--brand-dark); }
.professional-page a:hover { color: var(--brand); }
.professional-page .site-header { background: #fff6ea; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.professional-page .nav { min-height: 100px; width: min(1280px, calc(100% - 48px)); gap: 24px; }
.professional-page .brand-logo { width: 76px; height: 76px; }
.professional-page .nav-links { gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.professional-page .nav-links a { font-size: 12px; font-weight: 700; color: var(--ink); }
.professional-page h1, .professional-page h2, .professional-page h3 { text-transform: none; letter-spacing: normal; }
.professional-page .page-title { width: min(1280px, calc(100% - 48px)); padding: 48px 0 30px; }
.professional-page .page-title h1 { font: 700 clamp(32px, 4vw, 46px)/1.15 Georgia, serif; color: var(--brand-dark); margin: 8px 0 12px; }
.professional-page .page-title p { max-width: 720px; margin: 6px 0; }
.professional-page .eyebrow { color: var(--brand); font-size: 11px; letter-spacing: 1.5px; font-weight: 700; }
.professional-page .form-panel, .professional-page .admin-panel { padding: 28px; border-color: var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.professional-page .admin-layout { width: min(1280px, calc(100% - 48px)); gap: 24px; }
.professional-page .admin-panel h2 { font-size: 23px; line-height: 1.2; color: var(--brand-dark); }
.professional-page label, .professional-page .field-label { color: var(--ink); font-weight: 600; font-size: 13px; }
.professional-page input, .professional-page textarea, .professional-page select { background: #fff6ea; border: 1px solid #d9c9bc; border-radius: 9px; color: var(--ink); font: inherit; padding: 11px 13px; }
.professional-page input:focus-visible, .professional-page textarea:focus-visible, .professional-page select:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.professional-page input[type=checkbox] { accent-color: var(--brand); }
.professional-page input[type=color] { padding: 4px; min-height: 44px; width: 90px; }
.professional-page input[type=file] { max-width: 100%; }
.professional-page input::file-selector-button { border: 0; border-radius: 20px; background: #e6efed; color: var(--brand-dark); padding: 8px 12px; margin-right: 12px; }
.professional-page .check-option { background: #fff6ea; border-color: var(--line); border-radius: 9px; }
.professional-page .button { background: var(--brand); color: #fefefe; box-shadow: none; border: 1px solid var(--brand); border-radius: 25px; font: 700 11px/1.3 Arial, sans-serif; min-height: 40px; padding: 10px 19px; letter-spacing: .3px; }
.professional-page .button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fefefe; }
.professional-page .button.secondary { background: transparent; color: var(--brand-dark); border-color: #c8ada0; }
.professional-page .button.secondary:hover { background: #f4e8de; }
.professional-page .compact-button { min-height: 32px; padding: 7px 12px; font-size: 10px; }
.professional-page .form-actions { flex-wrap: wrap; align-items: center; }
.professional-page .admin-table { font-size: 13px; }
.professional-page .admin-table th { background: #fff6ea; color: var(--brand-dark); font-size: 10px; letter-spacing: .5px; }
.professional-page .admin-table th, .professional-page .admin-table td { padding: 13px 12px; }
.professional-page .admin-table tbody tr:hover { background: #fff6ea; }
.professional-page .table-wrap { border: 1px solid var(--line); border-radius: 10px; }
.professional-page .message { font-size: 13px; font-weight: 600; }
.professional-page .field-hint { font-size: 13px; }
.professional-page.auth-page .page-title { max-width: 580px; text-align: center; padding-top: 65px; }
.professional-page.auth-page .page-title p { margin: 10px auto; }
.professional-page.auth-page .form-panel { max-width: 520px; padding: 35px; }
.professional-page.auth-page .form-actions a { font-size: 12px; text-decoration: underline; }
.professional-page [hidden] { display: none !important; }

.member-directory-page { --teal: #6a2a1a; --teal2: #78695f; --rose: #aa4e36; --cream: #fff6ea; --white: #fefefe; }
.member-directory-page .header { background: #fff6ea; color: var(--ink); border-bottom: 1px solid var(--line); min-height: 100px; }
.member-directory-page .logo { width: 76px; height: 76px; }
.member-directory-page .brand h1 { font: 700 25px/1.2 Georgia, serif; color: var(--brand-dark); letter-spacing: 0; }
.member-directory-page .brand p { color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.member-directory-page .member-link { display: inline-block; background: var(--brand-dark); color: #fefefe; border-radius: 24px; padding: 10px 18px; font-size: 12px; white-space: nowrap; }
.member-directory-page .hero { background: transparent; border: 0; padding-top: 40px; }
.member-directory-page .hero h2 { font: 700 clamp(28px,4vw,42px)/1.15 Georgia, serif; color: var(--brand-dark); margin-bottom: 14px; }
.member-directory-page .hero p { font-size: 14px; }
.member-directory-page .controls { padding-top: 12px; padding-bottom: 28px; }
.member-directory-page .search input, .member-directory-page .sort, .member-directory-page .modal input, .member-directory-page .modal textarea { background: #fefefe; color: var(--ink); border: 1px solid #d9c9bc; border-radius: 10px; }
.member-directory-page .search input:focus, .member-directory-page .sort:focus-visible, .member-directory-page .modal input:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; box-shadow: none; }
.member-directory-page .table-wrap { border-radius: 14px; background: #fefefe; box-shadow: var(--shadow); }
.member-directory-page th { background: #f5eadd; color: var(--brand-dark); font-size: 11px; padding: 17px 16px; }
.member-directory-page td { padding: 16px; }
.member-directory-page tr:hover td { background: #fff6ea; }
.member-directory-page td.address, .member-directory-page a.contact, .member-directory-page .small { color: var(--muted); }
.member-directory-page .edit, .member-directory-page .send { border-radius: 24px; background: var(--brand); padding: 9px 16px; }
.member-directory-page .download { background: var(--brand-dark); }
.member-directory-page .footer { background: #fff6ea; border-top: 1px solid var(--line); }
.member-directory-page .modal { border-radius: 18px; border-top: 5px solid var(--sage); max-height: 90vh; overflow-y: auto; }
.member-directory-page .cancel { border-radius: 24px; border-color: #d9c9bc; color: var(--brand-dark); }
.member-directory-page button { transition: filter .2s; }
.member-directory-page button:hover { filter: brightness(.92); }
@media(max-width: 900px) {
  .professional-page .admin-layout { grid-template-columns: 1fr; }
  .professional-page .nav { align-items: center; }
  .professional-page .nav-links { gap: 12px 18px; }
}
@media(max-width: 600px) {
  .professional-page .nav { width: calc(100% - 32px); flex-direction: column; padding: 14px 0; gap: 10px; }
  .professional-page .nav-links { justify-content: center; }
  .professional-page .brand-logo { width: 60px; height: 60px; }
  .professional-page .page-title { width: calc(100% - 32px); padding-top: 30px; }
  .professional-page .admin-layout { width: calc(100% - 24px); }
  .professional-page .admin-panel, .professional-page .form-panel { padding: 20px; }
  .professional-page .form-grid { grid-template-columns: 1fr; }
  .professional-page.auth-page .form-panel { padding: 24px; }
  .professional-page.auth-page .page-title { padding-top: 35px; }
  .professional-page .section-header { flex-wrap: wrap; align-items: center; }
  .professional-page .admin-table { min-width: 480px; }
  .member-directory-page .header { flex-wrap: wrap; gap: 16px; padding: 18px 5%; }
  .member-directory-page .brand { gap: 12px; }
  .member-directory-page .brand h1 { font-size: 20px; }
  .member-directory-page .logo { width: 60px; height: 60px; }
  .member-directory-page .member-link { display: inline-block; }
  .member-directory-page .hero { padding-top: 28px; }
}
.photo-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.photo-editor-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff6ea}.photo-editor-card>img{width:100%;height:190px;object-fit:cover}.photo-editor-card>p{font-size:13px;font-weight:bold;margin:12px}.photo-editor-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 15px}.photo-upload-row{display:flex;align-items:end;gap:15px;flex-wrap:wrap}.photo-upload-row label{flex:1;min-width:0}.dashboard-logo-preview{width:100px;height:100px;object-fit:contain;border-radius:10px;background:#fefefe;border:1px solid var(--line);padding:8px}.professional-page .button:disabled{opacity:.55;cursor:default}@media(max-width:600px){.photo-editor-grid{grid-template-columns:1fr}}
