:root{font-family:Arial,system-ui,sans-serif;color:#172d30;background:#f6f8f7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{min-height:100vh;display:flex}.side{width:220px;background:#113632;color:white;display:flex;flex-direction:column;padding:28px 17px;flex:none}.brand{display:flex;gap:12px;align-items:center;margin:4px 8px 45px}.brand strong{display:block;font-size:20px;letter-spacing:.1em}.brand small{display:block;font-size:11px;color:#a8c6bc;margin-top:4px}.logo{background:#c8ecb3;color:#123b31;font-size:25px;font-weight:800;border-radius:10px;width:35px;height:35px;text-align:center;line-height:35px}.nav{display:grid;grid-gap:8px;gap:8px}.nav button{border:0;background:transparent;color:#c2d4cd;text-align:left;padding:13px 17px;border-radius:9px}.nav button.active,.nav button:hover{background:#26584e;color:white}.sidefoot{margin-top:auto;font-size:12px;color:#a9c3ba;padding:10px}main{max-width:1500px;width:100%;padding:34px 44px 80px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.eyebrow{color:#65847a;font-size:13px;margin:0 0 7px}h1{font-size:30px}h1,h2{margin:0}h2{font-size:21px}h3{margin:0 0 15px;font-size:17px}.user{display:flex;gap:10px;align-items:center;font-size:13px;color:#55746a}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#d9eade;color:#155242;font-weight:700}.banner{padding:13px 18px;background:#fff4dd;border:1px solid #f0dfad;color:#72552c;border-radius:10px;font-size:13px;margin-bottom:20px}.quick{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:33px}.quick button{background:#fff;border:1px solid #dce6e0;border-radius:10px;padding:13px 17px;color:#25463e;font-weight:600;box-shadow:0 3px 12px #12352408}.quick button span{color:#21815e;font-size:20px;margin-right:9px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px}.toolbar p{color:#71857f;margin:7px 0 0;font-size:13px}.toolbar label{color:#607a70;font-size:13px}input,select,textarea{border:1px solid #d7e2dc;border-radius:8px;padding:10px 12px;background:#fff;color:#24453b}select{margin-left:8px;min-width:115px}.calendar{background:#fff;border:1px solid #dee8e2;border-radius:12px;overflow:hidden;display:grid;grid-template-columns:repeat(7,1fr);box-shadow:0 6px 24px #15372907}.weekday{text-align:center;padding:13px 0;background:#eff6f1;font-size:12px;color:#59786c;font-weight:700}.cell{border:0;border-top:1px solid #ebf0ed;border-right:1px solid #ebf0ed;background:#fff;min-height:110px;text-align:left;display:flex;flex-direction:column;gap:5px;padding:9px;min-width:0}.cell:nth-child(7n){border-right:0}.cell.selected,.cell:hover{background:#f2faf4}.cell.muted{background:#f9fbfa}.date{color:#345f4f;font-size:13px;font-weight:700;margin-bottom:4px}.event{padding:4px 6px;border-radius:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;width:100%}.event.급여,.tag.급여{background:#e5f5eb;color:#19714a}.event.신고,.tag.신고{background:#e9f0ff;color:#345ba5}.event.휴가,.tag.휴가{background:#fff0e6;color:#ad5b28}.event.일정,.tag.일정{background:#efeaff;color:#7254a4}.detail,.panel{background:#fff;border:1px solid #dfe9e3;border-radius:12px;padding:22px;margin-top:20px}.detail p{color:#70867b}.task{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e8efea;font-size:13px}.task b{font-weight:600}.task small{margin-left:auto;color:#769087}.tag{padding:5px 9px;border-radius:6px;font-size:11px}.day,.tag{font-weight:700}.day{color:#426455}.client,.notice{display:flex;align-items:center;gap:20px;border-top:1px solid #e9f0eb;padding:15px 0}.client div{flex:1 1}.client p{font-size:12px;color:#7a8d82;margin:6px 0 0}.client span{font-size:12px;background:#f0f5f2;padding:5px 8px;border-radius:5px}.client small,.notice small{color:#738b80}.notice{justify-content:space-between}.primary{background:#146c4c;color:white;border:0;border-radius:8px;padding:10px 15px}.overlay{position:fixed;inset:0;background:#102b2699;display:grid;place-items:center;padding:20px}.dialog{background:white;border-radius:14px;padding:28px;width:min(460px,100%);box-shadow:0 25px 70px #0b251b55}.dialog p{color:#667c70;font-size:13px;line-height:1.6}.dialog textarea{width:100%;min-height:115px}.dialogactions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.dialogactions button:not(.primary){border:1px solid #d9e5dc;border-radius:8px;background:white;padding:10px 15px}@media(max-width:800px){.shell{display:block}.side{width:100%;height:auto;padding:12px 15px;display:flex;flex-direction:row;align-items:center;gap:12px;overflow-x:auto}.brand{margin:0;flex:none}.brand small,.sidefoot{display:none}.nav{display:flex;white-space:nowrap;gap:2px}.nav button{padding:9px}main{padding:22px 15px 90px}h1{font-size:24px}.user span:last-child{display:none}.quick{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px;gap:8px;margin-bottom:24px}.quick button{font-size:12px;text-align:left;padding:10px}.toolbar{align-items:flex-start;flex-direction:column}.cell{min-height:78px;padding:5px}.event{font-size:9px;padding:3px}.date{font-size:11px}.detail,.panel{padding:15px}.client{gap:8px;flex-wrap:wrap}.client div{width:100%;flex:none}}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(100%,420px);padding:32px;border-radius:16px;background:white;box-shadow:0 8px 35px #153a3020}.login-card h1{margin:26px 0 8px}.login-card p{color:#52625e}.login-brand{color:#153a30}.login-brand small{display:block}.login-card form{display:grid;grid-gap:16px;gap:16px;margin:26px 0}.login-card label{display:grid;grid-gap:8px;gap:8px;font-weight:600}.login-card input{width:100%;padding:11px;border:1px solid #abb8b2;border-radius:8px}.login-card .primary{padding:12px}.login-error{color:#b42318!important}.session-bar{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding:8px 20px;background:#e8f0eb;font-size:13px}.sign-out{border:1px solid #668076;border-radius:7px;background:white;padding:5px 10px}.setup-message{padding:12vh max(24px,15vw)}.monthcontrol{display:flex;align-items:center;gap:14px}.monthcontrol button,.smallbutton{border:1px solid #d7e2dc;border-radius:7px;background:white;padding:5px 10px;color:#176b4b}.monthcontrol button{font-size:22px;line-height:1}.formrow{display:flex;align-items:center;gap:10px;margin-top:14px;color:#345549;font-size:14px}.formrow input[type=checkbox]{width:auto}.dialog button:disabled{opacity:.5;cursor:not-allowed}.panel>p{color:#70867b}.smallbutton{font-size:12px}.clienttools{display:flex;align-items:center;gap:10px}.field{display:grid;grid-gap:7px;gap:7px;margin-top:14px;color:#345549;font-size:14px;font-weight:600}.field input,.field select,.field textarea{width:100%;margin-left:0}.field textarea{min-height:90px}@media(max-width:800px){.clienttools{width:100%;flex-direction:column;align-items:stretch}.clienttools button,.clienttools input{width:100%}}.staffgroup{margin-top:18px;border:1px solid #e3ebe6;border-radius:10px;padding:0 16px 8px}.staffgrouphead{display:flex;justify-content:space-between;align-items:center;padding:14px 0;color:#244d40}.staffgrouphead span{font-size:12px;background:#edf5f0;border-radius:12px;padding:4px 9px}.staffgroup>p{color:#70867b;font-size:13px}.taskfilters{display:flex;align-items:center;gap:12px}.taskstatus{font-size:11px;font-weight:700;border-radius:10px;padding:4px 8px}.taskstatus.open{background:#e8f4ed;color:#176b4b}.taskstatus.done{background:#eef0f1;color:#66736e}.done-title{text-decoration:line-through;color:#74827d}@media(max-width:800px){.taskfilters{width:100%;flex-direction:column;align-items:stretch}.taskfilters label{display:flex;justify-content:space-between;align-items:center}}.clientfilters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-4px 0 18px;padding:12px 14px;background:#f6f9f7;border:1px solid #e2ebe5;border-radius:10px}.clientfilters label{font-size:12px;color:#5c756b}.clientfilters select{min-width:125px}.clientheader{margin-bottom:12px}@media(max-width:800px){.clientfilters{align-items:stretch}.clientfilters label{display:flex;justify-content:space-between;align-items:center;width:100%}.clientfilters select{width:65%}}.clienttitle{display:flex;align-items:center;gap:12px}.resultcount{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:6px 11px;border-radius:999px;background:#dcefe5;color:#125f43;font-size:16px;font-weight:800;line-height:1}.clienttitle h2{margin:0}@media(max-width:800px){.resultcount{font-size:15px;padding:6px 10px}}.schedulebox{margin:16px 0;padding:14px;border:1px solid #dfe9e3;border-radius:10px;background:#f8faf9}.schedulebox h3{margin:0 0 8px}.payrollcell{cursor:default}.event.payroll-급여{background:#e5f5eb;color:#19714a}.event.payroll-사업소득{background:#fff3d9;color:#8a6418}.event.payroll-원천세{background:#e9f0ff;color:#345ba5}.dialog{max-height:calc(100vh - 40px);overflow-y:auto}.dialogactions{position:-webkit-sticky;position:sticky;bottom:-28px;background:#fff;padding:14px 0 4px;z-index:2;border-top:1px solid #edf1ef}.schedulebox .field:last-child{margin-bottom:4px}@media(max-width:800px){.overlay{padding:10px}.dialog{max-height:calc(100vh - 20px);padding:22px 18px}.dialogactions{bottom:-22px;margin-left:-2px;margin-right:-2px}}.holidayname{font-size:9px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell:nth-child(7n+1) .date,.holidayname{color:#c33b32}.cell:nth-child(7n) .date{color:#3565a8}.payrollcell .holidayname{margin-bottom:2px}.morecount{font-size:10px;color:#58736a;font-weight:700;padding:2px 4px}.payroll-detail-head{display:flex;align-items:center;justify-content:space-between}.payroll-detail-head strong{background:#e4f1e9;color:#176348;border-radius:999px;padding:5px 10px}.payrollrow .worklabel{font-size:12px;color:#5f756c}.completed-row .worklabel,.completed-row b{text-decoration:line-through;color:#87958f}.done-event{text-decoration:line-through;opacity:.55}.tag.payroll-급여{background:#e5f5eb;color:#19714a}.tag.payroll-사업소득{background:#fff3d9;color:#8a6418}.tag.payroll-원천세{background:#e9f0ff;color:#345ba5}@media(max-width:800px){.payrollrow{flex-wrap:wrap}.payrollrow small{margin-left:0;width:100%}}.dayprogress{margin-top:auto;font-size:10px;font-weight:800;color:#176348;background:#e7f3eb;border-radius:5px;padding:3px 5px;text-align:center}.payrollstats{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.payrollstats span{font-size:12px;background:#f1f5f3;border-radius:7px;padding:6px 9px;color:#5d7169}.payrollstats b{color:#173f33;margin-left:3px}.payrollfilter{display:flex;gap:5px}.payrollfilter button{border:1px solid #d8e3dd;background:#fff;border-radius:7px;padding:7px 10px;font-size:12px;color:#526d63}.payrollfilter button.active{background:#176c4d;color:#fff;border-color:#176c4d}.progressbar{height:7px;background:#edf2ef;border-radius:99px;overflow:hidden;margin:13px 0 6px}.progressbar span{display:block;height:100%;background:#2d8a65;border-radius:99px;transition:width .2s}.payroll-detail-head{gap:16px}@media(max-width:800px){.payroll-detail-head{align-items:flex-start;flex-direction:column}.payrollfilter{width:100%}.payrollfilter button{flex:1 1}}.clientname{border:0;background:transparent;padding:0;color:#143b31;font-weight:800;text-align:left;font-size:14px}.clientname:hover{text-decoration:underline}.dialog-wide{width:min(900px,100%)}.detailgrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.detailgrid section{border:1px solid #e2ebe6;border-radius:10px;padding:16px;background:#fbfcfb}.detailgrid section.wide{grid-column:1/-1}.clientinfo{margin:0}.clientinfo div{display:grid;grid-template-columns:120px 1fr;grid-gap:10px;gap:10px;padding:7px 0;border-bottom:1px solid #edf1ef}.clientinfo div:last-child{border-bottom:0}.clientinfo dt{font-size:12px;color:#71847c}.clientinfo dd{margin:0;font-size:13px;font-weight:600;word-break:break-all}.historyrow{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf1ef;font-size:13px}.historyrow span{color:#71847c}.sectionhead{display:flex;justify-content:space-between;align-items:center}.memobox{white-space:pre-wrap;line-height:1.7}.twocol{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}@media(max-width:800px){.detailgrid,.twocol{grid-template-columns:1fr}.detailgrid section.wide{grid-column:auto}.clientinfo div{grid-template-columns:100px 1fr}}.dangerbutton{border:1px solid #e7b7b2!important;color:#a9362d;background:#fff7f6!important;border-radius:8px;padding:10px 15px;margin-right:auto}.leave-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #dfe9e3;border-radius:12px;padding:14px 18px;margin-bottom:18px}.leave-summary-title{display:grid;grid-gap:3px;gap:3px}.leave-summary-title small{color:#71857f}.leave-summary-cards{display:flex;gap:8px;flex-wrap:wrap}.leave-summary-card{display:flex;align-items:center;gap:9px;background:#f2f7f4;border-radius:9px;padding:8px 11px;font-size:12px}.leave-summary-card strong{font-size:16px;color:#176348}@media(max-width:800px){.leave-summary{align-items:flex-start;flex-direction:column}.leave-summary-cards{width:100%}.leave-summary-card{justify-content:space-between;flex:1 1;min-width:45%}}.formhint{font-size:12px!important;color:#6c8178!important;margin:4px 0 8px!important}.vatlist .task{gap:10px}.tag.vat-확정신고{background:#e5f5eb;color:#19714a}.tag.vat-예정신고{background:#e9f0ff;color:#345ba5}.tag.vat-예정고지{background:#fff3d9;color:#8a6418}.previousvat{font-size:11px;background:#f2f4f3;color:#53675f;border-radius:6px;padding:4px 7px}.vatlist .payroll-detail-head{margin-bottom:8px}.vatmode-select{margin-left:4px;min-width:105px;padding:6px 8px;font-size:12px;border-color:#d6e1db}.vatstats{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}.vatstats span{background:#fff;border:1px solid #e0e8e3;border-radius:8px;padding:8px 11px;font-size:12px;color:#5e746b}.vatstats b{font-size:15px;color:#173f33;margin-left:4px}.businesstype{font-size:11px;font-weight:800;border-radius:6px;background:#edf2ef;color:#34594d;padding:5px 7px}.vatrow.completed-row{opacity:.72}@media(max-width:800px){.vatrow{flex-wrap:wrap}.vatrow small{width:100%;margin-left:0}.vatstats span{flex:1 1;min-width:30%;text-align:center}}.businesstype.corporate{background:#e7eefc;color:#315da7}.businesstype.individual{background:#fff0df;color:#9a5b16}.taskstatus.notice{background:#f3eee4;color:#84631f}.notice-stat{background:#fff7e8!important;border-color:#eeddb8!important}.holiday-date{font-weight:800}.cell .holiday-date,.holiday-date{color:#c9342d!important}.vat-summary-inline{display:inline-block;margin-left:8px;font-size:13px;font-weight:800;color:#176348;background:#e8f3ed;border-radius:999px;padding:5px 9px;vertical-align:middle}.vatrow.completed-row{opacity:1;background:#f7f9f8}.vatrow.completed-row b{text-decoration:line-through;color:#82918b}.vatrow.notice-row{background:#fffbf3}.vatrow.notice-row b{color:#76643d}@media(max-width:800px){.vat-summary-inline{display:block;width:max-content;margin:7px 0 0}}