
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
:root{--etoos-yellow:#ffce00;--etoos-dark:#414042;--etoos-yellow-dark:#9a7400;--border-color:#e2e8f0}
body.habit-page{margin:0;background:#f5f6f3;color:#263632;font:16px/1.65 Pretendard,-apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif}
.habit-page .header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px;padding:18px 40px;position:fixed;inset:0 0 auto;width:100%;box-sizing:border-box;z-index:1000;background:#fff;border-bottom:1px solid #e4e5e3}
.habit-page .logo{height:36px;width:auto;cursor:pointer}.habit-page .gnb-menu{display:flex;align-items:center;justify-content:center;gap:30px}
.habit-page .gnb-menu a{padding:10px 0;color:#2c2f31;text-decoration:none;font-size:15px;font-weight:650;white-space:nowrap}
.habit-page .btn-base{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:7px;border:1px solid transparent;font-family:inherit;font-size:13px;font-weight:700;line-height:1.3;cursor:pointer;white-space:nowrap}
.habit-page .btn-home{background:#ffce00;color:#1c1b15}.habit-page .btn-login{background:#191b1c;color:white}.habit-page .btn-logout{background:#f2f3f1;color:#4f5457}.habit-page .btn-menu-toggle{display:none}
.ht-shell{box-sizing:border-box;width:min(1120px,100%);margin:auto;padding:110px 28px 70px}.ht-shell *{box-sizing:border-box}.ht-shell [hidden]{display:none!important}
.ht-shell h1{font-size:clamp(28px,4vw,40px);letter-spacing:-1.3px;line-height:1.25;margin:18px 0}.ht-shell h2{font-size:22px;letter-spacing:-.5px;line-height:1.4;margin:0 0 16px}.ht-shell h3{margin:25px 0 12px;font-size:18px}
.ht-shell p{overflow-wrap:anywhere}.ht-shell a{color:inherit}.ht-tools{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:35px;font-size:13px}.ht-tools a{text-decoration:none;color:#5b6a65}.ht-tools a:last-child{margin-left:auto}
.ht-eyebrow{color:#64796c;letter-spacing:1.5px;font-size:12px;font-weight:750}.ht-lead{font-size:19px;color:#59695f;line-height:1.8}.ht-muted{font-size:13px;color:#69756c;line-height:1.7}
.ht-card{background:#fff;border:1px solid #dfe5dc;border-radius:18px;padding:28px;margin:22px 0;min-width:0}
.ht-hero{margin:28px 0;background:#253e34;color:#fff;border-radius:20px;padding:34px}.ht-hero h2{font-size:clamp(22px,3vw,30px);max-width:700px;margin:12px 0}.ht-hero p{color:#d0ddd5;max-width:720px}.ht-hero>span{color:#ffe16a;font-size:13px}
.ht-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ht-grid>.ht-card{margin:0}.ht-three{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.ht-three>div{border-top:1px solid #e5e9e2;padding-top:20px}
.ht-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ht-actions form{display:flex;gap:10px;flex-wrap:wrap}
.ht-shell button,.ht-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;min-height:44px;border:1px solid #d8dfd6;background:#fff;color:#263632;border-radius:9px;font:650 14px/1.4 Pretendard,"Malgun Gothic",sans-serif;text-decoration:none;cursor:pointer}
.ht-shell button:hover,.ht-button:hover{border-color:#8c9d8d;background:#f7f8f2}.ht-shell .ht-gold{background:#ffce00;border-color:#edbf00;color:#262c1a}.ht-shell .ht-gold:hover{background:#ffdc43}.ht-shell button:disabled{opacity:.5;cursor:wait}.ht-shell :focus-visible{outline:3px solid #198367;outline-offset:3px}
.ht-chip{display:inline-block;background:#eef2e8;border-radius:30px;padding:7px 13px;font-size:13px;font-weight:650}
.ht-shell label{display:block;font-size:14px;font-weight:600}.ht-shell input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.ht-shell select,.ht-shell textarea{display:block;margin:8px 0 16px;width:100%;background:white;color:#263632;border:1px solid #cbd5c9;border-radius:8px;padding:12px;font:inherit;line-height:1.6}
.ht-shell input[type=radio],.ht-shell input[type=checkbox]{width:18px;height:18px;accent-color:#28755b;flex-shrink:0;margin:2px 0}.ht-options{display:grid;gap:10px}
.ht-shell .ht-option{display:flex;align-items:flex-start;gap:12px;border:1px solid #e0e6da;border-radius:10px;padding:15px;font-size:15px;font-weight:450;line-height:1.6;cursor:pointer}.ht-option:has(input:checked){background:#f1f7eb;border-color:#5b8f6a}
.ht-question{min-width:0;padding-top:16px}.ht-question legend{float:left;width:100%;font-size:18px;line-height:1.55;font-weight:750;margin-bottom:20px;padding:0}.ht-question legend span{color:#798773;font-size:14px;margin-right:10px}.ht-question .ht-options{clear:both}
.ht-progress{position:sticky;top:80px;background:#f5f6f3f5;backdrop-filter:blur(5px);padding:16px 0 10px;z-index:10}.ht-progress>div{display:flex;justify-content:space-between;font-size:13px}.ht-progress progress{width:100%;height:8px;accent-color:#248065;border:0}
.ht-form-actions{justify-content:flex-end}.ht-form-actions #ht-prev{margin-right:auto}
.ht-score{font-size:58px;line-height:1;font-weight:800;letter-spacing:-2px;margin:20px 0}.ht-score small{font-size:16px;letter-spacing:0;font-weight:500;color:#718074}
.ht-bands{display:flex;gap:3px;margin-top:24px}.ht-bands span{flex:1;border-top:8px solid #e8ece5;padding-top:8px;font-size:11px;color:#64705e;text-align:center}.ht-bands span.active{border-color:#ecbd10;color:#283325;font-weight:800}
.ht-metric{margin:23px 0}.ht-metric>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:14px}.ht-metric span{font-size:12px;color:#60705f}.ht-track{height:11px;background:#edf0e9;border-radius:20px;overflow:hidden;margin-top:10px}.ht-track i{display:block;height:100%;background:#2c8467;border-radius:20px}
.ht-consult{background:#fff8d5;border-color:#e8dfa9}.ht-consult ol{padding-left:22px}.ht-consult textarea{background:#fffdf0}
.ht-history{display:flex;gap:15px;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding:16px 0}.ht-history p{margin:5px 0;font-size:13px}
.ht-filters{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.ht-filters label{flex:1;min-width:140px}.ht-filters input,.ht-filters select{margin-bottom:0!important}
.ht-table-wrap{overflow-x:auto;margin-bottom:22px}.ht-shell table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap}.ht-shell th,.ht-shell td{padding:15px 10px;border-bottom:1px solid #e4e9df}.ht-shell th{color:#63755e;font-weight:650}.ht-shell td small{display:block;color:#74806f;font-size:11px}
.ht-shell summary{cursor:pointer;font-weight:700}.ht-answer-list{padding-left:22px}.ht-answer-list li{padding:12px 0;border-bottom:1px solid #eee}.ht-answer-list p{margin:6px 0;font-size:14px}#ht-form-status{color:#a83225;font-weight:600}
@media(max-width:950px){.habit-page .header{padding:15px 20px}.habit-page .gnb-menu{display:none}}
@media(max-width:650px){.ht-shell{padding:100px 16px 40px}.ht-tools{gap:12px;margin-bottom:25px;font-size:12px}.ht-tools a:last-child{margin-left:0}.ht-grid,.ht-three{grid-template-columns:1fr}.ht-card{padding:22px 18px;border-radius:14px}.ht-hero{padding:26px 22px}.ht-lead{font-size:17px}.ht-question legend{font-size:17px}.ht-shell .ht-option{font-size:14px;padding:14px 12px}.ht-actions form{width:100%}.ht-consult .ht-actions button{flex:1}.ht-progress{top:80px}.ht-score{font-size:48px}}
@media print{.header,.ht-tools,.ht-no-print,.ht-consult{display:none!important}.ht-shell{padding:0;width:100%}.ht-card,.ht-hero{break-inside:avoid}.habit-page{background:white!important}.ht-hero{color:#253e34;background:#edf2e9}.ht-hero p{color:#253e34}.ht-track,.ht-track i,.ht-bands{print-color-adjust:exact}}
