:root{--ink:#47585c;--ink-soft:#47585c;--aqua:#47585c;--aqua-soft:#fff;--blue:#47585c;--blue-soft:#fff;--coral:#47585c;--coral-soft:#fff;--line:#fff;--canvas:#fff;--paper:#fff;--shadow:0 16px 48px rgba(71,88,92,.12)}
*{box-sizing:border-box}
html{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;background:var(--canvas);color:var(--ink)}
body{margin:0;min-width:320px}
button{font:inherit}
button:focus-visible{outline:3px solid #c8d5bb;outline-offset:3px}
.app-shell{width:min(100%,520px);min-height:100vh;margin:0 auto;background:var(--paper);box-shadow:0 0 40px rgba(71,88,92,.05)}
.hero{position:relative;overflow:hidden;background:var(--ink);color:#fff;padding:25px 24px 28px;border-radius:0 0 28px 28px}
.hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(200,213,187,.17);border-radius:50%;top:19px;right:-126px;box-shadow:0 0 0 35px rgba(200,213,187,.045),0 0 0 72px rgba(200,213,187,.035);pointer-events:none}
.hero-topline{position:relative;z-index:1;display:flex;align-items:center;gap:9px;margin-bottom:39px}
.brand-mark{width:21px;height:23px;display:flex;gap:3px;align-items:flex-end;transform:rotate(-12deg)}
.brand-mark span{width:5px;border-radius:4px;background:#c8d5bb;height:15px}.brand-mark span:nth-child(2){height:22px}.brand-mark span:nth-child(3){height:18px}
.brand-name{font-size:14px;font-weight:750;letter-spacing:-.03em}
.preview-badge{margin-left:auto;border:1px solid rgba(255,255,255,.34);border-radius:20px;padding:5px 9px;color:#fff;font-size:11px;font-weight:700}
.eyebrow,.section-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800}
.eyebrow{color:#c8d5bb;margin:0 0 7px}
.hero-title-row{display:flex;align-items:baseline;gap:10px;position:relative;z-index:1}
h1,h2,p{margin-top:0}
h1{font-size:34px;line-height:1.15;letter-spacing:-.065em;margin-bottom:13px;font-weight:800}
.hero-arrow{font-size:30px;font-weight:300;color:#c8d5bb}
.hero-explainer{position:relative;z-index:1;color:#c8d5bb;font-size:14px;line-height:1.65;margin-bottom:25px}
.choice-meter{position:relative;z-index:1;background:#47585c;border:1px solid #47585c;border-radius:17px;padding:14px 15px 15px}
.meter-copy{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.meter-copy strong{font-size:14px}.meter-copy span{font-size:14px;color:#c8d5bb;font-weight:800;font-variant-numeric:tabular-nums}
.choice-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.choice-slot{height:39px;border:1px dashed #47585c;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#c8d5bb;font-size:12px;font-weight:700;white-space:nowrap}.choice-slot.filled{background:#fff;border:1px solid #fff;color:#47585c}.choice-slot.leave-filled{background:#fff;border-color:#fff;color:#47585c}
.summary{display:grid;grid-template-columns:1fr 1px 1fr 1px 1fr;padding:23px 22px 25px;gap:12px;border-bottom:8px solid var(--canvas)}.summary-divider{background:var(--line);height:52px;align-self:center}.summary-item{display:flex;flex-direction:column;gap:5px;min-width:0}.summary-label{font-size:11px;font-weight:750;color:var(--ink-soft);white-space:nowrap}.summary-item strong{font-size:20px;letter-spacing:-.06em;font-variant-numeric:tabular-nums}.summary-detail{font-size:10px;color:#47585c;white-space:nowrap}
.calendar-section,.selection-section{padding:28px 22px 10px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:19px}.section-head.compact{margin-bottom:14px}.section-kicker{color:var(--aqua);margin-bottom:6px}.section-head h2,.sheet-head h2{font-size:22px;letter-spacing:-.055em;line-height:1.2;margin:0}.section-note{font-size:10px;color:var(--coral);font-weight:700;white-space:nowrap;padding-bottom:3px}
.legend{display:flex;align-items:center;gap:16px;font-size:11px;color:var(--ink-soft);font-weight:650;margin:0 0 18px}.legend span{display:flex;align-items:center;gap:5px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%}.legend-dot.base{background:var(--aqua)}.legend-dot.leave{background:var(--blue)}.legend-dot.full{background:var(--coral)}
.weekdays,.day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekdays{margin-bottom:7px}.weekdays span{text-align:center;color:#47585c;font-size:11px;font-weight:800;padding:4px}.weekdays span:first-child{color:var(--coral)}
.day-grid{gap:5px}.day-placeholder{min-height:62px}.day{position:relative;min-height:65px;border:1px solid transparent;border-radius:11px;background:#fff;color:var(--ink);padding:6px 3px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;text-align:center;transition:transform .15s ease,background .15s ease,border-color .15s ease}.day:hover{transform:translateY(-2px);border-color:#c8d5bb}.day:active{transform:scale(.97)}.day.sunday .day-number{color:var(--coral)}.day-number{font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}.day-count{font-size:9px;color:#47585c;white-space:nowrap;letter-spacing:-.02em}.day.full .day-count{color:var(--coral);font-weight:800}.day.selected-base{background:var(--aqua-soft);border-color:#c8d5bb}.day.selected-leave{background:var(--blue-soft);border-color:#c8d5bb}.day-type{width:5px;height:5px;border-radius:50%;background:transparent}.day.selected-base .day-type{background:var(--aqua)}.day.selected-leave .day-type{background:var(--blue)}
.calendar-help{font-size:11px;color:#47585c;line-height:1.5;margin:15px 0 0}.selection-section{padding-top:32px;padding-bottom:27px;border-bottom:8px solid var(--canvas)}.selection-list{display:flex;flex-direction:column;gap:9px}.empty-state{border:1px dashed #c8d5bb;background:#fff;border-radius:13px;padding:20px 15px;text-align:center;color:#47585c;font-size:13px;line-height:1.5}.selection-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:13px}.selection-date{width:41px;height:41px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:10px;font-size:16px;font-weight:800;line-height:1.05}.selection-date small{font-size:9px;color:#47585c;margin-top:3px}.selection-meta{flex:1;display:flex;flex-direction:column;gap:3px}.selection-meta strong{font-size:13px}.selection-meta small{font-size:11px;color:#47585c}.type-pill{border-radius:30px;padding:6px 8px;font-size:10px;font-weight:800}.type-pill.base{background:var(--aqua-soft);color:#47585c}.type-pill.leave{background:var(--blue-soft);color:var(--blue)}
.footer-note{padding:22px 24px 35px;color:#47585c;font-size:11px;line-height:1.65}
.sheet-backdrop{position:fixed;inset:0;background:rgba(71,88,92,.48);z-index:10}.day-sheet{position:fixed;z-index:11;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);max-height:92vh;overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:11px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:var(--shadow)}.sheet-handle{width:40px;height:5px;background:#c8d5bb;border-radius:6px;margin:0 auto 23px}.sheet-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:22px}.icon-button{border:0;background:#fff;color:var(--ink);width:32px;height:32px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.capacity-card{background:#fff;border-radius:15px;padding:15px 16px;margin-bottom:21px}.capacity-card.over{background:var(--coral-soft)}.capacity-card>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px}.capacity-card span{font-size:11px;color:var(--ink-soft);font-weight:700}.capacity-card strong{font-size:13px}.capacity-track{height:6px;background:#c8d5bb;border-radius:5px;margin:13px 0 9px;overflow:hidden}.capacity-track span{display:block;height:100%;background:var(--aqua);border-radius:5px}.capacity-card.over .capacity-track span{background:var(--coral)}.capacity-card p{margin:0;font-size:11px;color:var(--ink-soft)}.capacity-card.over p{color:var(--coral);font-weight:750}
.sheet-instruction{font-size:13px;font-weight:750;margin-bottom:12px}.sheet-actions{display:flex;flex-direction:column;gap:9px}.action-button{display:flex;align-items:center;text-align:left;gap:13px;width:100%;background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px;cursor:pointer;color:var(--ink)}.action-button:hover{border-color:var(--aqua)}.action-button:disabled{cursor:not-allowed;opacity:.42}.action-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:9px;font-size:14px;font-weight:800}.base-action .action-icon{background:var(--aqua-soft);color:var(--aqua)}.leave-action .action-icon{background:var(--blue-soft);color:var(--blue)}.action-button span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.action-button strong{font-size:13px}.action-button small{font-size:10px;color:#47585c}.action-chevron{color:#47585c}.remove-button{border:1px solid #c8d5bb;color:var(--coral);background:#fff;border-radius:11px;padding:13px;font-weight:750;cursor:pointer}.sheet-footnote{font-size:11px;line-height:1.5;color:#47585c;margin:13px 0 0}.toast{position:fixed;z-index:20;left:50%;bottom:22px;transform:translate(-50%,20px);background:#47585c;color:#fff;border-radius:10px;padding:12px 17px;box-shadow:var(--shadow);font-size:12px;font-weight:700;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;white-space:nowrap}.toast.visible{opacity:1;transform:translate(-50%,0)}
[hidden]{display:none!important}
@media(min-width:640px){body{padding:28px 0}.app-shell{border-radius:28px;overflow:hidden;min-height:calc(100vh - 56px)}.hero{border-radius:0 0 28px 28px}}
@media(max-width:360px){.hero{padding-left:18px;padding-right:18px}.summary{padding-left:14px;padding-right:14px;gap:8px}.calendar-section,.selection-section{padding-left:16px;padding-right:16px}.day-grid{gap:3px}.day{min-height:60px}.day-count{font-size:8px}.summary-item strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.edit-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-5px 0 15px;padding:11px 13px;background:var(--blue-soft);border:1px solid #c8d5bb;border-radius:11px;color:#47585c;font-size:12px;font-weight:700}.edit-banner button{border:0;background:transparent;color:#47585c;font-size:12px;font-weight:800;text-decoration:underline;cursor:pointer;padding:5px}
.selection-row{gap:9px;padding:13px 11px}.selection-date{flex:none}.selection-meta{min-width:0}.selection-meta strong,.selection-meta small{white-space:nowrap}.selection-meta small{font-size:10px}.type-pill{white-space:nowrap;flex:none}.edit-selection{border:1px solid #c8d5bb;color:#47585c;background:#fff;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer;flex:none}.edit-selection:hover{border-color:var(--aqua);color:var(--aqua)}
.change-date-action .action-icon{background:#fff;color:#47585c}.replace-day-action .action-icon{background:var(--aqua-soft);color:var(--aqua)}
.review-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.role-link{margin-left:auto;color:#c8d5bb;text-decoration:none;font-size:11px;font-weight:750;white-space:nowrap}.role-link:hover{color:#fff;text-decoration:underline}.admin-hero .role-link{margin-left:auto}.admin-hero .preview-badge{margin-left:0}
.deadline-line{display:flex;align-items:center;gap:7px;color:#c8d5bb;font-size:12px;font-weight:650;margin:-11px 0 18px}.deadline-icon{font-size:16px;color:#c8d5bb}.application-status{display:flex;align-items:center;gap:8px;margin:15px 22px 0;padding:10px 12px;border-radius:10px;background:#fff;color:#47585c;font-size:11px;font-weight:750}.status-dot{width:7px;height:7px;border-radius:50%;background:#c8d5bb}.application-status.submitted{background:#fff;color:#47585c}.application-status.submitted .status-dot{background:#47585c}.application-status.modified{background:#fff;color:#47585c}.application-status.modified .status-dot{background:#47585c}
.submit-dock{position:sticky;z-index:5;bottom:0;display:flex;align-items:center;gap:13px;padding:13px 18px calc(13px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(71,88,92,.06);backdrop-filter:blur(12px)}.submit-dock-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.submit-dock-copy strong{font-size:12px}.submit-dock-copy span{font-size:10px;color:#47585c;white-space:nowrap}.submit-button{display:flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:0 17px;border:0;border-radius:13px;background:var(--aqua);color:#fff;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap;box-shadow:0 6px 14px rgba(71,88,92,.18)}.submit-button:hover{background:#47585c}.submit-button:focus-visible{outline-color:#c8d5bb}
.review-backdrop{position:fixed;z-index:14;inset:0;background:rgba(71,88,92,.52)}.review-sheet{position:fixed;z-index:15;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);max-height:92vh;overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:11px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:var(--shadow)}.review-deadline{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:12px;background:#fff;margin-bottom:12px;font-size:12px;color:#47585c}.review-deadline strong{color:var(--ink);font-size:13px}.review-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:23px}.review-stat{padding:12px 10px;background:#fff;border:1px solid #fff;border-radius:11px;display:flex;flex-direction:column;gap:6px}.review-stat span{font-size:10px;color:#47585c;line-height:1.3}.review-stat strong{font-size:16px;letter-spacing:-.04em}.review-selected h3{font-size:13px;margin:0 0 9px}.review-list{display:flex;flex-direction:column;gap:7px}.review-row{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;font-size:12px}.review-row strong{flex:1}.review-empty{padding:12px;border:1px dashed #c8d5bb;border-radius:10px;color:#47585c;font-size:11px;line-height:1.5}.review-note{font-size:10px;color:#47585c;line-height:1.55;margin:14px 0}.review-submit{width:100%;justify-content:space-between;padding:0 17px}
@media(max-width:360px){.submit-dock{gap:8px;padding-left:12px;padding-right:12px}.submit-dock-copy strong{font-size:11px}.submit-dock-copy span{font-size:9px}.submit-button{gap:8px;padding:0 12px;font-size:12px}.review-summary{gap:5px}.review-stat{padding:10px 7px}.review-stat span{font-size:9px}}
