*{box-sizing:border-box}
:root{--ink:#263238;--muted:#607078;--paper:#fffdfb;--pink:#e94b73;--lav:#8d6ccf;--mint:#55a87b;--blue:#4c9bd1;--orange:#e89b32;--line:#dfe7e5}
body{margin:0;background:#f7f3ef;color:var(--ink);font-family:system-ui,-apple-system,"Noto Sans KR","Malgun Gothic",sans-serif;line-height:1.45}
button,input{font:inherit}.topbar{background:#fff;border-bottom:1px solid var(--line);padding:18px 5%;display:flex;justify-content:space-between;align-items:center;gap:20px;position:sticky;top:0;z-index:10}.topbar h1{margin:0;font-size:clamp(24px,3vw,34px)}.topbar p{margin:4px 0 0;color:var(--muted)}
.header-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{border:0;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}.primary{background:#277f5c;color:#fff}.secondary{background:#edf3f2;color:#263238}.danger{background:#ffe8e8;color:#a52e2e}
main{max-width:1180px;margin:auto;padding:22px}
.hero{background:linear-gradient(135deg,#fff2f5,#fffaf3);border:1px solid #f2ccd7;border-radius:22px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.hero h2{font-size:clamp(30px,5vw,48px);margin:0}.hero-sub{font-size:20px;margin:8px 0 0;font-weight:700}.progress-card{min-width:280px;background:#fff;border-radius:18px;padding:16px;box-shadow:0 5px 20px #0000000d}.progress{height:14px;background:#edf0ef;border-radius:20px;overflow:hidden;margin:9px 0}.progress span{display:block;height:100%;width:0;background:var(--pink);transition:.3s}
.exercise-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.exercise-card{background:#fff;border:2px solid var(--line);border-radius:18px;padding:14px;break-inside:avoid}.stretch{border-color:#a9dcf4}.standing{border-color:#b8e7c8}.yoga{border-color:#d8c6f4}.strength{border-color:#f4c888}.walk{border-color:#9ddfe1}.finish{border-color:#d9c6f4}
.section-title{display:flex;align-items:center;gap:10px}.section-title span{width:34px;height:34px;border-radius:50%;background:#e9f1ef;display:grid;place-items:center;font-weight:900}.section-title h3{margin:0;font-size:20px}.section-title em{font-style:normal;color:#b34b69;font-size:16px;margin-left:6px}.moves{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}.moves.compact{grid-template-columns:repeat(4,1fr)}.move{text-align:center;background:#fafafa;border:1px solid #e8eceb;border-radius:12px;padding:7px;min-height:190px}.move b{display:block;font-size:14px}.move small{display:block;font-weight:800;color:#8b4e61;margin-top:2px}.move p{font-size:11px;color:var(--muted);margin:4px 0}.ill{height:80px;position:relative;margin-bottom:5px}.ill:before,.ill:after{content:"";position:absolute;border-radius:50%;background:#f3b6a5}.ill:before{width:22px;height:22px;left:50%;top:8px;transform:translateX(-50%)}.ill:after{width:50px;height:42px;left:50%;top:30px;transform:translateX(-50%);border-radius:25px 25px 10px 10px;background:#8bbad8}.stretch1:after{transform:translateX(-50%) rotate(-10deg)}.ankle:after{background:#8bbad8;width:44px}.knee:after{width:58px;height:28px;top:40px}.kneeside:after{transform:translateX(-50%) rotate(18deg);width:55px;height:28px}.breathe:after,.sitbreathe:after,.calm:after{background:#c9a8df;border-radius:28px}.neck:after,.arm:after,.side:after,.calf:after,.calf2:after{background:#7fc19d}.catcow:after{background:#9b7bd2;width:60px;height:25px;top:42px}.child:after{background:#9b7bd2;width:62px;height:25px;top:45px;transform:translateX(-50%) rotate(18deg)}.cobra:after{background:#9b7bd2;width:58px;height:20px;top:48px}.hip:after{background:#9b7bd2;width:55px;height:25px;top:43px}.chair:after,.wall:after,.finalstretch:after{background:#e6a44e}.walk-illustration{font-size:55px;text-align:center;margin:15px}.walk-copy{text-align:center;font-weight:700;color:#41615c}
.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;margin-top:14px}.panel h3{margin:0 0 10px;font-size:22px}.music-controls{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.panel label{display:block;font-weight:700;margin:8px 0}.panel input[type=range]{width:200px;vertical-align:middle}.panel small{color:var(--muted)}.reminder{display:grid;grid-template-columns:1fr 110px 60px;gap:8px;align-items:center;margin:8px 0}.reminder input{padding:8px;border:1px solid var(--line);border-radius:9px}.switch{cursor:pointer}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.daily-row{display:grid;grid-template-columns:1.4fr 80px 100px 100px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0ef}.checks{display:flex;gap:12px}.checks label{font-weight:800}.checks input{width:22px;height:22px;accent-color:#2e8a64}.done{background:#ecf8f2;border-radius:12px;padding:7px 10px}.timer-row{display:grid;grid-template-columns:1.3fr 80px 120px 1fr;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0ef}.time{font-variant-numeric:tabular-nums;font-weight:900;font-size:20px}.timer-buttons{display:flex;gap:5px;flex-wrap:wrap}.timer-buttons button{border:0;border-radius:9px;padding:7px 9px;cursor:pointer}.weekly .table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{border:1px solid #dce5e2;padding:9px;text-align:center}th{background:#f3f8f6}td:first-child,th:first-child{text-align:left;font-weight:800}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.stats div{background:#f7faf9;padding:12px;border-radius:12px}.stats b{display:block;font-size:20px;margin-top:3px}
.praise{background:linear-gradient(135deg,#fff4df,#fff0f5);border:1px solid #f0d4ae;border-radius:18px;padding:22px;margin:14px 0}.praise h3{margin:0 0 8px;color:#a75b2e;font-size:23px}.praise p{margin:0;font-size:18px;font-weight:700;white-space:pre-line}footer{text-align:center;padding:22px;color:#a95a6c;font-weight:800}
@media(max-width:850px){.hero,.control-grid{grid-template-columns:1fr;display:grid}.exercise-grid{grid-template-columns:1fr}.moves,.moves.compact{grid-template-columns:repeat(2,1fr)}.topbar{position:static}.stats{grid-template-columns:1fr 1fr}.daily-row{grid-template-columns:1fr 80px 100px 100px}.timer-row{grid-template-columns:1fr 80px}.timer-buttons{grid-column:1/-1}}
@media(max-width:520px){main{padding:12px}.moves,.moves.compact{grid-template-columns:1fr}.move{min-height:0}.stats{grid-template-columns:1fr}.hero-sub{font-size:16px}.reminder{grid-template-columns:1fr 95px 50px}}
@media print{body{background:#fff}.no-print,.topbar .header-actions{display:none!important}.topbar{position:static;border:0;padding:0 0 10px}.topbar h1{font-size:25px}main{padding:0;max-width:none}.hero{box-shadow:none}.exercise-grid{gap:8px}.exercise-card{border:1px solid #aaa}.move{min-height:155px}.ill{height:55px}.move p{font-size:9px}.control-grid,.daily,.timer-panel{display:none}.print-page{break-inside:avoid}.weekly{break-before:page}.praise{break-inside:avoid}.btn{display:none}}
