/* B2: one calm reading surface, fine rules and a single level of replies. */
:root {
  --ink: #202941;
  --muted: #697184;
  --line: #e0e4eb;
  --paper: #fff;
  --canvas: #f6f7f9;
  --accent: #17234f;
  --accent-light: #eff2f8;
  --olive: #246c68;
  --radius: 4px;
  --link: #315ba1;
}
body { color: var(--ink); }
h1,h2,h3 { color: #111a4a; }
a:hover { color: var(--link); }
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline: 2px solid #5276b5; outline-offset: 3px;
}
.preview-strip.demo { background: #edf0f6; color: #687186; padding: 4px 12px; font-size: 11px; }
.site-header { background: #fff; border-color: var(--line); }
.header-inner { height: 72px; max-width: 1160px; padding: 0 28px; gap: 30px; }
.brand,.footer-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 0; }
.brand-image { display: block; width: 144px; height: 48px; object-fit: contain; }
.footer-brand .brand-image { width: 132px; height: 44px; }
.header-nav { font-size: 13px; gap: 24px; color: #4d576d; }
.header-nav a[aria-current] { color: #111a4a; box-shadow: inset 0 -2px #111a4a; }
.site-search { background: #f5f6f8; border: 1px solid transparent; border-radius: 3px; height: 40px; }
.site-search:focus-within { background: #fff; border-color: #8596b6; }
.site-search input { font-size: 14px; }
.site-search svg { color: #707b90; }
.site-menu { display: none; position: relative; flex: none; z-index: 30; }
.site-menu>summary { list-style: none; display: grid; place-items: center; width: 38px; height: 44px; cursor: pointer; }
.site-menu>summary::-webkit-details-marker { display: none; }
.site-menu>summary svg { width: 22px; height: 22px; color: #626e85; }
.site-menu>nav { position: absolute; top: 48px; right: 0; width: 246px; background: #fff; border: 1px solid #d3d9e4; box-shadow: 0 8px 24px #18234114; padding: 8px; }
.site-menu>nav a { display: block; font-size: 14px; padding: 11px 12px; }
.site-menu>nav a:hover { background: var(--canvas); }
.layout { max-width: 1160px; padding: 28px 28px 56px; gap: 40px; grid-template-columns: minmax(0,1fr) 236px; }
.breadcrumbs { font-size: 12px; color: #737c8e; margin-bottom: 18px; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs svg { color: #a1a9b7; }
.button { border-radius: 4px; font-size: 13px; min-height: 42px; padding: 9px 17px; box-shadow: none; }
.button:hover { background: #293c70; border-color: #293c70; }
.button.secondary { color: var(--accent); border-color: #bbc5d6; background: #fff; }
.button.secondary:hover { background: var(--accent-light); }
.count { background: none; border: 0; padding: 0; border-radius: 0; font-size: 12px; color: var(--muted); }
.section-heading { margin-bottom: 14px; gap: 12px; }
.section-heading h2 { font-size: 17px; font-weight: 650; }
.section-heading .count { font-weight: 400; vertical-align: 1px; }
.inline-link,.secondary-link { color: var(--link); }

/* Search and directories share the same row rhythm. */
.directory-head { padding: 0 0 22px; }
.directory-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.directory-head.compact h1 { font-size: 26px; }
.directory-head>p,.eyebrow { color: var(--muted); }
.directory-search { border-radius: 4px; border-color: #bec7d7; box-shadow: none; padding: 6px 6px 6px 16px; margin-top: 18px; }
.directory-search:focus-within { border-color: #667eaa; box-shadow: none; }
.directory-search>svg { color: #77849a; }
.directory-search input { font-size: 16px; }
.genre-bar { gap: 18px; margin-bottom: 14px; font-size: 13px; }
.genre-bar a { font-weight: 600; }
.genre-bar svg { color: #6f7e97; }
.area-options { gap: 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-option { border: 0; border-radius: 0; padding: 14px 16px; background: none; }
.area-option+.area-option { border-left: 1px solid var(--line); }
.area-option>svg:first-child { color: #77849a; }
.area-option:hover,.area-option.selected { background: #eef2f8; }
.area-option.selected { box-shadow: inset 0 -2px #17234f; }
.area-option strong { font-size: 14px; }
.area-option span { font-size: 12px; }
.area-option>svg:last-child { color: #8993a5; }
.directory-section { margin-top: 30px; }
.live-dot { font-size: 12px; }
.live-dot:before { content: none; }
.board-list,.salon-list { border: 1px solid var(--line); border-radius: 4px; }
.board-row { padding: 18px 20px; gap: 14px; }
.board-row:hover,.salon-card:hover,.person-link.roster-card:hover { background: #f7f9fc; }
.list-photo { border-radius: 3px; background: #e9edf3; color: #788397; }
.shop-photo,.salon-mark,.search-result-icon { background: #eef1f6; color: #667690; border-radius: 3px; }
.board-row-context { font-size: 12px; color: var(--muted); }
.board-row-main strong { font-size: 16px; color: #17234f; }
.board-excerpt { color: #555f73; font-size: 13px; margin-top: 5px; }
.board-row-main time { font-size: 12px; color: var(--muted); margin-top: 6px; }
.board-row-count { color: #4b617f; width: 48px; flex-basis: 48px; }
.board-row-count small { font-size: 10px; white-space: nowrap; }
.board-row>svg,.salon-card>svg { color: #939dad; }
.directory-empty { padding: 25px 22px; }
.directory-empty h3 { font-size: 16px; }
.salon-card { padding: 20px; gap: 16px; }
.salon-card-main>strong { color: #17234f; font-size: 17px; }
.salon-tags,.salon-access,.salon-card-stats { font-size: 12px; color: var(--muted); }
.directory-data-note { font-size: 11px; }
.name-directory { border-radius: 3px; }
.name-directory>summary { min-height: 54px; font-size: 14px; }
.name-directory>summary span { font-size: 12px; }
.person-initial { border-radius: 3px; background: #eef1f6; color: #6b7790; font-family: inherit; font-size: 14px; }
.person-link { border-color: var(--line); }
.person-link small { color: var(--muted); }
.person-link .arrow { color: #8591a7; }
.aside { padding-top: 4px; }
.side-block { border: 0; border-radius: 0; background: none; padding: 0; margin-bottom: 30px; }
.side-block h3 { font-size: 13px; font-weight: 600; border-color: #cbd3e0; padding-bottom: 12px; }
.aside .area-options { border: 0; background: none; }
.aside .area-option { border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.directory-shop { display: flex; justify-content: space-between; align-items: center; font-size: 13px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.directory-shop svg { width: 13px; height: 13px; color: #8b96a8; }
.side-invite { background: none; border-radius: 0; border-top: 1px solid #cbd3e0; padding: 18px 0 0; }
.side-invite h3 { font-size: 13px; font-weight: 600; }
.side-invite p { font-size: 12px; color: var(--muted); }
.side-invite a { border: 0; margin: 12px 0 0; padding: 0; color: var(--link); font-size: 12px; }
.shop-shortcut { border-radius: 3px; background: #eef2f7; border-color: var(--line); color: var(--accent); }
.all-people-link { color: var(--link); }

/* Profile fields stay visible, with the conversation immediately below. */
.subject-head { margin-bottom: 16px; }
h1 { font-size: 30px; line-height: 1.45; font-weight: 700; letter-spacing: -.035em; }
.subject-type { display: inline-block; font-size: 14px; margin: 0 0 0 14px; padding-left: 14px; border-left: 1px solid #cad1df; color: #505d75; vertical-align: 3px; }
.subject-meta { font-size: 12px; gap: 7px 20px; margin-top: 8px; }
.subject-count b { font-size: 13px; }
.subject-count svg { color: #76839b; }
.latest-post { font-size: 12px; }
.head-write { font-size: 12px; padding: 8px 14px; min-height: 38px; }
.basic-profile { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 18px 0; margin-bottom: 22px; }
.basic-profile-main { gap: 18px; }
.basic-photo { border-radius: 3px; background: #e9edf3; color: #7b879c; }
.basic-profile-heading { margin-bottom: 9px; }
.basic-profile-heading h2 { font-size: 12px; color: var(--muted); font-weight: 400; }
.basic-profile-heading a,.profile-source-link { color: var(--link); font-size: 12px; }
.basic-facts dt { color: var(--muted); }
.basic-facts dd { color: #293650; }
.basic-profile-note { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 10px; }
.profile-more { border-color: var(--line); }
.profile-more>summary { min-height: 44px; color: #46536b; font-size: 12px; }
.profile-intro h3,.profile-shop-facts p>span { color: var(--muted); }
.salon-profile { border-radius: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 18px 3px; }
.shop-facts strong { font-size: 13px; color: #3c4860; }
.shop-facts small { color: var(--muted); font-size: 11px; }
.page-jumps { background: var(--canvas); border-color: #cbd3e0; gap: 28px; }
.page-jumps a { font-size: 13px; }
.page-jumps svg { color: #667b99; }
.roster { margin: 24px 0 30px; }
.roster-tools>p { font-size: 11px; }
.roster-search { border-radius: 3px; border-color: #cbd3e0; }
.roster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.person-link.roster-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 10px; gap: 14px; }
.roster-card .list-photo { width: 52px; height: 70px; flex-basis: 52px; }
.roster-person strong { font-size: 15px; color: #17234f; }
.roster-person small { font-size: 12px; }
.roster-posts { color: var(--muted); font-size: 12px; }
.roster-person time,.roster-person>span:last-child:not(.roster-posts) { font-size: 11px; }
.roster-more { border-radius: 3px; border-color: #cbd3e0; font-size: 13px; min-height: 44px; }
.roster-zero { border-radius: 0; font-size: 13px; }

/* Posts and replies share metadata placement and stay on one page. */
.discussion { border-radius: 0; border: 1px solid var(--line); scroll-margin-top: 60px; }
.discussion-top { padding: 14px 20px; background: #f0f3f8; border-bottom: 1px solid var(--line); }
.section-title { gap: 8px; }
.section-title h2 { font-size: 17px; font-weight: 650; }
.section-title .count { font-size: 14px; color: #52627c; background: transparent; border: 0; border-radius: 0; padding: 0; font-weight: 400; }
.sort-control select { background: transparent; max-width: none; min-width: 114px; font-size: 12px; color: #42516b; min-height: 32px; }
.conversation+.conversation { border-top: 8px solid #f3f5f8; box-shadow: 0 -1px 0 var(--line); }
.message { padding: 20px 20px 10px; }
.message-top { display: flex; align-items: baseline; column-gap: 8px; row-gap: 3px; flex-wrap: wrap; }
.post-number { color: #445677; font-size: 12px; font-weight: 600; }
.message-author { font-size: 12px; font-weight: 600; color: #34435f; }
.sample-label { background: none; border: 0; padding: 0; color: #7a8494; font-size: 10px; border-radius: 0; }
.message-top>time { font-size: 12px; margin: 0 0 0 auto; color: #6c788d; white-space: nowrap; }
.message-body { color: #2d374c; font-size: 15px; line-height: 1.85; letter-spacing: 0; margin: 11px 0 8px; }
.message-actions { gap: 16px; flex-wrap: wrap; color: var(--muted); }
.message-actions button { color: var(--link); min-height: 40px; font-size: 12px; }
.message-actions button svg { display: none; }
.read-replies { color: #657994; font-size: 12px; }
.conversation-updated { color: #758097; font-size: 11px; }
.post-permalink,.post-report { color: #69778d; font-size: 11px; }
.message:target { background: #f1f6ff; box-shadow: inset 2px 0 #5d7cab; }
.conversation-replies { margin: 0 20px 16px; border-left: 1px solid #cbd4e3; }
.conversation-replies>.message { position: relative; padding: 14px 0 6px 18px; border: 0; }
.conversation-replies>.message:before { content: ""; position: absolute; top: 24px; left: 0; width: 9px; border-top: 1px solid #cbd4e3; }
.conversation-replies .reply-context { margin: 5px 0 0; padding: 0; border: 0; }
.reply-context strong { color: #246c68; font-size: 11px; font-weight: 500; }
.conversation-replies .reply-context span { color: #768194; }
.conversation-replies .message-body { margin-top: 5px; }
.empty { padding: 26px 20px; }
.empty h3 { font-size: 16px; }
.empty p { color: var(--muted); }
.composer { border-radius: 3px; margin-top: 18px; border-color: #cbd3e0; }
.composer>summary { min-height: 58px; padding: 16px 20px; color: #24385b; font-weight: 600; }
.composer>summary small { font-size: 11px; }
.composer form { padding: 0 20px 20px; }
textarea { border-color: #bec8d9; border-radius: 3px; background: #fff; font-size: 16px; }
textarea:focus { outline-color: #667eaa; }
.compose-bottom small { font-size: 11px; }
#reply-state:not(:empty) { border-color: #98aecf; background: #f2f5fa; border-radius: 0; }
.reply-state-meta { color: #405b83; }
#reply-state blockquote { color: #56647d; }
#status { color: #a43939; }
.below-thread { color: var(--link); }
.toast { background: #202f50; border-radius: 4px; }
.photo-viewer { border-radius: 4px; }
.photo-viewer>button { background: #eef1f6; border-radius: 3px; }
.photo-viewer>p { color: var(--muted); }

/* Forms and search results use the same fields and separators. */
.search-results { border-radius: 3px; padding: 22px; }
.search-results h1 { font-size: 21px; }
.search-results .search-group-title { color: #66738b; font-size: 12px; font-weight: 500; }
.search-result { min-height: 72px; gap: 14px; }
.search-result strong { font-size: 15px; }
.search-result small { font-size: 12px; }
.search-result>svg { color: #8390a6; }
.search-zero { color: var(--muted); }
.support-panel { border-radius: 3px; padding: 26px; }
.support-panel h1 { font-size: 26px; }
.form-preview-note { border-color: #9aaccb; background: #f1f4f9; color: #5e6d86; }
.support-panel form>label { font-size: 13px; font-weight: 500; }
.support-panel input { border-color: #bec8d9; background: #fff; border-radius: 3px; font-size: 16px; }
.field-help { font-size: 12px; }
.preview-form-result { background: #eef4f7; border-radius: 3px; color: #35566b; }
.footer { margin-top: 38px; border-color: var(--line); padding-top: 16px; }
.footer nav { color: #59667d; font-size: 12px; margin: 8px 0 10px; }
.footer>small { color: #737f92; font-size: 11px; }

@media(max-width:1000px) {
  .layout { grid-template-columns: minmax(0,1fr) 210px; gap: 28px; }
  .header-inner { gap: 20px; }
}
@media(max-width:760px) {
  :root { background: #fff; }
  .preview-strip.demo { font-size: 10px; padding: 4px 8px; }
  .header-inner { height: 60px; padding: 0 12px; gap: 8px; }
  .brand-image { width: 132px; height: 44px; }
  .header-nav { display: none; }
  .site-menu { display: block; }
  .site-search { position: static; width: auto; max-width: none; min-width: 0; flex: 1; height: 36px; padding: 0 2px 0 9px; border: 1px solid transparent; }
  .site-search:focus-within { position: static; width: auto; padding: 0 2px 0 9px; }
  .site-search input { font-size: 16px; }
  .site-search button { width: 28px; min-width: 28px; height: 34px; }
  .site-menu>summary { width: 32px; }
  .layout { display: block; padding: 19px 18px 34px; }
  .aside { display: none; }
  body:has(.mobile-actions) .layout { padding-bottom: 96px; }
  .breadcrumbs { font-size: 11px; gap: 5px; margin-bottom: 13px; }
  h1 { font-size: 27px; }
  .subject-type { font-size: 12px; vertical-align: 2px; margin-left: 10px; padding-left: 10px; }
  .subject-head { margin-bottom: 13px; }
  .subject-meta { font-size: 11px; gap: 6px 14px; }
  .latest-post { font-size: 11px; }
  .head-write { display: none; }
  .directory-head { padding-bottom: 19px; }
  .directory-head h1 { font-size: 23px; }
  .directory-head.compact h1 { font-size: 24px; }
  .directory-head>p { font-size: 12px; }
  .directory-search { margin-top: 14px; padding: 5px 5px 5px 11px; gap: 9px; }
  .directory-search button { min-width: 60px; padding: 8px 12px; }
  .genre-bar { font-size: 12px; margin-bottom: 12px; }
  .area-option { padding: 12px 11px; gap: 6px; }
  .area-option span { font-size: 11px; }
  .directory-section { margin-top: 25px; }
  .section-heading { margin-bottom: 11px; }
  .section-heading h2 { font-size: 16px; }
  .live-dot,.inline-link { font-size: 11px; }
  .board-list,.salon-list { border-left: 0; border-right: 0; border-radius: 0; }
  .board-row { padding: 16px 0; gap: 12px; }
  .board-row-context { font-size: 11px; }
  .board-row-main strong { font-size: 16px; }
  .board-row-main time { font-size: 11px; }
  .board-row-count { flex-basis: 44px; width: 44px; }
  .board-row>svg { display: none; }
  .list-photo { width: 44px; height: 58px; flex-basis: 44px; }
  .board-excerpt { font-size: 12px; }
  .salon-card { padding: 18px 0; gap: 12px; }
  .salon-mark { width: 42px; height: 48px; flex-basis: 42px; }
  .salon-card-main>strong { font-size: 16px; }
  .salon-tags,.salon-access,.salon-card-stats { font-size: 11px; }
  .salon-card-stats { gap: 3px 10px; }
  .name-directory>summary { padding: 14px 12px; font-size: 13px; }
  .name-directory .roster-grid { padding: 0 12px 10px; }
  .name-directory .person-link { font-size: 12px; gap: 7px; }
  .name-directory .person-initial { display: none; }
  .basic-profile { padding: 13px 0 0; margin-bottom: 18px; }
  .basic-profile-main { gap: 14px; }
  .basic-photo { width: 76px; height: 102px; flex-basis: 76px; }
  .basic-profile-heading { gap: 4px 10px; margin-bottom: 7px; }
  .basic-profile-heading h2,.basic-profile-heading a { font-size: 12px; }
  .basic-facts { gap: 7px 13px; }
  .basic-facts dd { font-size: 13px; }
  .basic-profile-note { font-size: 11px; margin-top: 10px; }
  .profile-more>summary { min-height: 42px; font-size: 12px; }
  .salon-profile { padding: 13px 0 3px; }
  .shop-facts { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .shop-facts>p { font-size: 12px; }
  .page-jumps { background: #fff; margin-top: 10px; gap: 24px; }
  .page-jumps a { font-size: 12px; padding: 13px 0; }
  .roster { margin-top: 22px; }
  .roster .section-heading { align-items: baseline; }
  .roster .section-heading h2 { font-size: 15px; }
  .roster .section-heading .count { font-size: 12px; }
  .roster-tools { align-items: stretch; flex-direction: column; gap: 8px; }
  .roster-search { width: 100%; max-width: none; min-height: 42px; }
  .roster-search input { font-size: 16px; }
  .roster>.roster-grid { grid-template-columns: 1fr; gap: 0; }
  .person-link.roster-card { padding: 14px 0; gap: 14px; }
  .roster-card .list-photo { width: 50px; height: 67px; flex-basis: 50px; }
  .roster-person strong { font-size: 15px; }
  .roster-person small,.roster-person time,.roster-person>span:last-child:not(.roster-posts) { font-size: 12px; }
  .roster-person .roster-posts { font-size: 12px; }
  .discussion { margin-left: -18px; margin-right: -18px; border-left: 0; border-right: 0; }
  .discussion-top { padding: 12px 18px; gap: 6px; }
  .section-title h2 { font-size: 17px; }
  .section-title .count { font-size: 13px; }
  .sort-control select { font-size: 12px; }
  .message { padding: 17px 18px 8px; }
  .message-top { gap: 4px 7px; }
  .message-author,.post-number { font-size: 12px; }
  .message-top>time { font-size: 12px; }
  .sample-label { font-size: 10px; }
  .message-body { font-size: 15px; line-height: 1.85; margin-top: 10px; }
  .message-actions { column-gap: 14px; row-gap: 0; }
  .message-actions button { min-height: 42px; font-size: 12px; }
  .read-replies { font-size: 11px; min-height: 42px; }
  .conversation-replies { margin: 0 18px 14px; }
  .conversation-replies>.message { padding: 14px 0 5px 14px; }
  .conversation-replies .message-top { column-gap: 6px; }
  .conversation-updated { font-size: 10px; }
  .composer { margin-top: 17px; }
  .composer>summary { padding: 14px; min-height: 54px; font-size: 12px; flex-wrap: wrap; }
  .composer form { padding: 0 14px 15px; }
  .compose-bottom small { font-size: 10px; max-width: 170px; }
  .mobile-actions { display: flex; gap: 12px; padding: 8px 18px max(8px,env(safe-area-inset-bottom)); background: #fffffffa; box-shadow: none; }
  .mobile-actions .read-link { flex: 1; text-align: left; color: #4e6080; font-size: 12px; }
  .mobile-actions .read-link svg { display: none; }
  .mobile-actions .button { flex: 0 0 auto; min-height: 40px; border-radius: 4px; font-size: 12px; padding: 8px 17px; }
  .mobile-actions .mobile-registration { margin: 0; font-size: 10px; color: #6c7890; white-space: nowrap; }
  .search-results { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 0; }
  .search-results h1 { font-size: 19px; }
  .search-result strong { font-size: 15px; }
  .search-result small { font-size: 12px; }
  .support-panel { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 20px 0; }
  .support-panel h1 { font-size: 23px; }
  .support-panel form>label { font-size: 13px; }
  .footer { margin-top: 32px; }
  .footer nav { font-size: 12px; gap: 10px 18px; }
  .footer>small { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
