/* Start: family_contact_styles */
* { box-sizing: border-box; }
body { margin: 0; background: #f7f5f2; color: #282322; font: 16px/1.5 system-ui,sans-serif; }
.contacts { max-width: 1160px; margin: auto; padding: 24px; }
nav,.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
a { color: #800000; } h1 { margin-bottom: 0; } .muted,small { color: #655b56; }
.panel { background: white; border: 1px solid #dfd8d2; border-radius: 12px; padding: 20px; margin: 20px 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
label { display: block; font-weight: 600; } input,select,textarea { width: 100%; padding: 10px; border: 1px solid #93887f; border-radius: 5px; font: inherit; }
input[type=checkbox] { width: auto; } input[readonly] { background: #f5f0eb; } textarea { min-height: 100px; }
button,.button { background: #800000; color: white; padding: 10px 16px; border: 0; border-radius: 6px; text-decoration: none; font: inherit; cursor: pointer; }
.secondary { background: #5b524e; } .search { max-width: 340px; }
.table-scroll { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th,td { text-align: left; padding: 12px; border-bottom: 1px solid #e5dfd9; vertical-align: top; } th { background: #f5f0eb; } td small,td strong { display: block; } td .actions { margin-top: 8px; }
.notice { padding: 14px; background: #edf5ed; } .error { padding: 14px; background: #ffeded; }
fieldset { border: 1px solid #dfd8d2; padding: 18px; margin: 20px 0; } legend { font-weight: 700; }
:focus-visible { outline: 3px solid #bc8a00; outline-offset: 3px; }
@media(max-width:700px) { .contacts { padding:16px; } .form-grid { grid-template-columns:1fr; } }
/* End: family_contact_styles */
