html,body.msm-standalone-body{margin:0;background:#eef5fb;color:#1d2733;min-height:100%}
.msm-survey{--msm-blue:#0b6fb3;--msm-dark:#004b7a;--msm-soft:#eef6fc;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;border:1px solid #d9e7f4;max-width:1080px;margin:32px auto;color:#1d2733;box-sizing:border-box;box-shadow:0 10px 30px rgba(15,54,92,.08);overflow:hidden}
.msm-survey *{box-sizing:border-box}.msm-standalone{box-shadow:0 10px 30px rgba(15,54,92,.08)}
.msm-header{display:flex;gap:18px;align-items:center;background:#fff;border-bottom:6px solid var(--msm-blue);padding:24px 28px;margin:0}.msm-logo{max-height:72px;max-width:240px;object-fit:contain}.msm-header h1{margin:0;font-size:28px;line-height:1.35;font-weight:800;letter-spacing:.02em}.msm-year{margin:.3em 0 0;color:#526170;font-weight:600}
.msm-intro,.msm-form,.msm-confirm-page{padding:24px 28px}.msm-notice{background:#f2f8ff;border:1px solid #c9e1f7;padding:22px;margin:0 0 24px;line-height:1.8}.msm-notice img{max-width:100%;height:auto}.msm-confirm-head{background:#f8fbff;border:1px solid #d7e8f8;padding:18px 20px;margin-bottom:20px}.msm-confirm-head h2{margin:0 0 6px;color:var(--msm-dark)}.msm-confirm-head p{margin:0;color:#526170}
.msm-tabs{display:flex;gap:8px;overflow:auto;margin:0 0 22px;padding-bottom:4px}.msm-tab{min-height:44px;border:1px solid var(--msm-blue)!important;background:#fff!important;color:var(--msm-blue)!important;padding:10px 16px!important;cursor:pointer;white-space:nowrap;text-decoration:none!important;border-radius:0!important;box-shadow:none!important;font-weight:700}.msm-tab.active,.msm-tab:hover,.msm-tab:focus{background:var(--msm-blue)!important;color:#fff!important;text-decoration:none!important;outline:none!important}
.msm-section{display:none}.msm-section.active,.msm-section-confirm{display:block}.msm-section h2{background:#003b70;color:#fff;padding:12px 16px;margin:18px 0 0;font-size:18px;line-height:1.45;font-weight:800}.msm-section-desc{background:#eef6fc;border-left:5px solid var(--msm-blue);padding:12px 14px;margin:0 0 12px;line-height:1.7}
.msm-question{background:#f3f8fe;border-bottom:1px solid #d9e7f4;padding:0 0 18px;margin:0}.msm-q-title{background:var(--msm-dark);color:#fff;font-weight:800;line-height:1.55;padding:11px 14px;margin:0 0 14px}.msm-q-no{color:#fff;margin-right:4px}.msm-required{color:#ffb4b4}.msm-help,.msm-note{font-size:.92em;color:#526170;margin:8px 14px 12px;line-height:1.7}.msm-html{padding:0 14px 12px}.msm-inline-input{display:block;padding:0 14px}.msm-choice{display:block;margin:9px 14px}.msm-other{display:block;margin:6px 14px 12px 42px;max-width:460px}.msm-survey input[type=text],.msm-survey input[type=number],.msm-survey input[type=url],.msm-survey input[type=password],.msm-survey textarea,.msm-survey select{border:1px solid #9caec0;padding:8px 10px;border-radius:0;max-width:100%;box-sizing:border-box;background:#fff;color:#1d2733;min-height:36px;box-shadow:none}.msm-survey textarea{width:calc(100% - 28px);margin:0 14px;min-height:110px}.msm-survey input[type=radio],.msm-survey input[type=checkbox]{margin-right:6px}.msm-municipality{display:grid;grid-template-columns:1fr 1fr 160px;gap:12px;align-items:end;max-width:800px;padding:0 14px}.msm-municipality label{font-weight:700}.msm-municipality select,.msm-municipality input{width:100%;margin-top:5px}.msm-scroll{overflow:auto;padding:0 14px 2px}.msm-matrix,.msm-table-input{border-collapse:collapse;min-width:680px;background:#fff}.msm-matrix th,.msm-matrix td,.msm-table-input th,.msm-table-input td{border:1px solid #c7d5e3;padding:8px;text-align:center;vertical-align:middle}.msm-matrix th,.msm-table-input th{background:#eef4fa;font-weight:700}.msm-table-input input[type=number]{width:130px;min-height:30px}.msm-disabled{background:#e5e7eb!important;color:#6b7280}.msm-confirm-table td{height:34px}.msm-confirm-answer{padding:0 14px 2px}.msm-confirm-value{background:#fff;border:1px solid #d7e0ea;padding:10px 12px;min-height:38px;line-height:1.7}.msm-code-chip{display:inline-block;margin-left:8px;background:#e8f2fb;border:1px solid #bfd9f1;padding:2px 7px;font-size:.9em}.msm-empty{color:#8b97a3;background:#fff;border:1px dashed #c5d2df;padding:8px 10px;display:inline-block}.msm-import-notice{border-left:6px solid var(--msm-blue);background:#edf7ff;padding:12px 14px;margin:14px 28px}
.msm-btn,.msm-login input[type=submit]{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;min-width:104px;border:1px solid var(--msm-blue)!important;background:#fff!important;color:var(--msm-blue)!important;padding:0 18px!important;text-decoration:none!important;cursor:pointer;margin:0;border-radius:0!important;box-shadow:none!important;line-height:1!important;font-weight:800!important;font-size:14px!important;appearance:none!important}.msm-btn:visited{color:var(--msm-blue)!important}.msm-primary,.msm-btn:hover,.msm-btn:focus{background:var(--msm-blue)!important;color:#fff!important;text-decoration:none!important;outline:none!important}.msm-sub:hover,.msm-sub:focus{background:var(--msm-blue)!important;color:#fff!important}.msm-excel-upload{display:inline-block;margin:0}.msm-intro-actions,.msm-submit-area{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;margin-top:24px}.msm-actions-left{display:flex;justify-content:flex-start;gap:8px;align-items:center;flex-wrap:wrap}.msm-actions-center{display:flex;justify-content:center;gap:8px;align-items:center}.msm-actions-right{display:flex;justify-content:flex-end;gap:8px;align-items:center}.msm-submit-area{position:sticky;bottom:0;background:#fff;border-top:1px solid #d7e0ea;padding:14px 0;z-index:5}.msm-confirm-form .msm-submit-area{padding:14px 28px;margin:24px -28px -24px}
.msm-login-wrap{--msm-blue:#0b6fb3;min-height:100vh;background:linear-gradient(180deg,#eef6fc 0%,#e7f0f8 100%);display:flex;align-items:center;justify-content:center;padding:32px}.msm-login{max-width:560px;width:100%;margin:30px auto;border:1px solid #cfe2f3;background:#fff;padding:34px 36px;box-shadow:0 16px 42px rgba(15,54,92,.12)}.msm-login-logo{display:block;max-width:260px;max-height:100px;object-fit:contain;margin:0 auto 20px}.msm-login h1{font-size:26px;margin:0 0 14px;text-align:center;line-height:1.4}.msm-login h2{font-size:16px;margin:0 0 24px;text-align:center;color:#526170}.msm-login label{font-weight:700}.msm-login .login-username,.msm-login .login-password,.msm-login .login-remember,.msm-login .login-submit{margin:0 0 16px}.msm-login input[type=text],.msm-login input[type=password]{width:100%;box-sizing:border-box;height:42px}.msm-login input[type=submit]{background:var(--msm-blue)!important;color:#fff!important;margin:8px auto 0!important;display:flex!important}.msm-login input[type=submit]:hover{filter:brightness(.92)}.msm-login .msm-note{text-align:center;margin-top:18px}
@media(max-width:640px){.msm-survey{margin:0;border:0}.msm-header{padding:18px 14px;align-items:flex-start}.msm-header h1{font-size:22px}.msm-logo{max-width:140px}.msm-intro,.msm-form,.msm-confirm-page{padding:14px}.msm-tabs{margin-left:-14px;margin-right:-14px;padding:0 14px}.msm-municipality{grid-template-columns:1fr}.msm-intro-actions,.msm-submit-area{grid-template-columns:1fr}.msm-actions-left,.msm-actions-center,.msm-actions-right{justify-content:stretch}.msm-btn{width:100%;box-sizing:border-box;text-align:center}.msm-confirm-form .msm-submit-area{padding:14px;margin:24px -14px -14px}.msm-login-wrap{padding:12px}.msm-login{margin:0;padding:26px 22px}.msm-login h1{font-size:22px}}
/* v1.1.3: sticky theme progress */
.msm-progress-wrap{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #d7e8f8;margin:-24px -28px 22px;padding:12px 18px 14px;box-shadow:0 6px 18px rgba(15,54,92,.08)}
.msm-progress-label{font-weight:800;color:var(--msm-dark);margin:0 0 8px;font-size:13px;letter-spacing:.04em}.msm-progress-bar{display:flex;gap:0;overflow:auto;border:1px solid #bfd7ee;background:#eef6fc}.msm-progress-item{appearance:none;border:0;border-right:1px solid #bfd7ee;background:#eef6fc;color:#24445c;min-height:48px;padding:8px 12px;display:flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer;font-weight:700;min-width:150px;justify-content:center}.msm-progress-item:last-child{border-right:0}.msm-progress-item.active{background:var(--msm-blue);color:#fff}.msm-progress-dot{width:10px;height:10px;border-radius:50%;background:#d33;display:inline-block;flex:0 0 10px}.msm-progress-item.complete .msm-progress-dot{background:#179b52}.msm-progress-item.active .msm-progress-dot{box-shadow:0 0 0 2px rgba(255,255,255,.65)}.msm-progress-state{font-size:12px;opacity:.82}.msm-tabs{display:none!important}.msm-other-dynamic{transition:opacity .15s ease}.msm-other-dynamic[style*="display: none"]{opacity:0}
@media(max-width:640px){.msm-progress-wrap{margin:-14px -14px 18px;padding:10px 12px}.msm-progress-item{min-width:132px;font-size:13px}.msm-progress-title{max-width:88px;overflow:hidden;text-overflow:ellipsis}}
/* v1.1.4: required validation / thanks page / stronger sticky progress */
.msm-progress-wrap{position:-webkit-sticky!important;position:sticky!important;top:0!important;z-index:1000!important}
.msm-error-notice{border-left:6px solid #d32f2f;background:#fff1f1;color:#7a1010;padding:12px 14px;margin:14px 28px;font-weight:700;line-height:1.7}
.msm-thanks-page{padding:28px}.msm-thanks-card{background:#fff;border:1px solid #d7e5f2;padding:32px 34px;line-height:1.9}.msm-thanks-card h2{margin-top:0;color:var(--msm-dark)}
.msm-question.msm-required-missing{outline:3px solid rgba(211,47,47,.35);outline-offset:-3px}.msm-progress-item.incomplete{background:#fff6f6}.msm-progress-item.active.incomplete{background:var(--msm-blue)}
