:root{font-family:Arial,"Malgun Gothic",sans-serif;color:#222;background:#fff;font-synthesis:none;--orange:#f46b2c;--rail:122px;--row-height:48px}*{box-sizing:border-box}body{margin:0}.sheet{max-width:1170px;margin:auto;padding:22px 24px 30px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.brand{display:flex;align-items:center;gap:12px}.brand img{object-fit:contain}.eyebrow{font-size:11px;color:#777;margin:0 0 4px;letter-spacing:.08em}h1{font-size:25px;letter-spacing:-1px;margin:0}.year-controls{display:flex;align-items:center;gap:12px}.year-controls strong{font-size:25px}.year-controls button{border:1px solid #e5e5e5;background:#fff;color:#555;border-radius:5px;cursor:pointer;font-size:22px;width:28px;height:28px;line-height:20px}.year-controls button:hover{background:#fff1e8;color:#d94d11}button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}#reset{width:auto;font-size:11px;padding:0 9px}.care-panels{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:14px;margin-bottom:16px}.duties,.today-card{border:1px solid #e8e8e8;border-radius:8px;padding:15px 17px}.duties{background:#fafafa}h2{margin:0;font-size:13px}.duties ol{display:flex;flex-wrap:wrap;gap:5px 22px;list-style-position:inside;padding:0;margin:10px 0;color:#333;font-size:12px}.duties p{font-size:10px;color:#808080;margin:0;line-height:1.6}.today-card{position:relative;background:#fff9f5;border-color:#f5d9c8;padding-right:90px;min-height:99px}.today-card h2{font-size:14px;white-space:nowrap}.today-card h2 span{color:#d95119}.today-card p{font-size:10px;color:#777;margin:0 0 7px}.today-card #today-period{margin:7px 0 0}.today-card .first-duty{font-size:9px;line-height:1.4;margin:6px 0 0}.dog{position:absolute;width:100px;height:90px;object-fit:contain;right:0;top:-58px;pointer-events:none}.legend{display:flex;justify-content:space-between;color:#888;font-size:10px;margin:0 0 9px var(--rail)}.legend i{display:inline-block;background:var(--orange);width:7px;height:7px;border-radius:50%;margin-right:5px}.calendar-shell{overflow-x:auto}.timeline-heading,.timeline-row{display:grid;grid-template-columns:var(--rail) minmax(0,1fr)}.heading-label{text-align:center;font-size:10px;color:#888;padding-bottom:7px}.weekdays{display:grid;grid-template-columns:repeat(28,1fr);font-size:9px;text-align:center;color:#999;padding-bottom:7px}.row-label{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin:0;font-size:12px;font-weight:600}.row-label small{font-size:9px;color:#999;font-weight:400}.row-track{position:relative;height:var(--row-height);border:1px solid #e6e6e6;border-bottom:0}.timeline-row:last-child .row-track{border-bottom:1px solid #e6e6e6}.date-strip{display:grid;grid-template-columns:repeat(28,minmax(0,1fr));height:100%}.day{border-right:1px solid #eee;text-align:center;padding-top:6px;font-size:10px;color:#555;white-space:nowrap;font-variant-numeric:tabular-nums}.day:last-child{border-right:0}.day.weekend{background:#f4f4f4}.day.week-start{border-left:1px solid #ddd}.day.outside{color:#bdbdbd;background:#fafafa}.day.empty{background:#fafafa}.day.month-start{font-weight:800;color:#222}.day span{display:inline-flex;justify-content:center;align-items:center;min-width:21px;height:17px}.day[aria-current=date] span{background:var(--orange);color:white;border-radius:4px;font-weight:700}.assignee-strip{position:absolute;bottom:5px;left:0;right:0;display:grid;grid-template-columns:repeat(28,minmax(0,1fr));pointer-events:none}.assignment-bar{grid-row:1;margin:0 4px;height:19px;border-radius:3px;background:var(--bar-color);color:var(--bar-text);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;pointer-events:auto;overflow:hidden;white-space:nowrap;border:1px solid #0000000d}@media(max-width:800px){.sheet{padding:20px 14px}.care-panels{grid-template-columns:1fr}.today-card{padding-right:110px}.dog{top:-20px;right:10px}.duties ol{display:block;line-height:1.9}.calendar-shell #calendar{min-width:900px}h1{font-size:20px}.brand img{width:42px;height:42px}.year-controls{gap:7px}.year-controls strong{font-size:21px}.legend{margin-left:0}.care-panels{margin-top:20px}}@media(min-width:801px) and (max-height:850px){:root{--row-height:43px}.sheet{padding-top:15px}header{margin-bottom:22px}.care-panels{margin-bottom:12px}.duties,.today-card{padding-top:12px;padding-bottom:12px}}@page{size:A4 landscape;margin:8mm}@media print{:root{--row-height:34px;--rail:95px}.sheet{max-width:none;padding:0}header{margin-bottom:14px}h1{font-size:19px}.brand img{width:38px;height:38px}.year-controls button{display:none}.care-panels{margin-bottom:8px}.duties,.today-card{padding:8px 12px;min-height:0}.dog{height:60px;top:-38px}.calendar-shell{overflow:visible}.row-label{font-size:10px}.day{font-size:8px;padding-top:1px}.assignment-bar{height:13px;font-size:9px}.assignee-strip{bottom:3px}.timeline-row{break-inside:avoid}*{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* Keep date labels separate from the inset duty bars at compact heights. */
.dog{left:20px;right:auto;top:-59px;width:78px;height:72px}
@media(min-width:801px) and (max-height:850px){.day{padding-top:3px}.day span{height:15px}.assignment-bar{height:17px}.assignee-strip{bottom:4px}}
@media(max-width:800px){.dog{left:auto;right:10px;top:-20px;width:100px;height:90px}}
@media print{.dog{height:60px;top:-38px}.day{padding-top:1px}.day span{height:13px}.assignment-bar{height:13px}.assignee-strip{bottom:3px}}
.duties{position:relative;padding-left:122px}.duties .dog{left:13px;top:12px;width:96px;height:78px}.today-card{padding-right:17px}
@media(max-width:800px){.duties{padding-left:114px}.duties .dog{left:8px;top:20px;width:94px;height:90px}h1{font-size:18px}}
@media print{.duties{padding-left:90px}.duties .dog{left:8px;top:7px;width:73px;height:58px}}
@font-face{font-family:Gaegu;src:url('assets/fonts/Gaegu-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Gaegu;src:url('assets/fonts/Gaegu-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
header,.care-panels{font-family:Gaegu,"Malgun Gothic",cursive}header button{font-family:inherit}h1{font-size:31px;letter-spacing:-.6px}.eyebrow{font-size:16px;letter-spacing:0}.year-controls strong{font-size:30px}.year-controls #reset{font-size:16px}.duties h2{font-size:20px}.duties ol{font-size:17px;gap:4px 17px;margin:6px 0}.duties p{font-size:14px;line-height:1.35}.today-card h2{font-size:20px}.today-card p{font-size:14px}.today-card .first-duty{font-size:12px}.care-panels{margin-bottom:19px}
:root{--row-height:58px}.day.weekend,.day.holiday{background:#f1f1f1;color:#cc4848}.weekdays .weekend{color:#cc4848}.day.month-start.weekend,.day.month-start.holiday{color:#cc4848}.day.outside.weekend,.day.outside.holiday{color:#cf9d9d}.day[aria-current=date] span{color:white}.assignee-strip{bottom:6px}.assignment-bar{height:19px}.day{padding-top:6px}.day span{height:17px}
@media(min-width:801px) and (max-height:850px){:root{--row-height:56px}.day{padding-top:6px}.day span{height:17px}.assignment-bar{height:19px}.assignee-strip{bottom:6px}}
@media(max-width:800px){h1{font-size:25px}.duties ol{font-size:17px}.duties p{font-size:14px}.today-card h2{font-size:20px}}
@media print{:root{--row-height:35px}h1{font-size:23px}.eyebrow{font-size:13px}.duties h2{font-size:15px}.duties ol{font-size:12px}.duties p{font-size:11px}.today-card h2{font-size:16px}.today-card p{font-size:11px}.today-card .first-duty{font-size:10px}.day{padding-top:1px}.day span{height:12px}.assignment-bar{height:12px}.assignee-strip{bottom:3px}}
#calendar{border:1.5px solid #bfc0c2}.timeline-heading{border-bottom:1.5px solid #bfc0c2;background:#fafafa}.heading-label{display:flex;align-items:center;justify-content:center;padding:0;border-right:1.5px solid #bfc0c2;color:#555}.weekdays{padding:0;min-height:30px}.weekdays span{display:flex;align-items:center;justify-content:center;border-right:1px solid #ddd}.weekdays span:last-child{border-right:0}.row-label{border-right:1.5px solid #bfc0c2;background:#fafafa}.timeline-row{border-bottom:1px solid #ddd}.timeline-row:last-child{border-bottom:0}.row-track,.timeline-row:last-child .row-track{border:0}.today-card{display:flex;flex-direction:column;justify-content:center}.today-card #today-period{margin:10px 0 0;font-size:16px}
.duties .dog{transform:scaleX(-1)}
.weekdays span{font-weight:700}
.day[aria-current=date]{padding-top:4px}
.day[aria-current=date] span{width:22px;min-width:22px;height:22px;border-radius:50%;font-size:9px}
@media print{.day[aria-current=date]{padding-top:1px}.day[aria-current=date] span{width:16px;min-width:16px;height:16px;font-size:7px}}

.date-strip > .day:first-child{border-left:0}
/* Responsive header and edge-to-edge touch scrolling. */
.today-card{padding-left:80px}.today-face{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:52px;height:52px;object-fit:contain}
.year-controls{flex-shrink:0;white-space:nowrap}.year-controls button{flex-shrink:0;white-space:nowrap}.year-controls #reset{min-width:46px}
@media screen and (max-width:800px){
 .sheet{padding:20px 14px 30px;max-width:100%;min-width:0}
 header{display:flex;flex-direction:column;align-items:flex-start;gap:13px;margin-bottom:20px}
 .brand{min-width:0;width:100%}h1{white-space:nowrap;font-size:clamp(23px,6.5vw,31px);letter-spacing:-.6px}
 .year-controls{align-self:flex-end;gap:10px}.year-controls button{width:32px;height:32px}.year-controls #reset{width:48px;line-height:normal}.year-controls strong{font-size:28px}
 .care-panels{margin-top:0}.today-card{padding:18px 14px 18px 82px;min-height:100px}.today-card h2{font-size:20px}.today-card #today-period{font-size:16px}
 .calendar-shell{width:calc(100% + 28px);max-width:none;margin-left:-14px;margin-right:-14px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;overscroll-behavior-x:contain;padding:0 0 8px}
 .calendar-shell #calendar{width:1100px;min-width:1100px}
}
@media print{.today-card{padding-left:58px}.today-face{left:9px;width:40px;height:40px}}
/* One title/year row on every screen size. */
header{display:block}.title-line{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}.title-line h1{margin:0;white-space:nowrap}.title-line .year-controls{align-self:auto;gap:6px}.eyebrow{margin-bottom:6px}
@media screen and (max-width:800px){
 header{display:block}.title-line{gap:7px}.title-line h1{font-size:clamp(19px,5.25vw,28px);letter-spacing:-.7px}.title-line .year-controls{gap:4px}.title-line .year-controls button{width:26px;height:28px;font-size:21px}.title-line .year-controls #reset{min-width:32px;width:32px;padding:0;font-size:14px}
 .today-card{padding-left:114px}.today-face{left:25px;width:64px;height:64px}.today-card h2{font-size:19px}.today-card #today-period{font-size:15px;white-space:nowrap}
}
@media screen and (max-width:359px){.title-line{gap:4px}.title-line h1{font-size:18px}.title-line .year-controls{gap:2px}.title-line .year-controls button{width:23px}.today-card h2{font-size:17px}.today-card #today-period{font-size:13px}}
