.yks-form-shell { scroll-margin-top:7rem; max-width:1100px; margin:clamp(3rem,8vw,7rem) auto; padding:clamp(1.25rem,4vw,3.5rem); background:#fff; border:1px solid #d7d9d5; box-shadow:0 24px 70px rgb(24 33 38 / 10%); }
.yks-form-shell__intro { max-width:680px; margin-bottom:2rem; }
.yks-form-shell__intro h2 { margin:.35rem 0 .75rem; }
.yks-form-kicker { color:#c76532; font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.yks-form-notice { margin:0 0 1.5rem; padding:1rem 1.25rem; background:#eaf3ef; border-left:4px solid #31594b; }
.yks-progressive-form fieldset { display:none; margin:0; padding:0; border:0; }
.yks-progressive-form fieldset.is-active { display:block; animation:yks-in .22s ease-out; }
.yks-progressive-form legend { width:100%; margin:0 0 1.5rem; padding:0 0 .75rem; border-bottom:1px solid #d7d9d5; color:#182126; font-size:1.1rem; font-weight:800; }
.yks-progressive-form legend span { display:inline-grid; place-items:center; width:1.8rem; height:1.8rem; margin-right:.65rem; background:#182126; color:#fff; font-size:.8rem; }
.yks-progressive-form label,.yks-contact-form label { display:grid; gap:.45rem; margin-bottom:1rem; color:#2b363b; font-size:.9rem; font-weight:700; }
.yks-progressive-form input,.yks-progressive-form select,.yks-progressive-form textarea,.yks-contact-form input,.yks-contact-form select,.yks-contact-form textarea { box-sizing:border-box; width:100%; min-height:3.15rem; padding:.75rem .85rem; border:1px solid #bfc4c1; border-radius:2px; background:#fff; color:#182126; font:inherit; }
.yks-progressive-form textarea,.yks-contact-form textarea { min-height:8rem; resize:vertical; }
.yks-progressive-form input:focus,.yks-progressive-form select:focus,.yks-progressive-form textarea:focus,.yks-contact-form input:focus,.yks-contact-form textarea:focus { outline:3px solid rgb(199 101 50 / 18%); border-color:#c76532; }
.yks-field-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.yks-selected-product { display:grid; gap:.2rem; margin-bottom:1.25rem; padding:1rem 1.15rem; background:#f5f3ee; border-left:4px solid #c76532; }
.yks-selected-product span { color:#667176; font-size:.75rem; font-weight:800; text-transform:uppercase; }
.yks-form-actions { display:flex; justify-content:space-between; gap:1rem; margin-top:1.5rem; }
.yks-form-next,.yks-form-submit,.yks-form-back { min-height:3rem; padding:.75rem 1.25rem; border:1px solid #182126; border-radius:2px; font:700 .9rem/1 inherit; cursor:pointer; }
.yks-form-next,.yks-form-submit { margin-left:auto; background:#c76532; border-color:#c76532; color:#fff; }
.yks-form-back { background:#fff; color:#182126; }
.yks-form-next:hover,.yks-form-submit:hover { background:#9f4723; border-color:#9f4723; }
.yks-consent { grid-template-columns:auto 1fr !important; align-items:start; font-weight:400 !important; }
.yks-consent input { width:1.15rem !important; min-height:1.15rem !important; margin-top:.2rem; }
.yks-file small { color:#667176; font-weight:400; }
.yks-hp { position:absolute !important; left:-10000px !important; width:1px; height:1px; overflow:hidden; }
.yks-block-placeholder { padding:1.5rem; border:1px dashed #c76532; background:#f5f3ee; }
.yks-block-placeholder strong { display:block; margin:.4rem 0; }
@keyframes yks-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media(max-width:680px){.yks-field-row{grid-template-columns:1fr}.yks-form-shell{margin:2rem auto;padding:1.1rem}.yks-form-actions{align-items:stretch}.yks-form-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.yks-progressive-form fieldset.is-active{animation:none}}

/* 0.4.1 compact viewport-safe product form */
.yks-product-inquiry .yks-form-shell{display:flex;max-height:calc(100svh - 120px);flex-direction:column;margin:0;padding:22px;border-radius:2px;box-shadow:none}
.yks-product-inquiry .yks-form-shell__intro{margin-bottom:12px}
.yks-product-inquiry .yks-form-shell__intro h2{margin:.2rem 0;font-size:2.15rem;line-height:.98}
.yks-product-inquiry .yks-form-shell__intro p{display:none}
.yks-product-inquiry .yks-progressive-form{min-height:0;overflow:auto;overscroll-behavior:contain}
.yks-product-inquiry .yks-progressive-form legend{margin-bottom:12px;padding-bottom:10px;font-size:1.05rem}
.yks-product-inquiry .yks-choice-grid,.yks-product-inquiry .yks-field-row{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;padding:0}
.yks-product-inquiry .yks-choice-grid{padding:12px}
.yks-product-inquiry .yks-progressive-form label{gap:5px;margin-bottom:9px;font-size:.78rem}
.yks-product-inquiry .yks-progressive-form input,.yks-product-inquiry .yks-progressive-form select,.yks-product-inquiry .yks-progressive-form textarea{min-height:46px;padding:9px 11px}
.yks-product-inquiry .yks-progressive-form textarea{min-height:76px}
.yks-product-inquiry .yks-form-next,.yks-product-inquiry .yks-form-submit,.yks-product-inquiry .yks-form-back{min-height:46px;padding:.7rem 1.2rem}
.yks-product-inquiry .yks-form-actions{position:sticky;z-index:3;bottom:0;margin-top:10px;padding-top:10px;background:linear-gradient(0deg,#f7f9f8 80%,transparent)}
@media(max-width:1180px){.yks-product-inquiry .yks-form-shell{max-height:none}.yks-product-inquiry .yks-progressive-form{overflow:visible}}
@media(max-width:680px){.yks-product-inquiry .yks-choice-grid,.yks-product-inquiry .yks-field-row{grid-template-columns:1fr}.yks-product-inquiry .yks-form-shell{padding:16px}}

/* Premium multi-step inquiry */
.yks-form-shell { position:relative; max-width:1180px; padding:clamp(1.5rem,4vw,4rem); border:1px solid rgb(16 35 38 / 10%); border-radius:4px; background:linear-gradient(145deg,#fff,#f5f8f7); box-shadow:0 30px 80px rgb(16 35 38 / 14%); overflow:hidden; }
.yks-form-shell::before { content:""; position:absolute; width:320px; height:320px; right:-170px; top:-190px; border-radius:50%; background:rgb(239 107 46 / 10%); pointer-events:none; }
.yks-form-shell__intro { position:relative; z-index:1; max-width:760px; }
.yks-form-shell__intro h2 { font-size:clamp(2rem,4vw,3.5rem); letter-spacing:-.045em; }
.yks-form-shell__intro p { color:#607073; }
.yks-form-kicker { color:#df5c23; }
.yks-progressive-form { position:relative; z-index:1; }
.yks-progressive-form legend { display:flex; align-items:center; gap:.75rem; padding-bottom:1.1rem; border-bottom:1px solid #dfe6e4; font-size:1.3rem; }
.yks-progressive-form legend span { width:2.25rem; height:2.25rem; margin:0; border-radius:50%; background:#102326; box-shadow:0 0 0 6px rgb(16 35 38 / 7%); }
.yks-choice-grid,.yks-field-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.yks-choice-grid { margin-bottom:1rem; padding:1.25rem; border:1px solid #dfe6e4; border-radius:2px; background:#fff; }
.yks-progressive-form label,.yks-contact-form label { color:#203638; }
.yks-progressive-form input,.yks-progressive-form select,.yks-progressive-form textarea,.yks-contact-form input,.yks-contact-form select,.yks-contact-form textarea { min-height:3.65rem; padding:.9rem 1rem; border:1px solid #cdd8d5; border-radius:2px; background:#fff; transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.yks-progressive-form input:hover,.yks-progressive-form select:hover,.yks-contact-form input:hover,.yks-contact-form select:hover { border-color:#92a5a1; }
.yks-progressive-form input:focus,.yks-progressive-form select:focus,.yks-progressive-form textarea:focus,.yks-contact-form input:focus,.yks-contact-form textarea:focus { outline:0; border-color:#ef6b2e; box-shadow:0 0 0 4px rgb(239 107 46 / 14%); }
.yks-selected-product { border:0; border-radius:2px; background:#edf4f1; }
.yks-form-next,.yks-form-submit,.yks-form-back { min-height:3.4rem; padding:.85rem 1.4rem; border-radius:999px; transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease; }
.yks-form-next,.yks-form-submit { background:#ef6b2e; border-color:#ef6b2e; box-shadow:0 12px 28px rgb(239 107 46 / 23%); }
.yks-form-next:hover,.yks-form-submit:hover { background:#cf501b; border-color:#cf501b; transform:translateY(-2px); box-shadow:0 17px 34px rgb(239 107 46 / 30%); }
.yks-form-back { border-color:#b8c7c3; color:#102326; }
.yks-form-back:hover { transform:translateY(-2px); background:#edf4f1; }
.yks-file { padding:1rem; border:1px dashed #aebfba; border-radius:2px; background:#fff; }
@media(max-width:680px){.yks-choice-grid,.yks-field-row{grid-template-columns:1fr}.yks-choice-grid{padding:1rem}.yks-form-shell{margin:1.5rem auto;border-radius:2px}.yks-progressive-form legend{font-size:1.1rem}}

/* 0.4.2 refined form system */
.yks-form-shell { border-radius:18px; box-shadow:0 34px 90px rgb(16 35 38 / 11%); }
.yks-form-shell,.yks-progressive-form,.yks-progressive-form fieldset,.yks-choice-grid,.yks-field-row { box-sizing:border-box; width:100%; min-width:0; max-width:100%; }
.yks-progressive-form label,.yks-progressive-form input,.yks-progressive-form select,.yks-progressive-form textarea,.yks-contact-form label,.yks-contact-form input,.yks-contact-form select,.yks-contact-form textarea { min-width:0; max-width:100%; }
.yks-form-shell::before { width:360px; height:360px; right:-190px; top:-220px; background:linear-gradient(145deg,rgb(239 107 46 / 12%),rgb(239 107 46 / 3%)); }
.yks-form-shell__intro h2 { max-width:14ch; font-weight:520; line-height:.95; }
.yks-choice-grid { border-radius:14px; box-shadow:0 12px 35px rgb(16 35 38 / 5%); }
.yks-progressive-form input,.yks-progressive-form select,.yks-progressive-form textarea,.yks-contact-form input,.yks-contact-form select,.yks-contact-form textarea { border-radius:10px; background:#fff; }
.yks-selected-product,.yks-file { border-radius:12px; }
.yks-file input[type="file"] { min-height:0; padding:.45rem; border:1px solid #dce4e1; border-radius:10px; background:#f7faf9; color:#52615e; font-size:.82rem; }
.yks-file input[type="file"]::file-selector-button { margin-right:.8rem; padding:.7rem 1rem; border:0; border-radius:8px; background:#102326; color:#fff; font:750 .78rem/1.1 inherit; cursor:pointer; transition:background-color .2s ease,transform .2s ease; }
.yks-file input[type="file"]::file-selector-button:hover { background:#df5c23; }
.yks-contact-layout .yks-form-shell { width:100%; margin:0; }
.yks-page-content > .yks-form-shell { margin-top:0; }
.yks-product-inquiry .yks-form-shell { border-radius:12px; }
.yks-product-inquiry .yks-choice-grid { border-radius:10px; }
.yks-form-next,.yks-form-submit,.yks-form-back { font-weight:750; }
@media(max-width:680px){.yks-form-shell{width:100%;max-width:100%;margin:1.5rem 0;padding:1.25rem;border-radius:14px}.yks-contact-layout .yks-form-shell{padding:1.25rem}}

/* 0.5.0 clearer progressive choices */
.yks-choice-grid--progressive { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; }
.yks-choice-grid--progressive > label[hidden] { display:none; }
.yks-form-shell__intro { margin-bottom:1.35rem; }
.yks-form-shell__intro h2 { margin-bottom:0; }
.yks-product-inquiry .yks-choice-grid--progressive { grid-template-columns:1fr; }
.yks-product-inquiry .yks-form-shell { max-height:calc(100svh - 96px); }
.yks-product-inquiry .yks-progressive-form { padding-right:4px; }
.yks-product-inquiry .yks-form-actions { bottom:0; padding-bottom:2px; }
@media(max-width:900px){.yks-choice-grid--progressive{grid-template-columns:1fr 1fr}.yks-choice-grid--progressive > label:last-child{grid-column:1/-1}}
@media(max-width:680px){.yks-choice-grid--progressive{grid-template-columns:1fr}.yks-choice-grid--progressive > label:last-child{grid-column:auto}}
