@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans KR',sans-serif;color:#17324b;background:#f5f8fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#256f9c}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #48a8cb;outline-offset:2px}.loading{min-height:100vh;display:grid;place-items:center;color:#61778a}.shell{min-height:100vh}.topbar{height:74px;background:#fff;border-bottom:1px solid #e2e9ee;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1380px)/2));gap:24px}.brand{font-size:24px;font-weight:800;letter-spacing:-1.7px;color:#183e60;display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.brandmark{width:31px;height:31px;background:#173f62;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:20px;font-weight:700;line-height:1}.topright{display:flex;align-items:center;gap:16px;color:#52697d;font-size:14px}.org-pill{border:1px solid #dce5ed;border-radius:999px;padding:8px 13px;background:#f7fafc}.subtle-btn{border:0;background:none;color:#52697d;font-weight:600}.layout{max-width:1380px;margin:auto;display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 74px)}.sidebar{padding:31px 17px 20px 0;border-right:1px solid #e2e9ee}.side-label{font-size:12px;letter-spacing:.08em;font-weight:700;color:#8da0ae;padding:0 15px;margin:0 0 12px}.navbtn{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;border-radius:10px;padding:12px 15px;margin:3px 0;color:#536f84;font-weight:600;font-size:15px}.navbtn.active{background:#e5f1f5;color:#165e79}.navbtn svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-note{border-top:1px solid #e2e9ee;margin:32px 10px 0;padding:20px 5px;color:#738899;font-size:13px;line-height:1.7}.main{padding:32px 38px 70px;min-width:0}.eyebrow{color:#4389a0;font-weight:700;font-size:13px;letter-spacing:.05em}.pagehead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.pagehead h1{font-size:29px;letter-spacing:-1.2px;line-height:1.3;margin:5px 0 4px;color:#153b5c}.pagehead p{margin:0;color:#687f91;font-size:14px}.primary{background:#173f62;color:white;border:1px solid #173f62;border-radius:10px;padding:12px 18px;font-weight:700;min-height:43px}.primary:hover{background:#215a83}.secondary{background:white;color:#245374;border:1px solid #cbdce7;border-radius:10px;padding:11px 16px;font-weight:700;min-height:43px}.danger{color:#b64a53}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.metric{background:#fff;border:1px solid #e3ebf0;border-radius:16px;padding:20px 23px;min-height:132px;box-shadow:0 5px 25px #173f6208}.metric-label{color:#6d8494;font-size:14px;font-weight:600}.metric-row{display:flex;align-items:baseline;gap:5px;margin-top:13px}.metric-number{font-size:36px;letter-spacing:-1.5px;font-weight:800;color:#183f60;line-height:1}.metric-unit{color:#70889a;font-weight:600}.metric-note{font-size:12px;color:#899ba8;margin-top:7px}.metric.featured{background:#173f62;border-color:#173f62;color:white;position:relative;overflow:hidden}.metric.featured:after{content:'';position:absolute;width:150px;height:150px;border:20px solid #ffffff0b;border-radius:50%;right:-35px;top:-60px}.metric.featured .metric-label,.metric.featured .metric-note,.metric.featured .metric-unit{color:#bed7e4}.metric.featured .metric-number{color:#fff}.content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr);gap:18px;margin-top:19px}.card{background:#fff;border:1px solid #e3ebf0;border-radius:16px;box-shadow:0 5px 25px #173f6208;overflow:hidden}.card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 23px 16px}.card h2{font-size:18px;letter-spacing:-.5px;margin:0;color:#183e5d}.card-header small{color:#7b91a0}.card-body{padding:0 23px 22px}.card-footer{padding:13px 23px;background:#f8fbfd;border-top:1px solid #edf1f4;color:#748b9b;font-size:12px}.balance-visual{padding:16px 23px 28px;display:flex;align-items:center;gap:26px}.donut{width:148px;height:148px;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#55bdaf var(--pct),#e9f0f4 0)}.donut-inner{width:112px;height:112px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut-inner strong{font-size:26px;color:#173f62}.donut-inner span{font-size:12px;color:#8a9eaa}.legend{display:grid;gap:12px;color:#506b7e;font-size:14px}.legend div{display:flex;align-items:center;gap:9px}.legend strong{margin-left:auto;color:#183f60}.swatch{width:9px;height:9px;border-radius:3px;background:#55bdaf}.swatch.gray{background:#e9f0f4}.notice{background:#eaf5f7;border:1px solid #d5e8eb;border-radius:12px;padding:15px 17px;color:#315f72;font-size:14px;line-height:1.6}.notice strong{display:block;margin-bottom:3px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:550px}th,td{text-align:left;padding:14px 20px;border-bottom:1px solid #edf1f4;white-space:nowrap;font-size:14px}th{font-size:13px;color:#7d93a1;font-weight:700;background:#f9fbfc}td{color:#34566d}tbody tr:last-child td{border-bottom:0}.person{font-weight:700;color:#183e5d}.muted{color:#8196a5}.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;background:#e8f4f2;color:#277b70}.badge.pending{background:#fff4df;color:#aa7418}.badge.rejected{background:#f8e9eb;color:#ae5d68}.empty{padding:45px 20px;text-align:center;color:#8296a5;font-size:14px;line-height:1.7}.inline-actions{display:flex;gap:6px}.mini-btn{border:1px solid #d7e3ea;border-radius:8px;background:#fff;color:#295c79;padding:6px 10px;font-weight:700;font-size:12px}.mini-btn:hover{background:#f0f7fa}.section{margin-top:23px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.section-title h2{font-size:18px;margin:0;color:#183e5d}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:7px}.field.wide{grid-column:1/-1}.field label{font-size:13px;font-weight:700;color:#4e687d}.field input,.field select,.field textarea{width:100%;border:1px solid #cbdbe6;border-radius:9px;padding:11px 12px;background:#fff;color:#193b55;min-height:44px}.field textarea{min-height:76px;resize:vertical}.field-help{font-size:12px;color:#7d91a0;line-height:1.5}.form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px}.form-card{padding:23px}.form-card h2{margin-bottom:18px}.auth{min-height:100vh;display:grid;grid-template-columns:minmax(310px,45%) minmax(380px,55%)}.auth-side{background:#173f62;color:#fff;padding:52px max(45px,calc((100vw - 1180px)/2));display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.auth-side:after{content:'';position:absolute;width:600px;height:600px;border:1px solid #ffffff16;border-radius:50%;bottom:-270px;left:-90px;box-shadow:0 0 0 110px #ffffff09,0 0 0 220px #ffffff05}.auth-side .brand{color:#fff;z-index:1}.auth-side .brandmark{background:#fff;color:#173f62}.auth-copy{z-index:1;max-width:470px}.auth-copy .kicker{font-size:14px;color:#72d0c2;font-weight:700;margin-bottom:16px}.auth-copy h1{font-size:43px;line-height:1.35;letter-spacing:-2px;margin:0 0 18px}.auth-copy p{color:#c5dce8;font-size:16px;line-height:1.8;margin:0}.auth-side footer{z-index:1;color:#9db9c9;font-size:13px}.auth-main{display:grid;place-items:center;padding:35px}.auth-panel{width:min(100%,430px)}.auth-panel h2{font-size:29px;letter-spacing:-1.1px;margin:0 0 8px;color:#183d5d}.auth-panel>p{color:#708798;font-size:15px;line-height:1.6;margin:0 0 28px}.auth-panel .field{margin-bottom:17px}.auth-panel .primary{width:100%;margin-top:8px}.alert{padding:12px 14px;background:#fff0f0;border:1px solid #f2cbcb;color:#a4404b;border-radius:9px;font-size:13px;margin:0 0 18px}.success{background:#e9f6f1;border-color:#c8eadc;color:#25705a}.text-btn{border:0;background:none;color:#287796;font-weight:700;padding:0;font-size:13px}.auth-foot{margin-top:25px;color:#91a2ae;font-size:12px;line-height:1.7}.toast{position:fixed;right:24px;bottom:22px;z-index:20;background:#173f62;color:#fff;border-radius:10px;padding:13px 18px;box-shadow:0 12px 40px #173f6240;font-size:14px}.error-toast{background:#a8464f}.modal-backdrop{position:fixed;inset:0;background:#0a2f45a1;display:grid;place-items:center;padding:20px;z-index:10}.modal{width:min(100%,530px);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:26px;box-shadow:0 24px 70px #0a283855}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:21px}.modal-head h2{margin:0;font-size:21px}.icon-btn{border:0;background:transparent;color:#688394;font-size:25px;line-height:1}.page-foot{margin-top:31px;color:#889cab;font-size:12px;line-height:1.7}.page-foot a{color:#5a8198}.stack{display:grid;gap:18px}.statline{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf1f4;color:#688192;font-size:14px}.statline:last-child{border:0}.statline strong{color:#173f62}.mobile-nav{display:none}@media(max-width:940px){.layout{grid-template-columns:1fr}.sidebar{display:none}.main{padding:26px 20px 80px}.content-grid{grid-template-columns:1fr}.topbar{padding:0 20px}.mobile-nav{display:flex;overflow:auto;gap:5px;padding:10px 20px;background:#fff;border-bottom:1px solid #e2e9ee}.mobile-nav .navbtn{width:auto;flex:none;margin:0;padding:9px 13px}.mobile-nav .navbtn svg{display:none}}@media(max-width:640px){.topbar{height:64px}.topright{gap:7px}.org-pill{display:none}.pagehead{align-items:stretch;flex-direction:column}.pagehead h1{font-size:25px}.grid3{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:17px;min-height:115px}.metric:first-child{grid-column:1/-1}.metric-number{font-size:30px}.content-grid{margin-top:12px;gap:12px}.balance-visual{gap:14px}.donut{width:126px;height:126px}.donut-inner{width:95px;height:95px}.auth{display:block}.auth-side{min-height:230px;padding:24px 25px}.auth-copy h1{font-size:28px}.auth-copy p,.auth-side footer{display:none}.auth-main{padding:35px 24px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}}
.auth-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#e8eff4;border-radius:10px;padding:4px;margin:0 0 24px}.auth-switch button{border:0;background:transparent;border-radius:7px;padding:9px 5px;font-size:13px;font-weight:700;color:#718799;white-space:nowrap}.auth-switch button.selected{background:#fff;color:#174768;box-shadow:0 1px 4px #173f6219}.invite-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px}.invite-card h2{margin:5px 0 7px;font-size:19px}.invite-card p,.settings-intro{color:#6e8494;font-size:14px;line-height:1.7;margin:0}.join-code{display:inline-block;margin-top:18px;background:#edf5f8;color:#174e68;border:1px dashed #80acbf;border-radius:9px;padding:10px 15px;font-size:22px;font-weight:800;letter-spacing:2px}.invite-actions{display:flex;gap:9px;flex-wrap:wrap}.settings-intro{margin:0 0 20px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px}.calendar-toolbar h2{margin:0;font-size:19px;color:#173f62}.calendar-toolbar .secondary{min-width:43px;padding:9px 12px}.calendar-scroll{overflow-x:auto}.calendar-grid{min-width:700px}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{background:#f4f8fa;border-top:1px solid #e6edf1;border-bottom:1px solid #e6edf1}.calendar-weekdays>div{text-align:center;color:#698194;font-size:13px;font-weight:700;padding:10px}.calendar-weekdays>div:first-child{color:#bd7278}.calendar-days{grid-auto-rows:minmax(112px,auto)}.calendar-day{border-right:1px solid #e8eef2;border-bottom:1px solid #e8eef2;padding:9px 7px;min-width:0}.calendar-day:nth-child(7n){border-right:0}.calendar-day.empty-day{background:#fafcfd}.day-number{font-size:13px;font-weight:700;color:#5b7386;margin-bottom:7px}.calendar-day.today-day .day-number{background:#173f62;color:#fff;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;margin:-3px 0 3px -3px}.calendar-event{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:5px 7px;border-radius:5px;margin-bottom:4px}.approved-event{background:#dff3ef;color:#176f65}.used-event{background:#e8edf1;color:#5e7485}.pending-event{background:#fff0d6;color:#9b681c}.more-events{font-size:12px;color:#7690a1;padding-left:5px}.calendar-legend{display:flex;gap:17px;flex-wrap:wrap;padding:15px 22px;font-size:12px;color:#6f8594}.calendar-legend span{display:flex;align-items:center;gap:6px}.event-key{width:12px;height:12px;border-radius:3px;display:inline-block}@media(max-width:700px){.invite-card{align-items:stretch;flex-direction:column}.invite-actions .primary,.invite-actions .secondary{flex:1}.calendar-toolbar{padding:14px}.calendar-legend{padding:12px 14px}.auth-switch button{font-size:12px}}

/* Authentication page: keep the introduction readable at wide and narrow widths. */
.auth-side{padding:52px clamp(32px,4vw,76px)}
.auth-copy{max-width:520px}
.auth-copy h1{font-size:clamp(32px,3.1vw,43px);word-break:keep-all}
.auth-copy p,.auth-side footer{word-break:keep-all}
@media(max-width:800px){
  .auth{display:block}
  .auth-side{min-height:280px;padding:30px 28px}
  .auth-copy{margin-top:24px}
  .auth-copy h1{font-size:30px}
  .auth-main{padding:36px 24px}
}
@media(max-width:640px){
  .auth-side{min-height:230px;padding:24px 25px}
  .auth-copy h1{font-size:28px}
  .auth-copy p{display:none}
}

/* Annual-leave calendar mark with a continuous link through the date. */
.brandmark{width:38px;height:38px;border-radius:12px;flex:none}
.brandmark svg{width:31px;height:31px;display:block}
