/* The INHA mobile column is used at every viewport width. */
body.jin-canvas{margin:0!important;background:#08152f!important;color:#f7f5ed}
body.jin-canvas .ag-campaign.jin-civic{width:100%;max-width:760px;margin:0 auto;min-height:100vh}
body.jin-canvas .ag-campaign .ag-header{position:static;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}
body.jin-canvas .ag-campaign .ag-header nav{display:flex;flex-wrap:wrap;gap:14px}
body.jin-canvas .ag-campaign .ag-shell{margin:0;width:100%;max-width:none;box-sizing:border-box}
body.jin-canvas .ag-campaign .ag-primary{display:block;text-align:center;text-decoration:none;border-radius:12px}
body.jin-canvas .ag-campaign .jin-title-count h1 em{color:#ff6385}
body.jin-canvas .ag-campaign .jin-compact-count strong{color:#ff6385;font-size:clamp(30px,6vw,48px);font-variant-numeric:tabular-nums;white-space:nowrap}
#jjp-progress{display:block;width:100%;height:7px;accent-color:#e00032;margin:16px 0 0}
body.jin-canvas .ag-campaign .reasons{display:block;margin-top:25px}
body.jin-canvas .ag-campaign .reasons article{border-top:1px solid #30435e;padding:20px 0}
body.jin-canvas .ag-campaign .reasons article>span{color:#ff6385;font-size:18px;font-weight:800}
body.jin-canvas .ag-campaign .news>a{display:block;color:#f7f5ed;text-decoration:none;padding:20px 0;border-top:1px solid #30435e}
body.jin-canvas .ag-campaign .news time{color:#ff6385;font-size:14px}
body.jin-canvas .ag-campaign .news h3{margin:8px 0}
body.jin-canvas .ag-campaign .jin-declaration>details{padding:18px;border:1px solid #38506f;border-radius:10px}
body.jin-canvas .ag-campaign .outline{display:inline-block;background:#152a48;border:1px solid #38506f;color:#f8f6ef;padding:13px 18px;border-radius:10px;font:inherit;text-decoration:none;cursor:pointer}
body.jin-canvas .ag-campaign .form-notice{padding:24px 18px;border:1px dashed #58708e;border-radius:12px;line-height:1.8}
.jjp-consents{min-width:0;border:1px solid #38506f;padding:20px;border-radius:10px;margin:24px 0;background:#0e203b;color:#f7f5ed}
.jjp-consents legend{font-size:19px;font-weight:800;padding:0 6px}
body.jin-canvas .ag-campaign .jjp-consents>p,body.jin-canvas .ag-campaign .jjp-consents details p{font-size:16px;line-height:1.85;overflow-wrap:anywhere}
.jjp-consents details{padding:14px 0;border-bottom:1px solid #30435e}.jjp-consents summary{cursor:pointer}.consent-check{display:flex;align-items:flex-start;gap:10px;line-height:1.8;font-size:17px;margin:18px 0}.consent-check input{width:22px;height:22px;margin:4px 0 0;flex:none;accent-color:#e00032}
.share-actions{display:grid;gap:12px}.share-actions button{font:inherit;font-weight:750;border-radius:12px;padding:17px 20px;cursor:pointer}.kakao{background:#fee500;color:#191919;border:0}.ag-qr{max-width:180px;margin:22px auto}.ag-qr svg{width:100%;height:auto}
body.jin-canvas .ag-campaign .ag-sign-box{position:relative;background:white;border:1px solid #6d7f97;border-radius:8px;overflow:hidden}.ag-sign-box canvas{display:block;width:100%;height:auto;touch-action:none}.ag-sign-hint{position:absolute;inset:0;display:grid;place-content:center;pointer-events:none;text-align:center;color:#526176}.ag-sign-hint[hidden]{display:none}.ag-sign-clear{padding:10px 14px;margin:10px 0;font:inherit;border-radius:8px}.ag-campaign [hidden]{display:none!important}
body.jin-canvas .ag-campaign .note{font-size:15px;color:#cbd8e9;line-height:1.8}
@media(max-width:480px){body.jin-canvas .ag-campaign .ag-header nav{gap:12px}.jjp-consents{padding:16px}.consent-check{font-size:16px}body.jin-canvas .ag-campaign .jin-compact-count strong{font-size:clamp(29px,8vw,38px)}}
/* Consent is a single high-contrast, compact group. */
body.jin-canvas .ag-campaign .jjp-consents{background:#fff!important;border:1px solid #ccd5e2!important;border-radius:14px;padding:20px;margin:28px 0;color:#17243b!important}
body.jin-canvas .ag-campaign .jjp-consents legend{color:#fff!important;background:#142947;border-radius:7px;padding:4px 10px;font-size:18px;font-weight:800}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-all{display:flex;align-items:flex-start;gap:12px;padding:17px 15px;background:#e9eff8;border:1px solid #b7c8e0;border-radius:10px;cursor:pointer}
body.jin-canvas .ag-campaign .jjp-consents input[type=checkbox]{appearance:auto!important;position:static!important;opacity:1!important;width:24px!important;height:24px!important;min-width:24px!important;margin:2px 0 0!important;accent-color:#b9002c;flex:none}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-all strong{display:block;color:#10233f!important;font-size:20px;font-weight:850;line-height:1.45}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-all small{display:block;color:#3c4d65!important;font-size:14px;line-height:1.6;margin-top:5px}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-brief{font-size:15px!important;line-height:1.8!important;color:#34445a!important;margin:16px 0;padding-bottom:15px;border-bottom:1px solid #d8dfe8}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-item{border-bottom:1px solid #d8dfe8;padding:15px 0}
body.jin-canvas .ag-campaign .jjp-consents .consent-check{color:#14243b!important;font-size:17px!important;line-height:1.65!important;margin:0;gap:12px;font-weight:650;cursor:pointer}
body.jin-canvas .ag-campaign .jjp-consents .consent-check span{color:#14243b!important}
body.jin-canvas .ag-campaign .jjp-consents .consent-check b{color:#b4002a!important;font-size:14px}
body.jin-canvas .ag-campaign .jjp-consents details{padding:0;border:0;margin:9px 0 0 36px}
body.jin-canvas .ag-campaign .jjp-consents summary{font-size:15px!important;color:#334c70!important;text-decoration:underline;text-underline-offset:3px;line-height:1.6!important;font-weight:650;cursor:pointer}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-content{background:#f1f4f8;color:#17243b!important;border-radius:8px;font-size:15px;line-height:1.85;padding:14px;margin-top:10px;overflow-wrap:anywhere;font-weight:500}
body.jin-canvas .ag-campaign .jjp-consents .jjp-age{margin-top:20px}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-note{color:#45566d!important;font-size:14px!important;line-height:1.8!important;margin:16px 0 0}
body.jin-canvas .ag-campaign .forminator-ui .forminator-row{margin-bottom:24px!important}
body.jin-canvas .ag-campaign .forminator-ui .forminator-label{display:block;margin-bottom:8px!important;font-size:20px!important}
@media(max-width:480px){body.jin-canvas .ag-campaign .jjp-consents{padding:16px}body.jin-canvas .ag-campaign .jjp-consents .consent-check{font-size:16px!important}body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-all{padding:14px 12px}}

/* Bound both plugin details and retained Forminator HTML notices. */
body.jin-canvas .ag-campaign .jjp-scroll-notice,
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-content{box-sizing:border-box;max-height:180px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#667991 #e6ecf3;-webkit-overflow-scrolling:touch;border:1px solid #becadb!important;border-radius:10px;background:#f7f9fc!important;color:#18263b!important;padding:16px!important;font-size:16px!important;line-height:1.85!important}
body.jin-canvas .ag-campaign .jjp-scroll-notice{height:180px!important;margin:10px 0 18px}
body.jin-canvas .ag-campaign .jjp-scroll-notice *,
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-content *{color:#18263b!important;background-color:transparent!important;opacity:1!important;font-size:16px!important;line-height:1.85!important;text-shadow:none!important}
body.jin-canvas .ag-campaign .jjp-scroll-notice :is(strong,b,h1,h2,h3,h4){color:#101c30!important;font-weight:800!important}
body.jin-canvas .ag-campaign .jjp-scroll-notice p{margin:0 0 14px!important}
body.jin-canvas .ag-campaign .jjp-scroll-notice a{color:#164f96!important;text-decoration:underline}
.jjp-scroll-notice::-webkit-scrollbar,.jjp-consent-content::-webkit-scrollbar{width:9px}
.jjp-scroll-notice::-webkit-scrollbar-track,.jjp-consent-content::-webkit-scrollbar-track{background:#e6ecf3;border-radius:6px}
.jjp-scroll-notice::-webkit-scrollbar-thumb,.jjp-consent-content::-webkit-scrollbar-thumb{background:#667991;border-radius:6px;border:2px solid #e6ecf3}
body.jin-canvas .ag-campaign :is(.jjp-scroll-notice,.jjp-consent-content):focus-visible{outline:3px solid #448bd9;outline-offset:3px}
/* Two-step submission: signature first, consent in a modal, then native submission. */
body.jin-canvas .ag-campaign .jjp-native-submit{display:none!important}
body.jin-canvas .ag-campaign .jjp-open-consent{width:100%;box-sizing:border-box;padding:18px 22px!important;font-size:20px!important;border:0;cursor:pointer;margin:20px 0 0}
body.jin-canvas .ag-campaign .jjp-submit-note{text-align:center;font-size:14px!important;color:#cbd8e9!important;line-height:1.7!important;margin:12px 0}
body.jjp-consent-open{overflow:hidden}
body.jin-canvas .ag-campaign .jjp-consent-dialog{position:fixed;inset:0;width:calc(100% - 28px);max-width:560px;max-height:88vh;max-height:88dvh;box-sizing:border-box;padding:0;border:0;border-radius:16px;background:#fff;color:#17243b;box-shadow:0 24px 90px #0007;overflow:hidden;margin:auto}
.jjp-consent-dialog:not([open]){display:none!important}
.jjp-consent-dialog[open]{display:flex;flex-direction:column}
.jjp-consent-dialog::backdrop{background:rgba(3,10,25,.78)}
body.jin-canvas .ag-campaign .jjp-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px;border-bottom:1px solid #d8dfe8;background:#fff;flex-shrink:0}
body.jin-canvas .ag-campaign .jjp-dialog-header h2{font-size:21px!important;line-height:1.5!important;color:#14243b!important;margin:4px 0 0!important}
.jjp-dialog-header small{font-size:13px;color:#b4002a;font-weight:800}
.jjp-dialog-close{background:transparent;border:0;color:#24354f;font-size:32px;line-height:1;cursor:pointer;min-width:40px;min-height:40px}
.jjp-dialog-body{overflow-y:auto;overscroll-behavior:contain;padding:0 20px;min-height:0;flex:1}
body.jin-canvas .ag-campaign .jjp-consent-dialog .jjp-consents{border:0!important;padding:18px 0!important;margin:0!important;border-radius:0}
.jjp-consent-dialog .jjp-consents legend{display:none}
body.jin-canvas .ag-campaign .jjp-consent-dialog .jjp-dialog-footer{display:block;position:static;padding:14px 20px 18px;background:#fff;border-top:1px solid #d8dfe8;flex-shrink:0;margin:0}
body.jin-canvas .ag-campaign .jjp-dialog-error{color:#b00029!important;font-size:15px!important;line-height:1.6!important;margin:0 0 8px!important}
.jjp-dialog-error:empty{display:none}
.jjp-final-submit{display:block;width:100%;background:#c90030;color:#fff;border:0;border-radius:10px;padding:15px;font-size:19px;font-weight:800;cursor:pointer;min-height:54px}
.jjp-final-submit:disabled{opacity:.6;cursor:wait}
.jjp-back{display:block;width:100%;margin-top:8px;padding:8px;background:none;border:0;color:#3c4d65;font-size:15px;text-decoration:underline;cursor:pointer}
body.jin-canvas .ag-campaign .jjp-extra-notice{margin:0 0 18px;color:#17243b;font-size:15px}
body.jin-canvas .ag-campaign .jjp-extra-notice summary{color:#314a6a!important;font-size:15px!important}
@media(max-width:480px){body.jin-canvas .ag-campaign .jjp-consent-dialog{width:calc(100% - 20px);max-height:90vh;max-height:90dvh}.jjp-dialog-body{padding:0 16px}body.jin-canvas .ag-campaign .jjp-dialog-header{padding:16px}body.jin-canvas .ag-campaign .jjp-dialog-header h2{font-size:19px!important}body.jin-canvas .ag-campaign .jjp-consent-dialog .jjp-dialog-footer{padding:12px 16px 14px}}
/* Keep the full campaign URL on one line, independently of the QR image width. */
body.jin-canvas .ag-campaign .ag-qr{width:100%;max-width:none;text-align:center}
body.jin-canvas .ag-campaign .ag-qr [data-ag-qr]{width:204px;max-width:100%;box-sizing:border-box;margin-left:auto;margin-right:auto}
body.jin-canvas .ag-campaign .ag-qr>a{display:inline-block;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:15px!important;line-height:1.6!important;letter-spacing:0}
@media(max-width:360px){body.jin-canvas .ag-campaign .ag-qr>a{font-size:13px!important}}
/* Readability pass: stronger contrast and comfortable mobile type sizes. */
body.jin-canvas{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.jin-canvas .ag-campaign{font-size:18px!important;line-height:1.85;letter-spacing:0!important}
body.jin-canvas .ag-campaign :is(.jin-purpose,.jin-declaration,.ag-sign-section,.ag-invite)>p{color:#f1f5fb!important;font-size:18px!important;font-weight:500;line-height:1.85!important}
body.jin-canvas .ag-campaign :is(.jin-kicker,.ag-eyebrow,.ac-eyebrow){color:#ff91aa!important;font-size:16px!important;font-weight:800!important}
body.jin-canvas .ag-campaign .ag-brand{color:#fff!important;font-size:22px!important;font-weight:850}
body.jin-canvas .ag-campaign :is(.jin-title-count h1 em,.jin-compact-count strong,.reasons article>span){color:#ff91aa!important}
body.jin-canvas .ag-campaign :is(.jin-compact-status,.jin-caption,.note,.jjp-submit-note,.ag-share-status,.ag-footer small,.ag-footer p){color:#dce6f3!important;font-size:16px!important;line-height:1.8!important;font-weight:500!important}
body.jin-canvas .ag-campaign .jin-compact-meta :is(a,small){color:#e5edf8!important;font-size:15px!important;line-height:1.8}
body.jin-canvas .ag-campaign .reasons p,body.jin-canvas .ag-campaign .news p{color:#e5edf8!important;font-size:18px!important;line-height:1.85!important}
body.jin-canvas .ag-campaign .news time{color:#ffb5c6!important;font-size:16px!important}
body.jin-canvas .ag-campaign :is(.ag-primary,.jjp-open-consent){background:#b9002c!important;border-color:#b9002c!important;color:#fff!important}
body.jin-canvas .ag-campaign .forminator-ui :is(.forminator-label,.forminator-legend,.forminator-radio-label,.forminator-checkbox-label){color:#fff!important;font-size:20px!important;font-weight:700!important;line-height:1.7!important}
body.jin-canvas .ag-campaign .forminator-ui :is(.forminator-description,.ag-signature-slot>p){font-size:18px!important;color:#e5edf8!important;line-height:1.8!important}
body.jin-canvas .ag-campaign .forminator-ui :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){font-size:21px!important;font-weight:600!important;background:#fff!important;color:#14243b!important;border-color:#8194ac!important}
body.jin-canvas .ag-campaign .forminator-ui input::placeholder{color:#526176!important;opacity:1!important;font-size:18px!important}
body.jin-canvas .ag-campaign .jjp-consents .consent-check,body.jin-canvas .ag-campaign .jjp-consents .consent-check span{font-size:18px!important;line-height:1.75!important;font-weight:650!important;color:#132039!important}
body.jin-canvas .ag-campaign .jjp-consents :is(.jjp-consent-brief,.jjp-consent-note){color:#34445a!important;font-size:16px!important;line-height:1.85!important}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-all small{color:#34445a!important;font-size:16px!important;line-height:1.75!important}
body.jin-canvas .ag-campaign .jjp-consents summary,body.jin-canvas .ag-campaign .jjp-extra-notice summary{color:#174f91!important;font-size:17px!important;font-weight:700!important}
body.jin-canvas .ag-campaign :is(.jjp-scroll-notice,.jjp-scroll-notice *,.jjp-consent-content,.jjp-consent-content *){color:#14243b!important;font-size:17px!important;line-height:1.85!important;font-weight:500}
body.jin-canvas .ag-campaign .jjp-dialog-header h2{font-size:22px!important;color:#132039!important;line-height:1.5!important}
body.jin-canvas .ag-campaign .jjp-dialog-header small{font-size:15px!important;color:#a00027!important}
body.jin-canvas .ag-campaign .jjp-final-submit{background:#b9002c!important;color:#fff!important;font-size:20px!important;font-weight:800!important}
body.jin-canvas .ag-campaign .jjp-back{font-size:17px!important;color:#34445a!important;font-weight:650}
@media(max-width:480px){body.jin-canvas .ag-campaign .jjp-consents .consent-check,body.jin-canvas .ag-campaign .jjp-consents .consent-check span{font-size:17px!important}body.jin-canvas .ag-campaign .jjp-dialog-header h2{font-size:21px!important}}
body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-content,body.jin-canvas .ag-campaign .jjp-consents .jjp-consent-content *{font-size:17px!important;line-height:1.85!important;color:#14243b!important}
body.jin-canvas .ag-campaign .ag-header nav a{font-size:16px!important;font-weight:750!important;color:#fff!important}
/* Goal progress is placed directly above the participation button. */
body.jin-canvas .ag-campaign .jjp-goal-progress{padding:18px;margin:0 0 22px;border:1px solid #49627f;border-radius:12px;background:#142947}
.jjp-goal-heading,.jjp-goal-numbers{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.jin-canvas .ag-campaign .jjp-goal-heading>span{font-size:17px;color:#f4f7fc;font-weight:750}
body.jin-canvas .ag-campaign .jjp-goal-heading strong{font-size:23px;line-height:1.3;color:#ff91aa;font-variant-numeric:tabular-nums}
body.jin-canvas .ag-campaign .jjp-goal-progress #jjp-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:16px;margin:14px 0;border:1px solid #7386a0;border-radius:20px;overflow:hidden;background:#304767;accent-color:#ff718f}
#jjp-progress::-webkit-progress-bar{background:#304767;border-radius:20px}
#jjp-progress::-webkit-progress-value{background:linear-gradient(90deg,#e00032,#ff8eaa);border-radius:20px;transition:width .4s ease}
#jjp-progress::-moz-progress-bar{background:#ff718f;border-radius:20px}
body.jin-canvas .ag-campaign .jjp-goal-numbers{font-size:15px;line-height:1.6;color:#e5edf8;font-weight:550}
body.jin-canvas .ag-campaign .jjp-goal-numbers b{color:#fff;font-size:18px;font-weight:800}
@media(max-width:360px){body.jin-canvas .ag-campaign .jjp-goal-progress{padding:15px}body.jin-canvas .ag-campaign .jjp-goal-numbers{font-size:14px;gap:8px}}
@media(prefers-reduced-motion:reduce){#jjp-progress::-webkit-progress-value{transition:none}}
body.jin-canvas .ag-campaign [data-jjp-legacy-consent]{display:none!important}
/* Never obscure submission errors with the dark-page text palette. */
body.jin-canvas .ag-campaign .forminator-response-message.forminator-error{background:#fff0f3!important;border:1px solid #e2a8b5!important;border-left:4px solid #b00029!important;padding:18px!important;border-radius:10px}
body.jin-canvas .ag-campaign .forminator-response-message.forminator-error,
body.jin-canvas .ag-campaign .forminator-response-message.forminator-error :is(p,span,strong,li,ul){color:#900023!important;font-size:17px!important;line-height:1.85!important;font-weight:650!important;opacity:1!important}
body.jin-canvas .ag-campaign .forminator-response-message.forminator-error .forminator-screen-reader-only{position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;margin:12px 0 0!important;padding-left:22px!important;white-space:normal!important}

/* Visible date feedback, independent of browser validation bubbles. */
#jjp-form-wrap .jin-birth-error{color:#ffb8c8!important;background:#3b1425;border-left:4px solid #ff6687;border-radius:6px;padding:10px 12px;margin:10px 0 0;font-size:16px!important;line-height:1.6!important;font-weight:700;opacity:1!important}
#jjp-form-wrap .jin-birth-error[hidden]{display:none!important}
#jjp-form-wrap input.jin-birth-invalid{border:2px solid #ff6687!important;box-shadow:0 0 0 2px #ff668733!important}

/* The visible signature box and hit area must have exactly the same bounds. */
body.jin-canvas .ag-campaign .ag-sign-box{height:184px;touch-action:none}
body.jin-canvas .ag-campaign .ag-sign-box canvas{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;box-sizing:border-box;border:0!important;margin:0!important;padding:0!important;touch-action:none;-webkit-user-select:none;user-select:none}

/* Give the consent list a definite viewport height on mobile Safari/WebViews. */
body.jin-canvas .ag-campaign .jjp-consent-dialog[open]{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;height:min(800px,calc(100vh - 24px));height:min(800px,calc(100dvh - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
body.jin-canvas .ag-campaign .jjp-consent-dialog .jjp-dialog-body{display:block!important;min-height:0;overflow-y:auto!important;overflow-x:hidden;-webkit-overflow-scrolling:touch;visibility:visible}
body.jin-canvas .ag-campaign .jjp-consent-dialog .jjp-consents{display:block!important;min-width:0;visibility:visible}
/* Older engines can scroll the entire dialog instead of collapsing the list. */
body.jin-canvas .ag-campaign .jjp-consent-dialog.jjp-scroll-whole[open]{display:block!important;height:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
body.jin-canvas .ag-campaign .jjp-consent-dialog.jjp-scroll-whole .jjp-dialog-body{overflow:visible!important;min-height:120px;flex:none}
