/* Minimal, senior-friendly, mobile-first. Big fonts, high contrast, no framework. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fbfaf7;
}
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 18px; }

.site-header { background: #14324f; color: #fff; padding: 14px 0; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.brand-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-right: auto; }
.brand { color: #fff; font-weight: bold; font-size: 26px; text-decoration: none; }
.brand-radr { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; }
.brand-sub { font-weight: normal; opacity: .9; font-size: 22px; }
.radr-logo-sm { height: 30px; width: auto; display: block; background: #fff; border-radius: 6px; padding: 3px; box-sizing: content-box; }
.menu { display: flex; flex-wrap: nowrap; gap: 8px; }
.menu a {
    color: #fff; text-decoration: none; padding: 8px 14px; text-align: center; white-space: nowrap;
    border: 2px solid rgba(255,255,255,.5); border-radius: 8px; font-size: 20px;
}
.menu a.on, .menu a:hover { background: #fff; color: #14324f; }

/* On phones/small tablets: brand on its own line, four buttons share one line. */
@media (max-width: 760px) {
    .header-inner { flex-direction: column; align-items: stretch; }
    /* First line: keep on one row, left-aligned, logo snug to the text
       so left and right insets match (both = .wrap padding). */
    .brand-group { margin: 0 0 10px; gap: 8px; justify-content: center; flex-wrap: nowrap; align-items: center; }
    .brand { font-size: 22px; white-space: nowrap; }
    .brand-radr { gap: 5px; }
    .brand-sub { font-size: 18px; }
    .radr-logo-sm { height: 26px; padding: 2px; }
    .menu { flex-wrap: nowrap; gap: 6px; width: 100%; }
    .menu a { flex: 1 1 0; min-width: 0; padding: 10px 2px; font-size: 17px; border-width: 1px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
    .menu a { font-size: 15px; padding: 9px 1px; }
}

main.wrap { padding-top: 22px; padding-bottom: 40px; }
h1 { font-size: 34px; line-height: 1.25; margin: 10px 0 18px; }
h2 { font-size: 28px; margin: 26px 0 12px; }
h3 { font-size: 24px; margin: 20px 0 10px; }
p, li { font-size: 22px; }
.lead { font-size: 24px; }
a { color: #0b5cab; }

.btn, button, input[type=submit] {
    display: inline-block; background: #14324f; color: #fff; text-decoration: none;
    padding: 12px 20px; border: 0; border-radius: 8px; font-size: 21px; cursor: pointer;
    margin: 4px 6px 4px 0; font-family: inherit;
}
.btn.secondary { background: #6b6b6b; }
.btn:hover, button:hover { background: #0b5cab; }

label { display: block; font-weight: bold; margin: 16px 0 6px; }
input[type=text], input[type=tel], input[type=email], input[type=password], textarea, select {
    width: 100%; font-size: 21px; padding: 12px; border: 2px solid #999; border-radius: 8px;
    font-family: inherit; background: #fff;
}
textarea { min-height: 140px; }
.hint { color: #555; font-size: 18px; }

.card { background: #fff; border: 2px solid #e2ddd2; border-radius: 10px; padding: 16px 18px; margin: 16px 0; }
.place-title { margin: 0 0 6px; }
.contact-line { margin: 4px 0; }
.contact-line b { display: inline-block; min-width: 150px; }

ul.filelist { list-style: none; padding: 0; }
ul.filelist li { padding: 12px 0; border-bottom: 1px solid #e2ddd2; }
ul.filelist a { font-size: 23px; }
.folder::before { content: "📁 "; }
.file::before { content: "📄 "; }

.chat { margin: 18px 0; }
.msg { padding: 12px 14px; border-radius: 10px; margin: 10px 0; max-width: 90%; }
.msg .who { font-size: 16px; color: #555; display: block; margin-bottom: 4px; }
.msg.user { background: #eef4fb; margin-right: auto; }
.msg.agent { background: #e9f6ec; margin-left: auto; }
.notice { background: #fff8e1; border: 2px solid #e6c34a; padding: 12px 16px; border-radius: 8px; }
.error { background: #fdecea; border: 2px solid #d9534f; padding: 12px 16px; border-radius: 8px; }
.urlbox { background: #f1efe9; border: 1px dashed #aaa; padding: 8px 12px; border-radius: 6px; word-break: break-all; font-size: 19px; }

#map { height: 70vh; min-height: 380px; border: 2px solid #ccc; border-radius: 10px; }
.viewtoggle a { margin-right: 8px; }

.radr-about { border-top: 2px solid #e2ddd2; margin-top: 34px; padding-top: 24px; text-align: center; }
.radr-logo-big { display: block; margin: 0 auto 20px; width: 200px; max-width: 60%; height: auto; }
.radr-about .radr-body { text-align: left; }
.radr-about ul { margin-top: 6px; }
.site-footer a { color: #cfe0f2; }
.site-footer { background: #14324f; color: #fff; padding: 18px 0; margin-top: 30px; font-size: 18px; }
