:root{font-family:system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:#273b32;background:#f7f4ec;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b98779;outline-offset:2px}a{color:#365a4c}main,.topbar,footer{max-width:1000px;margin:auto}main{padding:16px}header{display:flex;align-items:center;justify-content:space-between;padding:22px 18px;border-bottom:1px solid #e8e1d3}.brand{font-weight:800;letter-spacing:.1em;color:#365a4c}.topright{font-size:12px;color:#64766b}.hero{background:linear-gradient(125deg,#e3eadd,#f8eddf);border-radius:25px;padding:45px 30px;margin:18px 0}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#6a8673}.hero h1{font-family:Georgia,serif;font-size:clamp(36px,6vw,58px);line-height:1.2;letter-spacing:-.065em;margin:12px 0}.hero em{color:#b56f64;font-style:normal}.hero p{line-height:1.8;color:#526459}.hero-actions,.backup-actions{display:flex;gap:9px;flex-wrap:wrap}button,.file-label{border:0;border-radius:11px;padding:12px 16px;font-weight:700;min-height:44px}.primary{background:#365a4c;color:#fff}.outline{background:white;border:1px solid #bccdc0;color:#365a4c}.subtle{background:transparent;color:#365a4c}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.values>div{background:#e9eee7;border-radius:16px;padding:17px;display:flex;gap:8px;flex-direction:column}.values strong{font-size:16px}.values small{font-size:12px;color:#657567}.panel{border:1px solid #e5e4d9;border-radius:20px;background:#fffdf8;padding:25px;margin:20px 0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}h2{font-size:24px;margin:8px 0 20px;letter-spacing:-.04em}h3{margin:0}p{line-height:1.7}.muted{font-size:13px;color:#677a6b}.goal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.goal-grid label,dialog label{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:14px}textarea,input:not([type=checkbox]),select{border:1px solid #d5dfd6;border-radius:9px;padding:11px;background:#fff;width:100%;color:#273b32}textarea{resize:vertical}.goals>button{margin-top:14px}.calendar-nav{display:flex;justify-content:space-between;align-items:center;margin:22px 0 14px}.calendar-nav h3{font-size:25px}.calendar-nav button{font-size:30px;background:#e9eee7;color:#365a4c;padding:4px 16px}.weekdays,.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.weekdays{color:#748479;text-align:center;margin-bottom:8px}.weekdays span:first-child{color:#b56f64}.calendar button{min-height:69px;border-radius:9px;padding:8px 5px;background:#faf9f5;border:1px solid #e8e7df;text-align:left;font-weight:600;color:#34483c;display:flex;flex-direction:column;gap:3px;overflow:hidden}.calendar button.empty{visibility:hidden}.calendar button.selected{background:#e2eee0;border:2px solid #547c62}.calendar button .dot{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-weight:500}.calendar button.sun{color:#b56f64}.selected-day{margin-top:20px;padding-top:16px;border-top:1px solid #e6e3d9}.selected-day h3{font-size:17px;margin-bottom:12px}.event{display:flex;justify-content:space-between;align-items:center;padding:12px;margin:7px 0;background:#f2f5ef;border-radius:12px;gap:10px}.event button{background:transparent;border:1px solid #bad0bd;color:#365a4c}.event p{font-size:12px;margin:5px 0 0;white-space:pre-wrap}.season-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.season-card{padding:18px;border-radius:13px;border:1px solid #dedfd3;background:#f8f8f1}.season-card h3{font-size:19px;margin-bottom:8px}.season-card p{font-size:13px;color:#526458}.season-card .shop{width:100%;text-align:center;display:block;border-radius:9px;padding:12px;text-decoration:none;background:#365a4c;color:white;font-weight:700}.season-card .shop[aria-disabled=true]{background:#e2e6df;color:#637469;pointer-events:none}.notice{margin-top:16px;background:#f1eee5;padding:15px;border-radius:10px}.ad{font-size:12px;color:#6f645d}.local-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.local-list>div{border-radius:11px;padding:15px;background:#f3f5ee}.local-list p{font-size:13px}.backup-actions{margin:20px 0}.warning{font-size:12px;color:#995f52}footer{text-align:center;padding:30px;color:#79867b;font-size:13px;line-height:1.8}dialog{border:none;border-radius:18px;width:min(92vw,450px);padding:25px;box-shadow:0 20px 90px #2225}dialog::backdrop{background:#1a332abb}dialog form{display:flex;flex-direction:column;gap:12px}dialog h2{margin:0}.check{flex-direction:row;align-items:center}.check input{width:auto}.dialog-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.danger{background:#fff0ed;color:#9f403d;margin-right:auto}@media(max-width:600px){.hero{padding:32px 23px}.panel{padding:17px}.goal-grid,.local-list{grid-template-columns:1fr}.calendar button{min-height:58px;padding:5px 2px;font-size:12px}.calendar button .dot{font-size:9px}.section-head{align-items:flex-start}.section-head .outline{font-size:12px;padding:8px}.values{gap:6px}.values>div{padding:10px}.values small{font-size:10px}.season-grid{grid-template-columns:1fr}}@media print{header,.hero-actions,.backups,.season .shop,button,dialog{display:none!important}body{background:white}.panel{break-inside:avoid}main{padding:0}}
/* 2027 달력: 공휴일/일요일 빨강, 토요일 초록, 평일 검정. 공휴일 우선 */
.weekdays span:first-child{color:#c4313e;font-weight:800}
.weekdays span:last-child{color:#207a4b;font-weight:800}
.weekdays span:not(:first-child):not(:last-child){color:#171717}
.calendar button.weekday{color:#171717}
.calendar button.sun{color:#c4313e}
.calendar button.sat{color:#207a4b}
.calendar button .holiday-label{font-size:10px;line-height:1.2;color:#c4313e;font-weight:600;word-break:keep-all}
@media(max-width:600px){.calendar button .holiday-label{font-size:8px;line-height:1.15}}
