/* Compact inquiry layout in both themes; colors come from the current palette. */
html:root body main .contact #lead-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;width:100%!important;max-width:940px!important;min-width:0!important;margin-inline:auto!important;padding:clamp(20px,2.5vw,32px)!important;border-radius:20px!important;border:1px solid var(--ece-line,#666a9e)!important;box-sizing:border-box!important;}
html:root body main .contact #lead-form>*{min-width:0!important;grid-column:1/-1!important;}
html:root body main .contact #lead-form .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:16px 20px!important;}
html:root body main .contact #lead-form .form-grid>label{grid-column:auto!important;display:grid!important;gap:7px!important;margin:0!important;min-width:0!important;}
html:root body main .contact #lead-form .form-grid>label:has(input[name=company]){grid-column:1/-1!important;}
html:root body main .contact #lead-form label>span{font-size:12px!important;letter-spacing:.025em!important;line-height:1.4!important;color:var(--dr-muted,#d7daed)!important;text-transform:none!important;}
html:root body main .contact #lead-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=file]),select,textarea){width:100%!important;box-sizing:border-box!important;min-width:0!important;min-height:48px!important;padding:11px 14px!important;border-radius:10px!important;border-color:var(--dr-border,#7277a9)!important;font-size:16px!important;color:var(--ece-ink,#f2f5f7)!important;}
html:root body main .contact #lead-form :is(input,textarea)::placeholder{color:var(--dr-muted,#bdc1dc)!important;opacity:1!important;}
html:root body main .contact #lead-form textarea{height:112px!important;min-height:112px!important;max-height:360px;resize:vertical!important;line-height:1.55!important;}
html:root body main .contact #lead-form :is(input,textarea,select):focus-visible{outline:2px solid var(--ece-link)!important;outline-offset:2px!important;}
html:root body main .contact #lead-form .kei-topic-picker{margin:0!important;padding:16px 0 0!important;border:0!important;border-top:1px solid var(--ece-line)!important;}
html:root body main .contact #lead-form :is(.kei-topic-picker legend,.kei133-topics legend){font-size:17px!important;font-weight:700!important;line-height:1.4!important;margin:0 0 6px!important;color:var(--ece-ink)!important;}
html:root body main .contact #lead-form .kei-topic-hint{font-size:13px!important;margin:0 0 12px!important;color:var(--dr-muted,#bdc1dc)!important;}
html:root body main .contact #lead-form :is(.kei-topic-grid,.kei133-topics-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
html:root body main .contact #lead-form :is(.kei-topic-chip,.kei133-topic){min-width:0!important;min-height:44px!important;padding:10px 12px!important;border-radius:10px!important;font-size:13px!important;line-height:1.4!important;text-align:left!important;white-space:normal!important;}
html:root body main .contact #lead-form :is(.kei-topic-chip,.kei133-topic).is-selected{border-color:var(--ece-link)!important;box-shadow:inset 3px 0 var(--ece-link)!important;background:var(--ece-surfaceHover)!important;color:var(--ece-ink)!important;}
html:root body main .contact #lead-form button[type=submit]{min-height:48px!important;padding:12px 20px!important;width:auto!important;min-width:0!important;justify-self:start!important;}
html:root body main .contact #lead-form .kei-mailing-choice{margin:0!important;}
@media(max-width:620px){html:root body main .contact #lead-form{padding:20px!important;gap:16px!important;border-radius:16px!important;}html:root body main .contact #lead-form :is(.form-grid,.kei-topic-grid,.kei133-topics-grid){grid-template-columns:minmax(0,1fr)!important;}html:root body main .contact #lead-form button[type=submit]{width:100%!important;justify-self:stretch!important;}}

/* Compact inquiry block, both themes. */
html:root body main .contact.kei133-contact>.container{width:min(calc(100% - 48px),1160px)!important;}
html:root body main .contact.kei133-contact .contact-layout{grid-template-columns:minmax(0,1fr) 280px!important;gap:24px!important;align-items:start!important;}
html:root body main .contact #lead-form{max-width:none!important;padding:24px!important;gap:14px!important;border-radius:16px!important;}
html:root body main .contact #lead-form .form-grid{gap:12px 16px!important;}
html:root body main .contact #lead-form .kei133-topics{padding:12px 0 0!important;margin:0!important;min-width:0!important;}
html:root body main .contact #lead-form .kei133-topics legend{font-size:16px!important;margin:0 0 4px!important;}
html:root body main .contact #lead-form .kei133-topics>p{margin:4px 0 10px!important;font-size:12px!important;}
html:root body main .contact #lead-form .kei133-topic-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
html:root body main .contact #lead-form .kei133-topic{width:100%!important;justify-content:space-between!important;box-sizing:border-box!important;font-size:12px!important;min-height:44px!important;}
html:root body main .contact #lead-form textarea{height:96px!important;min-height:96px!important;}
html:root body main .contact .kei133-contact-side{min-height:0!important;height:auto!important;align-self:start!important;padding:24px!important;border-radius:16px!important;}
html:root body main .contact .kei133-contact-side h3{font-size:25px!important;line-height:1.2!important;margin:18px 0!important;}
html:root body main .contact .kei133-contact-side ol{grid-template-columns:1fr!important;}
html:root body main .contact .kei133-contact-side li{display:grid!important;grid-template-columns:24px 1fr!important;gap:10px!important;padding:13px 0!important;font-size:13px!important;line-height:1.5!important;}
html:root body main .contact .kei133-team{margin-top:18px!important;padding-top:18px!important;}
@media(max-width:1000px){html:root body main .contact.kei133-contact .contact-layout{grid-template-columns:minmax(0,1fr)!important;}html:root body main .contact .kei133-contact-side ol{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}}
@media(max-width:620px){html:root body main .contact.kei133-contact>.container{width:calc(100% - 28px)!important;}html:root body main .contact #lead-form{padding:18px!important;}html:root body main .contact #lead-form .kei133-topic-grid{grid-template-columns:minmax(0,1fr)!important;}html:root body main .contact .kei133-contact-side{padding:20px!important;}html:root body main .contact .kei133-contact-side ol{grid-template-columns:1fr!important;}}

html:root[data-theme=light] body main .contact #lead-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=file]),select,textarea){color:var(--ece-ink,#142b40)!important;background:var(--ece-bg,#f3f6f8)!important;border-color:var(--ece-line,#c7cedb)!important;}
html:root body main .contact #lead-form .kei133-topic-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
@media(max-width:620px){html:root body main .contact #lead-form :is(.form-grid,.kei133-topic-grid){grid-template-columns:minmax(0,1fr)!important;}}
