:root{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;color:#191f28;background:#f5f6f8;--blue:#3478f6}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}.app{max-width:780px;margin:auto;min-height:100vh;background:#fff}header{padding:25px 24px;display:flex;justify-content:space-between;align-items:center}header a{color:var(--blue);font-size:25px;font-weight:800}header b{color:#191f28;font-size:22px}header span,.muted{color:#8b95a1;font-size:13px}main{padding:12px 24px 30px}h1{font-size:29px;letter-spacing:-1.2px;line-height:1.4;margin:18px 0 12px}p{color:#6b7684;line-height:1.7;font-size:15px}h2{font-size:18px;margin:30px 0 14px;letter-spacing:-.5px}.progress{display:flex;gap:5px;margin:6px 0 30px}.progress i{height:4px;flex:1;border-radius:4px;background:#edf0f4}.progress i.on{background:var(--blue)}.eyebrow{color:var(--blue);font-size:13px;font-weight:650}.choices{display:flex;flex-wrap:wrap;gap:9px}.choice{padding:13px 17px;border:1px solid #e5e8eb;border-radius:13px;background:white;color:#4e5968;min-height:47px}.choice[aria-pressed=true]{border-color:#3478f6;background:#eef5ff;color:#2466df;font-weight:650}.fields{display:grid;gap:22px;margin:30px 0}.fields label{display:grid;gap:10px;color:#4e5968;font-size:14px}input,select{width:100%;padding:17px 15px;border:1px solid #e5e8eb;background:#f8f9fa;border-radius:12px;color:#191f28;min-height:54px}.hint{font-size:13px;color:#8b95a1;line-height:1.7}.note{background:#f5f7fa;padding:18px;border-radius:15px;font-size:14px;color:#6b7684;line-height:1.7;margin:25px 0}.actions{display:flex;gap:10px;margin-top:35px}.primary,.secondary{border:0;min-height:55px;border-radius:13px;font-weight:650;padding:16px 20px;font-size:16px}.primary{background:var(--blue);color:white;flex:1}.secondary{background:#f2f4f6;color:#4e5968}.error{color:#e14a4a;font-size:14px;min-height:20px}.summary{padding:18px 0;border-bottom:1px solid #edf0f4;display:flex;gap:25px;justify-content:space-between;font-size:14px}.summary span{color:#8b95a1;flex-shrink:0}.summary strong{text-align:right;font-weight:550;line-height:1.6}.badge{display:inline-block;background:#eef5ff;color:#3478f6;border-radius:7px;padding:6px 9px;font-size:12px}.event{padding:25px 0;border-bottom:1px solid #edf0f4}.event h3{font-size:19px;margin:12px 0;line-height:1.5;letter-spacing:-.6px}.event .brand{font-size:13px;color:#6b7684}.event .meta{font-size:14px;line-height:1.8;color:#6b7684}.reasons{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.reasons span{font-size:12px;padding:7px 10px;border-radius:8px;background:#f2f6fc;color:#3478f6}.caution{font-size:13px;color:#8b95a1;line-height:1.7}.event a{display:block;margin-top:15px;font-size:14px;font-weight:600;color:#3478f6}.tabs{display:flex;gap:8px;margin:25px 0}.tabs button{background:#f5f6f8;border:0;border-radius:10px;padding:11px 14px;color:#6b7684}.tabs button[aria-pressed=true]{background:#191f28;color:white}.feedback{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.feedback button{background:white;border:1px solid #e5e8eb;border-radius:9px;color:#6b7684;padding:9px;font-size:12px}.feedback button[aria-pressed=true]{background:#eef5ff;color:#3478f6;border-color:#3478f6}footer{padding:25px 24px 40px;color:#8b95a1;font-size:11px;line-height:1.8}.schedule{font-size:13px;color:#6b7684;margin:22px 0}.done{font-size:44px;color:#3478f6;margin-top:30px}@media(min-width:700px){header{padding:30px 44px}main{padding:18px 44px 40px}footer{padding-left:44px}h1{font-size:34px}.choice{padding:14px 20px}}@media(prefers-reduced-motion:no-preference){main{animation:appear .2s ease}@keyframes appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}
/* Curation hierarchy: summary, navigation, event cards */
main:has(.tabs){background:#f5f6f8;padding-top:28px}main:has(.tabs)>h1{font-size:28px;margin-bottom:10px}main:has(.tabs)>p{font-size:14px}.schedule{margin:26px 0 0;padding:20px 20px 12px;background:white;border-radius:16px 16px 0 0;line-height:1.8;color:#4e5968}.schedule:before{content:'내가 설정한 조건';display:block;font-size:12px;font-weight:650;color:#8b95a1;margin-bottom:7px}main:has(.tabs)>#edit{display:block;width:100%;height:52px;min-height:52px;border-radius:0 0 16px 16px;background:white;color:#3478f6;text-align:left;padding:0 20px 14px;font-size:14px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:28px 0 18px;background:#e9edf2;border-radius:12px;padding:4px}.tabs button{min-height:48px;padding:10px 8px;background:transparent;font-size:13px;border-radius:9px;line-height:1.4;font-weight:600}.tabs button[aria-pressed=true]{background:white;color:#191f28;box-shadow:0 2px 6px #191f2808}.event{background:white;border:1px solid #edf0f4;border-radius:18px;padding:22px 20px;margin:0 0 16px}.event h3{margin:9px 0 14px;font-size:20px}.event .brand{font-size:12px}.event .meta{line-height:1.9;font-size:14px}.reasons{padding-top:16px;margin-top:16px;border-top:1px solid #f0f2f5;gap:6px}.reasons:before{content:'선호 조건';display:block;flex-basis:100%;font-size:12px;font-weight:650;color:#6b7684;margin-bottom:3px}.reasons span{padding:7px 8px;font-size:11px}.caution{padding:13px 14px;background:#f7f8fa;border-radius:10px;font-size:12px;margin:14px 0;line-height:1.8}.caution:before{content:'신청 전 확인';display:block;color:#4e5968;font-weight:650;margin-bottom:5px}.event a{height:48px;display:flex;align-items:center;justify-content:center;margin-top:18px;border-radius:10px;background:#eef5ff;font-size:14px}.feedback{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding-top:16px;border-top:1px solid #f0f2f5;margin:18px 0 0}.feedback:before{content:'이 일정은 어떠세요?';grid-column:1/-1;font-size:12px;color:#8b95a1;margin-bottom:5px}.feedback button{min-height:44px;border-radius:10px;font-size:11px;padding:7px 4px;line-height:1.4}.event>.hint:empty{display:none}.event>.hint{margin-top:10px}main:has(.tabs)>.note{font-size:12px;background:#edf0f4;margin-bottom:0}main:has(.tabs)+footer{background:#f5f6f8}button.primary,button.secondary{min-height:52px}.actions>*{min-width:0}@media(min-width:700px){main:has(.tabs){padding:32px 44px 40px}.event{padding:26px}.tabs button{font-size:14px}.feedback button{font-size:13px}}
/* Compact event rows; secondary content is disclosed on demand. */
.event{position:relative;padding:19px 18px;margin-bottom:10px;border-radius:14px}.event h3{font-size:17px;line-height:1.4;margin:6px 0 8px}.event .meta{font-size:13px;line-height:1.65}.event .brand{font-size:11px}.reasons{border:0;padding:0;margin:10px 0;gap:5px}.reasons:before{display:none}.reasons span{font-size:11px;padding:5px 7px}.event-extra{margin-top:8px;padding-top:10px;border-top:1px solid #f0f2f5}.event-extra summary,.feedback-extra summary{cursor:pointer;font-size:12px;color:#8b95a1;min-height:32px;align-content:center}.event-extra .caution{margin:6px 0 10px}.event a{display:inline-flex;height:36px;min-height:36px;background:transparent;padding:0;margin:0;font-size:13px}.feedback-extra{float:right;max-width:100%}.feedback-extra summary{min-height:36px;text-align:right}.feedback-extra[open]{float:none}.feedback{margin:4px 0 0;padding:10px 0 0}.feedback:before{display:none}.event:after{content:'';display:block;clear:both}@media(min-width:700px){.event{padding:20px 22px}.event h3{font-size:18px}}
.event{padding:0;overflow:hidden}.event a.event-card-link{display:block;position:relative;height:auto;min-height:0;padding:19px 18px;margin:0;border-radius:14px;color:#191f28;background:white;font-weight:400}.event-card-link:hover{background:#fafbfc!important}.event-card-link:focus-visible{outline:3px solid #3478f6;outline-offset:-3px}.event h3{padding-right:20px}.card-arrow{position:absolute;right:18px;color:#b0b8c1;font-size:24px;font-weight:400}.cost-note{font-size:11px;color:#8b95a1;margin-top:8px}.event .reasons{margin-bottom:0}@media(min-width:700px){.event a.event-card-link{padding:20px 22px}.card-arrow{right:22px}}
.consent-section{margin-top:32px;border-top:8px solid #f5f6f8;padding-top:8px}.consent-row{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.6;padding:15px 0;color:#333d4b}.consent-row input{width:20px;height:20px;min-height:20px;padding:0;margin:2px 0 0;accent-color:#3478f6;flex-shrink:0}.agreement{margin:0 0 12px 32px;font-size:12px;color:#6b7684}.agreement summary{cursor:pointer;min-height:32px;align-content:center}.agreement p{font-size:12px;background:#f5f6f8;padding:15px;border-radius:10px}.consent-section>.primary{width:100%;font-size:15px}
.text-edit{display:block;border:0;background:transparent;color:#6b7684;font-size:13px;margin:16px auto;padding:12px;cursor:pointer}.consent-section{margin-top:24px}.consent-section .note{font-size:12px;margin:16px 0}.consent-section h2{margin-top:20px}
.consent-item{display:flex;align-items:flex-start;gap:10px;padding:0;min-height:48px}.consent-item>input{width:20px;height:20px;min-height:20px;margin:14px 0 0;padding:0;accent-color:#3478f6;flex:none}.consent-item .agreement{flex:1;min-width:0;margin:0;font-size:13px}.consent-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;line-height:1.5;color:#333d4b;font-size:13px;cursor:pointer}.consent-item summary::-webkit-details-marker{display:none}.consent-item summary span{color:#b0b8c1;font-size:21px;flex:none}.consent-item details[open] summary span{transform:rotate(90deg)}.consent-item .agreement p{margin:0 0 10px;line-height:1.75}.consent-section h2{font-size:17px;margin:16px 0 10px}.consent-preview-note{font-size:11px;line-height:1.6;color:#8b95a1;margin:12px 0 16px}.consent-section>.primary{height:52px;min-height:52px}.consent-section{padding-top:4px}.text-edit{margin:4px auto}.consent-section #consent-result:empty{display:none}
