/* 2026-12 UX audit: shared templates and accessible states */
:root { --audit-width:1100px; }
html { scroll-padding-top:100px; }
main { min-width:0; }
body .home-hero { min-height:0; padding-block:72px; }
body .kfa-top-hero { padding-top:72px; padding-bottom:56px; }
body .kfa-page-head, body .kfa-media-index-head, body .kfa-media-section-head, body .kfa-story-head { padding-top:72px; padding-bottom:48px; }
body .kfa-story-head h1, body .kfa-media-index-head h1, body .kfa-media-section-head h1 { max-width:900px; font-size:clamp(32px,4vw,54px); }
body .kfa-story-head p { max-width:760px; }
body .kfa-story-body { max-width:760px; }
body .kfa-story-body p { font-size:18px; line-height:1.8; }
body .kfa-role-duo p, body .kfa-role-trio p, body .home-do__grid p, body .home-join__card p { font-size:16px; line-height:1.7; }
.course-quick,.contact-section,.inquiry-archive,.member-before-form { max-width:var(--audit-width); margin:32px auto; padding:28px 24px; box-sizing:border-box; }
.course-quick { background:#f4f4f4; border-radius:20px; }
.course-quick p,.contact-section p,.member-before-form p { font-size:17px; line-height:1.75; }
.contact-section { scroll-margin-top:90px; }
.contact-section h2 { margin:32px 0 16px; font-size:clamp(26px,3vw,36px); }
.contact-section a { overflow-wrap:anywhere; }
.contact-section details { margin-block:24px; }
.contact-section li { margin-block:12px; }
.inquiry-page .kfa-page-head { max-width:var(--audit-width); margin:auto; }
.inquiry-list-head { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.inquiry-list-head h2 { font-size:28px; }
.inquiry-list-head h2 span { font-size:18px; color:#666; }
.inquiry-note { color:#666; line-height:1.7; font-size:16px; }
.inquiry-months { font-size:15px; line-height:1.7; }
.edu-inquiry-list { list-style:none; margin:28px 0 0; padding:0; border-top:2px solid #111; }
.edu-inquiry-row { display:grid; grid-template-columns:48px 1fr 82px 90px; gap:16px; align-items:center; min-height:76px; border-bottom:1px solid #dedede; padding:12px 8px; box-sizing:border-box; }
.edu-inquiry-row strong { font-size:17px; font-weight:600; }
.edu-inquiry-number,.edu-inquiry-row time { color:#666; font-size:15px; }
.edu-inquiry-lock { border:1px solid #dedede; padding:6px 10px; border-radius:999px; font-size:14px; text-align:center; }
.kfa-privacy-link { text-align:center; font-size:14px; margin:0 0 24px; }
.account-help { line-height:1.7; font-size:16px; }
.consent-row { display:flex; align-items:flex-start; flex-wrap:wrap; gap:8px; margin-block:20px; font-size:16px; line-height:1.7; }
.consent-row input { width:20px!important; height:20px!important; flex:none; margin:4px 0; }
.kfa-community-board { grid-template-columns:minmax(0,1fr) 340px!important; }
.publication-state { color:#666; display:block; font-size:14px; margin-bottom:16px; }
.media-back,.article-next-actions,.editorial-note { max-width:1100px; margin:24px auto; padding:0 24px; line-height:1.7; }
.article-next-actions { display:flex; flex-wrap:wrap; gap:12px 24px; }
.article-next-actions a { display:inline-flex; min-height:48px; align-items:center; }
.editorial-note { color:#666; font-size:15px; }
.tstc-progressing .kfa-common-header,.tstc-progressing .kfa-common-bottom,.tstc-progressing .kfa-common-footer,.tstc-progressing>.kfa-privacy-link { display:none; }
body.tstc-progressing { padding-block:0!important; }
body.tstc-progressing .qscreen .hd,body.tstc-progressing #pbar { top:0!important; }
body.tstc-progressing #ptxt { top:5px!important; }
.research-consent { padding:16px; margin-block:24px; border:1px solid #dedede; border-radius:16px; font-size:15px; line-height:1.7; }
.research-consent label { display:flex; gap:10px; align-items:flex-start; }
.research-consent input { width:20px; height:20px; flex:none; margin-top:3px; }
.save-state { margin:24px 0; padding:18px; background:#f4f4f4; border-radius:16px; font-size:16px; line-height:1.7; }
.save-state button { margin-top:12px; display:block; padding:10px 20px; }
@media(max-width:920px) { body .home-hero { padding-top:32px; gap:28px; } body .home-hero__gallery { order:0; width:100%; max-width:560px; } .kfa-community-board { grid-template-columns:1fr!important; } }
@media(max-width:560px) { body .kfa-top-hero,body .kfa-page-head,body .kfa-media-index-head,body .kfa-media-section-head,body .kfa-story-head { padding-top:40px; padding-bottom:32px; } body .kfa-top-hero__title { font-size:34px; } .home-page .home-tstc__senses { font-size:16px; white-space:normal; } .contact-section,.inquiry-archive,.course-quick,.member-before-form { margin:24px 16px; padding:20px 8px; } .course-quick { padding:20px; } .edu-inquiry-row { grid-template-columns:28px 1fr 66px; gap:10px; } .edu-inquiry-row time { grid-column:2; grid-row:2; margin-top:-8px; } .edu-inquiry-lock { grid-column:3; grid-row:1 / span 2; font-size:13px; padding:6px; } .edu-inquiry-row strong { font-size:16px; } .kfa-common-bottom a { font-size:13px; } }

.contact-type-label{display:block;font-size:16px;margin:20px 0 8px}#education-inquiry-type{display:block;min-height:48px;min-width:220px;padding:10px 16px;border:1px solid #dedede;border-radius:12px;font:inherit;background:#fff;margin-bottom:20px}
/* Inquiry/information pages use the same complete button treatment as course pages. */
:is(.inquiry-page,.info-page) a.kfa-btn { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:48px; padding:14px 24px; border:1px solid #8c4527; border-radius:999px; text-decoration:none; font-size:16px; font-weight:600; line-height:1.4; }
:is(.inquiry-page,.info-page) a.kfa-btn--terra { background:#8c4527; color:#fff; }
:is(.inquiry-page,.info-page) a.kfa-btn--line { background:#fff; color:#8c4527; }
.inquiry-list-head>a,.contact-section a:not(.kfa-btn) { color:#8c4527; text-underline-offset:3px; }
/* Actual inquiry board */
.inquiry-primary,.inquiry-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border:1px solid #8c4527;border-radius:999px;font:600 16px/1.4 var(--kfa-font);cursor:pointer;box-sizing:border-box}
.inquiry-primary{color:#fff;background:#8c4527}.inquiry-secondary{color:#8c4527;background:#fff}.inquiry-primary:disabled,.inquiry-secondary:disabled{opacity:.55;cursor:wait}
.edu-inquiry-row>button{border:0;border-radius:0;background:transparent;color:#111;text-align:left;padding:8px 0;font-size:17px;font-weight:600;min-width:0;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.inquiry-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.inquiry-toolbar select{min-height:48px;padding:8px 14px;border:1px solid #dedede;border-radius:12px;font:inherit;background:#fff}.inquiry-toolbar>a{margin-left:auto;color:#8c4527}
.inquiry-status{font-size:16px;line-height:1.7;min-height:1px}.inquiry-status[data-error=true]{color:#a32720}.inquiry-dialog{width:min(640px,calc(100vw - 32px));max-height:90dvh;padding:28px;border:1px solid #dedede;border-radius:20px;box-sizing:border-box;overflow:auto;color:#111;background:#fff}.inquiry-dialog::backdrop{background:rgb(17 17 17/.45)}.inquiry-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.inquiry-dialog-head h2{margin:0;font-size:26px}.inquiry-dialog-head button{padding:8px 18px;border:1px solid #dedede;background:#fff;color:#111}.inquiry-dialog p{font-size:16px;line-height:1.7}.inquiry-form{display:grid;gap:12px;margin-top:20px}.inquiry-form>label{font-size:16px;font-weight:600}.inquiry-form label span{font-size:14px;font-weight:500;color:#666}.inquiry-form>input,.inquiry-form>select,.inquiry-form>textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid #bcbcbc;border-radius:10px;font:16px/1.6 var(--kfa-font);background:#fff;color:#111;box-sizing:border-box}.inquiry-form>textarea{resize:vertical}.inquiry-help{margin:0;color:#666;font-size:14px!important}.inquiry-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.inquiry-dialog .consent-row{flex-wrap:nowrap;font-weight:500}.inquiry-dialog a{color:#8c4527}.inquiry-form>[type=submit]{margin-top:8px}.inquiry-dialog dl{display:grid;grid-template-columns:110px 1fr;gap:12px;font-size:16px}.inquiry-dialog dt{color:#666}.inquiry-dialog dd{margin:0;overflow-wrap:anywhere}#inquiry-private-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.8;border-top:1px solid #dedede;padding-block:20px}
@media(max-width:560px){.inquiry-dialog{padding:20px}.inquiry-dialog-head h2{font-size:23px}.edu-inquiry-row>button{font-size:16px}.inquiry-dialog dl{grid-template-columns:1fr;gap:6px}.inquiry-dialog dd{margin-bottom:12px}.inquiry-toolbar>a{margin-left:0}}
