/* Shared form rhythm; inline text links and icon controls retain their scale. */
:root{--control-height:40px;--control-radius:6px;--control-gap:10px}
.provery-theme :is(button,input,select,textarea){box-sizing:border-box}
.provery-theme :is(dialog,fieldset){min-width:0}
.provery-theme :is(.page-title,.site-guide-header,.inbox-heading,.chat-heading){min-width:0}
.provery-theme :is(.page-title h1,.site-guide-header h2,.inbox-heading h2,#coffeeRoomTitle){overflow-wrap:anywhere;min-width:0}
.theme-admin :is(.metrics-controls,#searchForm){align-items:flex-end;gap:var(--control-gap)}
.theme-admin :is(.metrics-controls,#searchForm) :is(input,select,button){height:var(--control-height);min-height:var(--control-height);margin:0;border-radius:var(--control-radius);padding:8px 12px;font-size:13px;line-height:20px}
.theme-admin .metrics-controls label{min-width:0;gap:6px}
.theme-admin .metrics-controls input[type=date]{width:158px;min-width:158px}
.theme-admin .metrics-controls select{min-width:115px}
.theme-admin :is(.moderation-actions,.member-save-actions,.suspension-actions,.pager){gap:var(--control-gap)}
.theme-admin :is(.moderation-actions,.member-save-actions,.suspension-actions,.pager) :is(input,button){min-height:var(--control-height);padding:8px 12px;line-height:20px;border-radius:var(--control-radius);margin:0}
.theme-admin :is(.metric-items-heading,.chart-heading) button{min-height:var(--control-height);line-height:20px}
.theme-admin .chart-heading select{height:var(--control-height)}
.theme-admin .facts{grid-template-columns:85px minmax(0,1fr)}
.theme-admin .member-name{max-width:100%;overflow-wrap:anywhere}
.theme-admin .member-name .admin-member-avatar{align-self:flex-start}
.nickname-entry{align-items:stretch;gap:var(--control-gap)}
.nickname-entry :is(input,button){height:44px;min-height:44px;margin:0;line-height:22px}
.nickname-entry input{width:0!important;flex:1 1 0;min-width:0}
.nickname-entry button{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:10px 14px}
.provery-theme :is(.tool-actions,.identity-actions,.withdrawal-actions,.member-history-links){display:flex;flex-wrap:wrap;align-items:stretch;gap:var(--control-gap)}
.provery-theme :is(.tool-actions,.identity-actions,.withdrawal-actions,.member-history-links) :is(button,a){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:var(--control-height);line-height:1.5;margin:0}
.provery-theme .member-history-links :is(button,a){font-size:13px;padding:8px 12px}
.provery-theme .quick-tool-dialog [data-close]{width:36px;height:36px;padding:0;flex:0 0 36px}
.provery-theme .quick-tool-dialog header button{height:36px;flex-shrink:0;line-height:20px;padding:6px 12px}
.provery-theme .quick-tools button{min-height:40px;line-height:1.5}
.provery-theme .quick-email-form :is(input,button){min-height:46px}
.provery-theme :is(#memberInfoForm,#onboardingForm) input{max-width:100%}
.provery-theme #memberInfoForm button[type=submit]{min-height:44px;padding:10px 14px;line-height:22px;border-radius:var(--control-radius)}
.provery-theme .private-email>span{flex-wrap:wrap}
.provery-theme .withdrawal-actions>a{padding:8px 12px}
.provery-theme .coffee-pages{justify-content:center;flex-wrap:wrap;gap:var(--control-gap)}
.provery-theme :is(.coffee-pages,.inbox-heading,#coffeeDecision) button{min-height:var(--control-height);line-height:20px;padding:8px 12px}
.provery-theme #coffeeDecision:not(:empty){display:flex;flex-wrap:wrap;gap:var(--control-gap)}
.provery-theme #coffeeDecision button{margin:0}
.provery-theme #coffeeExpert{display:flex;align-items:center;flex-wrap:wrap;gap:var(--control-gap)}
.provery-theme #coffeeExpert label{margin:0;min-width:0}
.provery-theme #coffeeExpert small{flex-basis:100%}
.provery-theme #coffeeExpert button{min-height:var(--control-height)}
.provery-theme :is(.chat-compose,#coffeeRequestForm){align-items:stretch}
.provery-theme :is(.chat-compose,#coffeeRequestForm) textarea{min-width:0;flex:1 1 0}
.provery-theme :is(.chat-compose,#coffeeRequestForm) button[type=submit]{min-height:44px;align-self:flex-end}
.provery-theme .chat-compose .attach-button{width:36px;min-width:36px;height:36px;flex:0 0 36px}
.provery-theme .chat-menu{flex-shrink:0}
.provery-theme #contactForm :is(input:not([type=checkbox]),select){min-height:44px}
.provery-theme #sendContact{min-height:44px}
.provery-theme .verification-choices button{min-width:0}
.provery-theme .verification-choices strong{white-space:normal;overflow-wrap:anywhere}
.provery-theme #verificationForm :is(input:not([type=file]),select){min-height:44px}
.identity-page{box-sizing:border-box;overflow-wrap:anywhere}
.identity-page .identity-return{box-sizing:border-box;min-height:44px;line-height:22px;padding:10px 15px}
@media(max-width:760px){
 :root{--control-height:44px}
 .theme-admin .metrics-controls label{flex:1 1 130px}
 .theme-admin .metrics-controls :is(input[type=date],select){width:100%;min-width:0}
 .theme-admin .metrics-controls button{flex:0 1 auto}
 .theme-admin .page-title>span{display:block;overflow-wrap:anywhere;margin-top:8px}
 .theme-admin .moderation-actions input{flex-basis:100%}
 .theme-admin .moderation-actions button{flex:1 1 145px;white-space:normal}
 .theme-admin .metric-items-heading{align-items:flex-start}
 .theme-admin .metric-items-heading button{flex-shrink:0}
 .provery-theme .member-history-links :is(button,a){flex:1 1 130px}
 .provery-theme .nickname-entry input{font-size:16px}
}

/* Expert benefit and master review share the site's quiet violet hierarchy. */
.provery-theme .verification-coffee-benefit{padding:16px 18px;margin:16px 0;background:#f5f1fb;border:1px solid #e4daf3;border-radius:8px;color:#4c405f;line-height:1.7}
.verification-coffee-benefit h3{font-size:15px;margin:0 0 8px;color:#654c85}
.verification-coffee-benefit p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}
.coffee-activation-status{padding:12px 16px;border:1px solid #e4daf3;border-radius:8px;background:#f5f1fb;font-size:13px;line-height:1.7}
.direct-chat #coffeeActivationStatus{display:none}
.theme-admin .coffee-review-items article{padding:14px 0;border-bottom:1px solid #eee8f5}
.theme-admin .coffee-review-choice{display:flex;gap:8px;align-items:center;font-size:12px;margin:0}
.theme-admin .coffee-review-choice input{width:17px;min-height:17px;height:17px;flex:0 0 17px;margin:0}
.theme-admin .coffee-review-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:10px 0}
.theme-admin .coffee-review-status{font-weight:700;color:#654c85}
.theme-admin .coffee-review textarea{margin:8px 0;min-height:76px}
.theme-admin .coffee-review>.muted{overflow-wrap:anywhere}
.theme-admin .coffee-review button{min-height:40px;white-space:normal}

/* Board lists retain their frame and columns, with a consistent inner gutter. */
.theme-community #integratedBoard > .board-wrap {
  box-sizing:border-box;
  padding:24px;
}
.theme-community #integratedBoard .board-header {
  align-items:center;
  gap:20px;
  margin:0;
  padding:0 0 20px;
  border-bottom:1px solid var(--color-border);
}
.theme-community #integratedBoard .board-header > div { flex:1; min-width:0; }
.theme-community #integratedBoard .board-header .board-title {
  margin:0;
  font-size:22px;
  line-height:1.5;
  letter-spacing:-.025em;
}
.theme-community #integratedBoard .board-subtitle {
  margin:6px 0 0;
  font-size:13px;
  line-height:1.7;
  color:var(--color-text-secondary);
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.theme-community #integratedBoard #toggleWrite {
  flex-shrink:0;
  min-width:160px;
  min-height:44px;
  padding:11px 22px;
  font-size:14px;
  line-height:20px;
  border-radius:6px;
  white-space:nowrap;
}
.theme-community #integratedBoard #boardTopicExample {
  margin:16px 0 0;
  padding:12px 14px;
  border-radius:6px;
  background:var(--color-surface-subtle);
  color:var(--color-text-secondary);
  overflow-wrap:anywhere;
}
.theme-community #integratedBoard .board-controls { flex-direction:column; align-items:flex-end; justify-content:flex-start; gap:10px; padding:16px 0 12px; margin:0; }
.theme-community #integratedBoard .board-controls:has(#toggleWrite[hidden]):has(.board-filter[hidden]) { display:none; }
.theme-community #integratedBoard .board-compose-row { display:flex; align-items:center; gap:20px; width:100%; min-width:0; }
.theme-community #integratedBoard .board-compose-row:has(> #toggleWrite[hidden]):has(> #questionBoardNotice[hidden]) { display:none; }
.theme-community #integratedBoard .board-question-note { flex:1; min-width:0; margin:0; color:var(--color-text-muted); font-size:12px; line-height:1.75; word-break:keep-all; overflow-wrap:anywhere; }
.theme-community #integratedBoard .board-question-note > span { display:block; }
.theme-community #integratedBoard .board-question-note-lead { margin-bottom:2px; color:var(--color-text-secondary); font-size:13px; font-weight:500; }
.theme-community #integratedBoard .board-question-note strong { color:var(--color-expert-label,var(--color-link)); font-weight:700; white-space:nowrap; }
.theme-community #integratedBoard .board-filter { gap:8px; }
.theme-community #integratedBoard .board-filter .field-label { font-size:12px; }
.theme-community #integratedBoard #sortSelect {
  min-height:28px;
  height:28px;
  padding:4px 9px;
  line-height:18px;
  border-radius:4px;
  font-size:12px;
}
.theme-community #integratedBoard .search-result-row:has(#searchResultStatus:empty):has(#clearSearch[hidden]) { display:none; }
.theme-community #integratedBoard .board-table th {
  padding:11px 8px;
  font-size:12px;
  font-weight:500;
  line-height:1.5;
  white-space:nowrap;
}
.theme-community #integratedBoard .board-table col:nth-child(1) { width:auto !important; }
.theme-community #integratedBoard .board-table col:nth-child(2) { width:116px !important; }
.theme-community #integratedBoard .board-table col:nth-child(3) { width:112px !important; }
.theme-community #integratedBoard .board-table col:nth-child(4) { width:100px !important; }
.theme-community #integratedBoard .board-table col:nth-child(5) { width:80px !important; }
.theme-community #integratedBoard .board-table [data-category-column][hidden] { display:none; }
.theme-community #integratedBoard .board-table td { padding:12px 8px; line-height:1.7; }
.theme-community #integratedBoard .board-table .title-cell { padding-left:12px; }
.theme-community #integratedBoard .board-table .post-title-btn { font-size:14px; line-height:1.7; }
/* Reserve badge space; only the title yields when a list row is narrow. */
.theme-community .post-title-line { display:flex; align-items:center; gap:5px; min-width:0; max-width:100%; }
.theme-community .post-title-line > :is(.post-title-btn,.pending-post-title) {
  display:block; flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.theme-community .post-title-line > :is(.title-meta,.expert-reply-label,.new-badge,.pending-post-label) {
  flex:0 0 auto; margin-left:0; white-space:nowrap;
}
.theme-community #integratedBoard .board-table .post-author { overflow:hidden; text-overflow:ellipsis; }
.theme-community #integratedBoard .board-table .post-views { text-align:center; white-space:nowrap; color:var(--color-text-muted); font-variant-numeric:tabular-nums; }
.theme-community #integratedBoard .board-table .post-views-label { display:none; }
.theme-community #integratedBoard .board-table td.author:not(.post-author) { white-space:normal; }
.theme-community #integratedBoard .board-table .post-subcategory-tag { margin-right:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:middle; }
.theme-community #integratedBoard .board-table td[colspan] { padding:32px 16px; text-align:center; white-space:normal; overflow-wrap:anywhere; }
.theme-community #integratedBoard .board-table tbody tr:hover td { background:var(--color-surface-hover); }
.theme-community #integratedBoard #pagination { margin:24px 0 0; gap:6px; }
.theme-community #integratedBoard #pagination:empty { display:none; }
.theme-community #integratedBoard .page-btn { min-width:36px; min-height:36px; border-radius:4px; }
@media (min-width:761px) and (max-width:1100px) {
  .theme-community #integratedBoard > .board-wrap { padding:20px; }
  .theme-community #integratedBoard .board-header { gap:14px; }
  .theme-community #integratedBoard .board-header .board-title { font-size:20px; }
  .theme-community #integratedBoard .board-table .date { font-size:11px; }
}
@media (max-width:760px) {
  .theme-community #integratedBoard > .board-wrap { padding:20px 16px; }
  .theme-community #integratedBoard .board-header { align-items:flex-start; gap:12px; padding-bottom:16px; }
  .theme-community #integratedBoard .board-header .board-title { font-size:20px; }
  .theme-community #integratedBoard .board-subtitle { font-size:12px; }
  .theme-community #integratedBoard #toggleWrite { min-width:148px; padding:10px 20px; }
  .theme-community #integratedBoard #sortSelect { min-height:32px; height:32px; padding:6px 9px; }
  .theme-community #integratedBoard .board-compose-row { flex-wrap:wrap; gap:12px; }
  .theme-community #integratedBoard .board-question-note { flex-basis:100%; }
  .theme-community #integratedBoard .page-btn { min-width:40px; min-height:44px; }
}
.theme-community .reading-post #sidebarWrite { display:none; }
/* Use the existing compact list before five columns become too narrow. */
@media (max-width:1000px) {
  .theme-community #integratedBoard .board-table { table-layout:fixed; }
  .theme-community #integratedBoard .board-table :is(thead,colgroup) { display:none; }
  .theme-community #integratedBoard .board-table tbody { display:block; }
  .theme-community #integratedBoard .board-table tr { display:flex; flex-wrap:wrap; padding:14px 0; gap:0 12px; border-bottom:1px solid var(--color-border-subtle); }
  .theme-community #integratedBoard .board-table tr td { padding:0; border:0; }
  .theme-community #integratedBoard .board-table td.title-cell { width:100%; padding:0 0 8px; }
  .theme-community #integratedBoard .board-table :is(td.author:not(.post-author),td.status) { display:none; }
  .theme-community #integratedBoard .board-table .post-title-btn { font-size:15px; }
  .theme-community #integratedBoard .board-table :is(td.post-author,td.date,td.post-views) { display:block; width:auto; font-size:11px; text-align:left; }
  .theme-community #integratedBoard .board-table .post-author { flex:1; min-width:0; max-width:none; }
  .theme-community #integratedBoard .board-table :is(td.date,td.post-views) { flex:0 0 auto; }
  .theme-community #integratedBoard .board-table td.date { margin-left:auto; }
  .theme-community #integratedBoard .board-table .post-views-label { display:inline; }
  .theme-community #integratedBoard .board-table td[colspan] { width:100%; padding:18px 4px; }
}
