/* bookface 2006 — small Verdana/Tahoma text, blue top bar, narrow left column, plain tables. */
body { margin: 0; background: #fff; color: #333; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; }
a { color: #2d5a94; text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 14px; color: #2d5a94; margin: 0 0 10px; padding-bottom: 4px; border-bottom: 1px solid #c9d4e3; }
h2 { font-size: 12px; color: #333; margin: 16px 0 6px; }
#topbar { background: #2d5a94; border-bottom: 1px solid #1f4472; }
#topbar .inner { max-width: 780px; margin: 0 auto; padding: 6px 10px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
#topbar .logo { color: #fff; font-size: 22px; font-weight: bold; letter-spacing: -1px; font-family: Tahoma, Verdana, sans-serif; }
#topbar .logo:hover { text-decoration: none; }
.toplinks a, .toplinks .linkbutton { color: #fff; margin-left: 10px; font-weight: bold; }
.toplogin { color: #dfe7f2; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.toplogin input { width: 110px; font-size: 11px; }
#page { max-width: 780px; margin: 0 auto; display: flex; gap: 12px; padding: 10px; }
#leftcol { width: 130px; flex: none; }
#content { flex: 1; min-width: 0; }
.nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d8dfea; }
.nav li { border-bottom: 1px solid #d8dfea; }
.nav li a { display: block; padding: 4px 6px; }
.nav li.active a, .nav li a:hover { background: #eef2f8; text-decoration: none; }
.box { border: 1px solid #c9d4e3; background: #f7f9fc; padding: 8px 10px; margin-bottom: 10px; }
.box p { margin: 4px 0; }
.placeholder { background: #fff; border-style: dashed; color: #555; }
.muted { color: #888; }
.error { border: 1px solid #d99; background: #fdeeee; color: #a33; padding: 6px 8px; margin-bottom: 8px; }
table.grid { border-collapse: collapse; width: 100%; margin-bottom: 10px; }
table.grid th { text-align: left; background: #eef2f8; border-bottom: 1px solid #c9d4e3; padding: 4px 6px; }
table.grid td { border-bottom: 1px solid #e5e9f0; padding: 4px 6px; }
table.formtable th { text-align: right; font-weight: normal; color: #666; padding: 3px 6px 3px 0; white-space: nowrap; }
table.formtable td { padding: 3px 0; }
input, select { font-family: inherit; font-size: 11px; border: 1px solid #b4bfcf; padding: 2px 3px; }
button { font-family: inherit; font-size: 11px; background: #2d5a94; color: #fff; border: 1px solid #1f4472; padding: 2px 8px; cursor: pointer; }
.inline { display: inline; }
.linkbutton { background: none; border: none; padding: 0; font-size: 11px; cursor: pointer; }
.linkbutton:hover { text-decoration: underline; }
.intro { font-size: 12px; }
#footer { max-width: 780px; margin: 20px auto; padding: 8px 10px; border-top: 1px solid #d8dfea; color: #999; }
@media (max-width: 560px) { #page { flex-direction: column; } #leftcol { width: auto; } }

/* --- Profiles (Iris's agents / Juno): profile page and edit form --- */
table.profile-layout { border-collapse: collapse; width: 100%; }
table.profile-layout td { vertical-align: top; padding: 0; }
td.profile-side { width: 170px; padding-right: 12px !important; }
.profile-picture { width: 160px; height: 160px; background: #ddd; border: 1px solid #bbb; color: #888; display: flex; align-items: center; justify-content: center; }
.profile-actions { margin-top: 8px; }
.profile-name { font-size: 13px; }
h2.profile-heading { background: #eef2f8; border-top: 1px solid #c9d4e3; padding: 3px 6px; margin: 10px 0 4px; font-size: 11px; color: #2d5a94; }
table.profile-info th { vertical-align: top; width: 120px; }
textarea { font-family: inherit; font-size: 11px; border: 1px solid #b4bfcf; width: 300px; max-width: 100%; }
@media (max-width: 560px) { table.profile-layout, table.profile-layout tr, table.profile-layout td { display: block; } td.profile-side { width: auto; padding: 0 0 8px !important; } }
.profile-actions .linkbutton { display: block; width: 100%; text-align: left; padding: 4px 6px; color: #2d5a94; font-family: inherit; }
.profile-actions .linkbutton:hover { background: #eef2f8; text-decoration: none; }
.profile-actions li span { display: block; padding: 4px 6px; }
.pokes { background: #fffbe6; border-color: #e6d98a; }
.pokes .linkbutton { color: #2d5a94; font-family: inherit; }
.pokes .poke-row { margin: 4px 0; }
.profile-friends { margin-top: 10px; }
.profile-names { list-style: none; margin: 4px 0 0; padding: 0; }
.profile-names li { padding: 1px 0; }
img.profile-picture { display: block; object-fit: cover; background: #ddd; }
