:root{font-family:'Segoe UI','Yu Gothic UI',sans-serif;color:#233e38;background:#f4f7f5;font-size:14px}*{box-sizing:border-box}body{margin:0;display:flex}aside{width:236px;background:#163f36;color:#d3e5df;position:fixed;inset:0 auto 0 0;padding:38px 24px}.brand{color:#fff;text-decoration:none;font-size:32px;font-weight:700;letter-spacing:-1.5px}.brand span{font-size:22px;letter-spacing:-.8px}.brand small{display:block;font-size:10px;letter-spacing:1px;font-weight:400;margin-top:12px;color:#a9c2b8}.nav-label{margin:58px 12px 15px;font-size:10px;letter-spacing:2px;color:#93b1a6}.nav{width:100%;text-align:left;background:transparent;color:#b7cdc4;border:0;margin:5px 0;padding:14px 12px}.nav.active{background:#315a4f;color:#fff}.sidebar-bottom{position:absolute;bottom:35px;line-height:1.9;font-size:12px}.sidebar-bottom small{color:#91b1a3}main{margin-left:236px;padding:0 44px;width:calc(100% - 236px);max-width:1600px}header{height:76px;border-bottom:1px solid #e1e9e4;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7b8d85}.avatar{background:#dfebe4;border-radius:50%;padding:10px;color:#315c49}.development{margin-top:22px;padding:10px 16px;background:#fff5df;border:1px solid #eadcb9;color:#806638;border-radius:7px;font-size:12px}.heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#749080;font-weight:700}h1{font-size:25px;font-weight:600;letter-spacing:.5px;margin:12px 0}h2{font-size:16px;font-weight:600;margin:5px 0 20px}.muted{color:#839188;font-size:12px;line-height:1.8}.date{font-size:13px;color:#6c8074}.grid{display:grid;grid-template-columns:1.45fr 1fr;gap:24px}article{background:#fff;border:1px solid #e2eae4;border-radius:14px;padding:28px;box-shadow:0 4px 18px #21483303}.card-top{display:flex;justify-content:space-between;align-items:center}.card-top h2{margin:0}.badge{background:#eaf2ec;color:#3e7657;padding:6px 13px;border-radius:20px;font-size:11px}.clock-card{text-align:center}.clock{font-size:64px;letter-spacing:3px;font-weight:300;margin:30px 0 0;font-variant-numeric:tabular-nums}.punches{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:26px}button{font:inherit;border:1px solid #d9e4dc;background:#fff;color:#476655;border-radius:7px;padding:12px 18px;cursor:pointer;transition:.15s}button:hover{background:#f0f5f1}button:focus-visible,a:focus-visible{outline:3px solid #9bbba2;outline-offset:3px}button.primary{background:#2c6751;border-color:#2c6751;color:white}button:disabled{opacity:.35;cursor:default}.note{font-size:11px;color:#8d998f;margin-top:19px;line-height:1.8}.info-item{display:flex;gap:13px;padding:18px 0;border-bottom:1px solid #f1f4f1}.info-item:last-child{border:0}.info-item b{font-size:12px}.info-item p{font-size:12px;color:#8a968e;margin:6px 0}.dot{width:7px;height:7px;border-radius:50%;background:#4c8a68;flex-shrink:0;margin-top:5px}.dot.pending{background:#c9ad75}.wide,.lower{margin-top:24px}.empty{padding:26px 0;color:#8b9990;font-size:13px}.entry{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #edf1ed;font-size:12px}.entry p{color:#849188;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.entry time{color:#75877b}.entry:last-child{border-bottom:0}.form-row{display:flex;gap:15px}.form-row label{flex:1}label{display:block;font-size:12px;color:#6b7e71;margin:15px 0}input,textarea{display:block;width:100%;font:inherit;color:#344f3e;background:#fbfcfa;border:1px solid #dce5dc;border-radius:6px;padding:10px;margin-top:8px}textarea{min-height:74px;resize:vertical}#message{position:fixed;bottom:30px;right:30px;background:#234e3d;color:#fff;border-radius:8px;padding:16px 24px;display:none;max-width:80vw}footer{color:#9baa9e;font-size:10px;text-align:center;padding:30px}.actions{display:flex;gap:8px}[hidden]{display:none!important}@media(max-width:900px){aside{width:180px;padding:30px 15px}main{margin-left:180px;width:calc(100% - 180px);padding:0 22px}.grid{grid-template-columns:1fr}.heading{display:block}.date{display:block;margin-top:15px}.clock{font-size:50px}}@media(max-width:600px){body{display:block}aside{position:relative;width:100%;padding:18px;display:flex;flex-wrap:wrap;gap:10px}.brand{width:100%;font-size:24px}.brand small,.nav-label,.sidebar-bottom{display:none}.nav{width:auto;padding:10px;margin:0}main{margin:0;width:100%;padding:0 16px}header{height:55px}h1{font-size:21px}article{padding:20px}.entry{flex-wrap:wrap}}

a.nav{display:block;text-decoration:none}body[data-role="admin"] aside{background:#24394b}body[data-role="admin"] .nav.active{background:#3b5368}body[data-role="admin"] .eyebrow{color:#687f95}

.user-menu{display:flex;align-items:center;gap:14px}.user-menu button{padding:7px 12px;font-size:11px}.login-page{min-height:100vh;display:block;background:linear-gradient(145deg,#edf4ee,#f8f9f6)}.login-main{margin:0 auto;width:100%;max-width:540px;padding:50px 24px;text-align:center}.login-brand{font-size:28px;color:#1b4c3b;text-decoration:none;font-weight:700}.login-card{margin:28px 0;text-align:left;padding:35px}.login-card h1{font-size:26px}.login-card form button{margin-top:12px}.login-card .primary{width:100%}#login-message{line-height:1.8;color:#91643c;font-size:12px}#mfa-secret{font-family:monospace;letter-spacing:1px}

select{display:block;width:100%;font:inherit;color:#344f3e;background:#fbfcfa;border:1px solid #dce5dc;border-radius:6px;padding:10px;margin-top:8px}.leave-entry{padding:20px 0;border-bottom:1px solid #edf1ed}.leave-entry:last-child{border-bottom:0}.leave-entry p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.leave-entry .card-top{gap:12px;flex-wrap:wrap}.leave-warning{padding:10px 12px;background:#fff6e7;color:#85683c;border-radius:6px}.decision-comment{padding:10px 12px;background:#f1f6f2;color:#42674c;border-radius:6px}#leave-panel,#leave-approval-panel{scroll-margin-top:25px}.leave-decision-form{max-width:650px}

.balance-block{padding:18px 0;border-bottom:1px solid #edf1ed}.balance-stats{display:flex;flex-wrap:wrap;gap:30px;margin:15px 0}.balance-stats strong{font-size:30px;font-weight:500;display:block;color:#2b654e}.balance-stats span{font-size:11px;color:#7c8e80}.paid-leave-change{max-width:600px}.checkbox-label{display:flex;align-items:center;gap:10px;line-height:1.8}.checkbox-label input{width:auto;margin:0}h3{font-size:14px;font-weight:600;margin:28px 0 10px}#paid-leave-admin,#paid-leave-panel{scroll-margin-top:25px}@media(max-width:600px){#grant-form .form-row{flex-direction:column;gap:0}.balance-stats{gap:20px}}

aside{display:flex;flex-direction:column;overflow-y:auto}.brand{flex-shrink:0}.nav-label{margin-top:30px}.sidebar-bottom{position:static;margin-top:auto;padding-top:28px;flex-shrink:0}.skip-link{position:fixed;top:-100px;left:20px;z-index:10;background:white;color:#163f36;padding:10px}.skip-link:focus{top:10px}.quick-link{display:block;text-decoration:none;color:#315b44;padding:20px 0;border-bottom:1px solid #edf1ed}.quick-link:last-child{border-bottom:0}.quick-link span{display:block;color:#8a968e;font-size:12px;line-height:1.8;margin-top:7px}.quick-link:hover b{text-decoration:underline}section>article:first-child,section>.grid:first-of-type{margin-top:0}@media(max-width:600px){aside{flex-direction:row;overflow-y:visible}.nav-label{display:none}aside nav{display:flex;flex-wrap:wrap;gap:5px;width:100%}aside .nav{font-size:12px;padding:9px}.user-menu{gap:8px}.user-menu span{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header{gap:12px}header>span{min-width:0;font-size:11px}}

.badge.warning{background:#fff0db;color:#97632a}.obligation-cancel{max-width:600px}details{font-size:12px;line-height:1.8;color:#5a7665}summary{cursor:pointer}

.attendance-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.attendance-filter label{margin:0;min-width:160px}.table-scroll{overflow:auto;margin-top:22px}.attendance-table{border-collapse:collapse;width:100%;min-width:920px;text-align:left;font-size:12px}.attendance-table th,.attendance-table td{padding:16px 12px;border-bottom:1px solid #e7eee7;vertical-align:top;line-height:1.9}.attendance-table thead th{background:#f4f7f3;color:#6c7e70;font-size:11px}.attendance-table tbody th{white-space:nowrap}.attendance-table small{display:block;color:#8a9a8c;font-weight:400}.attendance-table .badge{display:inline-block;margin:3px 0 3px 6px;padding:2px 7px}.month-warning{font-size:11px;color:#986c37;margin:0 0 5px}.month-request{margin-bottom:6px}.day-links{display:flex;flex-direction:column;margin-top:8px}.day-links a,.attendance-table a{color:#3f7358}.future-row{background:#fafcf9}.attendance-table details{min-width:180px}

.request-dialog{border:0;border-radius:18px;padding:24px;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;box-shadow:0 24px 80px #102d2766;color:var(--ink,#243c35)}
.request-dialog::backdrop{background:#102d2777}
.request-dialog h2{margin:0}.request-dialog .card-top{gap:16px}.request-dialog [hidden]{display:none}.request-dialog form{display:grid;gap:14px}.day-links button{font-size:12px;padding:7px 10px}.request-dialog button:disabled{opacity:.6;cursor:wait}

.month-cancel{font-size:11px;padding:4px 8px;margin-top:6px}.month-correction-status{margin-bottom:6px}.request-context{background:#f2f6f2;border-radius:10px;padding:12px;font-size:12px;line-height:1.8}.day-links{gap:6px}

.correction-review{background:#f4f7f3;border-radius:10px;padding:10px 14px;margin-top:12px;max-width:650px}.correction-review p{font-size:12px;margin:5px 0;line-height:1.8}

.attendance-display-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}.attendance-display-filter label{margin:0;min-width:220px}.attendance-display-filter p{margin:0}.attendance-display-filter button{align-self:flex-end}

.work-time-summary{border-top:1px solid #e7eee7;margin-top:20px;padding-top:4px}.work-time-summary .balance-stats strong{font-size:22px}.work-time-summary h3{margin-top:20px}
#rest-correction-dialog{width:min(680px,calc(100vw - 32px))}.rest-interval{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.rest-interval>button{grid-column:1/-1;justify-self:start;white-space:nowrap}.leave-cancellation-request,.leave-cancellation-decision,.leave-revoke{margin:12px 0;padding:12px;border:1px solid #e2eae4;border-radius:8px}@media(max-width:600px){.rest-interval{grid-template-columns:1fr}}
/* Company leave: match the shared attendance tables and form rhythm. */
#company-leave-content{--leave-control-height:40px;font-size:13px;line-height:1.8}
#company-leave-content details{border-top:1px solid #e2eae4;padding:20px 0}
#company-leave-content summary{font-size:14px;font-weight:600;cursor:pointer}
#company-leave-content details form{margin-top:20px}
#company-leave-content h3{margin:28px 0 12px}
#company-leave-content .form-row{align-items:flex-end;flex-wrap:wrap;gap:16px;margin:20px 0}
#company-leave-content .form-row label{flex:1 1 180px;min-width:0;margin:0}
#company-leave-content .form-row>button{flex:0 0 auto}
#company-leave-content input:not([type=checkbox]),#company-leave-content select{height:var(--leave-control-height);font-size:13px;line-height:20px;padding:9px 12px}
#company-leave-content button{min-height:var(--leave-control-height);font-size:13px;line-height:20px;padding:9px 16px;white-space:nowrap}
#company-leave-content textarea{font-size:13px;line-height:1.8;min-height:88px}
#company-leave-content .table-scroll{margin:16px 0 20px;border:1px solid #e2eae4;border-radius:8px}
#company-leave-content table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.7}
#company-leave-content th,#company-leave-content td{height:64px;padding:12px 16px;vertical-align:middle;border-bottom:1px solid #e7eee7}
#company-leave-content thead th{height:44px;padding:10px 16px;background:#f4f7f3;color:#6c7e70;font-size:11px;font-weight:600;white-space:nowrap}
#company-leave-content tbody th{font-weight:500}
#company-leave-content tbody tr:last-child>th,#company-leave-content tbody tr:last-child>td{border-bottom:0}
#company-leave-content table input:not([type=checkbox]),#company-leave-content table select{margin:0}
#company-leave-content table input[type=number]{width:96px;min-width:80px;max-width:130px;font-variant-numeric:tabular-nums}
#company-leave-content table input[type=date]{min-width:154px}
#company-leave-content table input[name=exception_note]{min-width:190px}
#company-leave-content table select{min-width:75px}
#company-leave-content .leave-inline-field{display:flex;align-items:center;gap:10px}
#company-leave-content .leave-inline-field>span{white-space:nowrap;color:#7b8d80;font-size:12px}
#company-leave-content table label{display:inline-flex;align-items:center;gap:8px;margin:0;font:inherit;color:inherit;white-space:nowrap}
#company-leave-content input[type=checkbox]{display:inline-block;width:16px;height:16px;margin:0;vertical-align:middle;accent-color:#2c6751;flex:0 0 16px}
#company-leave-content table small{display:block;margin-top:4px;font-size:11px;line-height:1.7;font-weight:400;color:#839188}
#company-leave-content table .badge{display:inline-flex;align-items:center;min-height:26px;padding:3px 10px;line-height:20px;white-space:nowrap}
#company-leave-content table td>p{margin:6px 0;font-size:12px;line-height:1.7}
#company-leave-content [hidden]{display:none}
.leave-plan-table{min-width:900px}.leave-profile-table{min-width:900px}
.leave-batch-review{margin-top:28px}
#leave-selected-count{margin:16px 0 12px;color:#6b7e71;font-size:12px}
#open-leave-batch{margin-bottom:20px}
#leave-batch-dialog{width:min(650px,calc(100vw - 32px))}
#leave-batch-dialog label{margin:0}
#leave-batch-dialog button{min-height:40px}
#leave-batch-confirm-list{max-height:220px;overflow:auto}
@media(max-width:600px){#company-leave-content .form-row{gap:12px}#company-leave-content .form-row label,#company-leave-content .form-row>button{flex-basis:100%}#company-leave-content th,#company-leave-content td{padding:12px}}
#procedure-notification{margin-top:20px;padding:14px 18px;border:1px solid #d8e6dd;border-radius:8px;background:#edf5ee;font-size:13px;line-height:1.7}#procedure-notification a{color:#315c49;text-decoration:none}#procedure-notification a:hover{text-decoration:underline}.hr-member-table{min-width:800px}.hr-member-table button,#hr-documents button,#members button{min-height:40px;padding:9px 16px}.hr-dialog-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}#employment-dialog{width:min(600px,calc(100vw - 32px))}#employment-dialog label{margin:0}#hr-documents details{padding:16px 0;border-bottom:1px solid #e2eae4}#hr-documents form{margin-top:16px}#hr-documents .form-row{align-items:flex-end;flex-wrap:wrap}#hr-documents .form-row label{min-width:180px}#hr-documents table small{white-space:pre-wrap}#hr-documents .attendance-table{min-width:750px}.hr-document-link{display:inline-block;color:#315c49;padding:10px 0}.hr-confirm-document{margin-top:12px}#my-procedures details{margin-top:24px;border-top:1px solid #e2eae4;padding-top:20px}#my-procedures .leave-entry{padding:20px 0}#hr-documents input:not([type=checkbox]):not([type=file]),#hr-documents select{min-height:40px}#hr-documents input[type=file]{padding:10px}#hr-current-file{display:block;margin-top:8px}#hr-documents button,#my-procedures button{min-height:40px}#members [hidden],#hr-documents [hidden]{display:none}@media(max-width:600px){#hr-documents .form-row{flex-direction:column;gap:0}#hr-documents .form-row label{width:100%}.hr-dialog-actions>button{flex:1}}
#hr-documents a,#my-procedures a{color:#315c49}#my-procedures .hr-document-link[aria-busy=true]{opacity:.6;pointer-events:none}
#hr-documents input[type=checkbox],#my-procedures input[type=checkbox],#employment-dialog input[type=checkbox]{accent-color:#2c6751}
#administrator-management summary{font-weight:600;cursor:pointer}#administrator-management form{margin-top:16px}#administrator-management .administrator-status{max-width:600px}#administrator-management .form-row{align-items:flex-end;flex-wrap:wrap}#administrator-management .form-row label{min-width:180px}#administrator-management button{min-height:40px}#administrator-management input,#administrator-management select{min-height:40px}#administrator-management details{padding:16px 0;border-bottom:1px solid #e2eae4}

.hr-documents-header{gap:16px;flex-wrap:wrap}.hr-documents-header button{margin-left:auto;white-space:nowrap}
#hr-document-dialog{width:min(680px,calc(100vw - 32px))}#hr-document-dialog form{margin-top:20px}#hr-document-dialog label{margin:0}#hr-document-dialog .form-row label{flex:1}#hr-document-error{color:#a33131;margin:0}

.hr-document-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #dce5df;margin:24px 0 20px;padding-bottom:0}.hr-document-tabs [role=tab]{flex-shrink:0;white-space:nowrap;border:0;border-bottom:3px solid transparent;border-radius:8px 8px 0 0;background:transparent;color:#66766c;padding:12px 18px}.hr-document-tabs [role=tab][aria-selected=true]{background:#edf4ef;border-bottom-color:#315c49;color:#234b38;font-weight:700}.hr-document-tabs [role=tab]:focus-visible{outline:2px solid #315c49;outline-offset:-3px}

#company-leave-content .leave-read-value{display:inline-block;color:#263e31;font-size:13px;line-height:1.8;font-variant-numeric:tabular-nums}#company-leave-content label>.leave-read-value{display:block;margin-top:6px}#company-leave-content [role=tabpanel]>.card-top{gap:16px;margin-bottom:16px}#company-leave-content [role=tabpanel]>.card-top p{margin:0}

.leave-profile-dialog{width:min(1100px,calc(100vw - 32px))}#company-leave-content .leave-plan-table{min-width:1100px}#leave-profile-error{color:#a33131}

.employee-filter{align-items:flex-end;flex-wrap:wrap;gap:16px;margin:0 0 20px}.employee-filter label{margin:0;flex:1;min-width:180px}.employee-filter button{min-height:40px}.balance-stats strong.leave-shortfall{color:#c03636}#employee-management-tabs [hidden],#admin-leave-tabs [hidden]{display:none}#employment-error{color:#a33131}

.procedure-phase-filter{align-items:flex-end;gap:20px;margin:0 0 18px}.procedure-phase-filter label{margin:0;min-width:180px}.procedure-phase-filter p{margin:0;padding-bottom:10px}

.invitation-header{gap:16px;flex-wrap:wrap;margin-bottom:20px}.invitation-header button{margin-left:auto;white-space:nowrap}#invite-error{color:#a33131;margin:0}#invite-dialog form label{margin:0}

#administrator-management [hidden]{display:none}#administrator-management [data-admin-error]{color:#a33131}#administrator-management .request-dialog label{margin:0}

#company-leave-content>[role=tabpanel]{background:#fff;border:1px solid #e2eae4;border-radius:14px;padding:28px}#admin-leave-tabs>.hr-document-tabs{margin-top:0}

#work-rule-tabs [hidden]{display:none}

.work-rule-read-value{display:block;color:#263e31;font-size:15px;margin-top:6px}.annual-holiday-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.holiday-month{border:1px solid #dce5df;border-radius:10px;padding:14px}.holiday-month h3{margin:0 0 10px}.holiday-week,.holiday-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.holiday-week{font-size:11px;margin-bottom:6px;color:#6c7e70}.holiday-date{padding:8px 0;min-width:0;border:1px solid transparent;font-size:12px}.holiday-date.work{background:#eef5ef;color:#28573d}.holiday-date.holiday{background:#edf2ff;color:#31599e}.holiday-date.legal_holiday{background:#fff0ef;color:#ad3737}.holiday-date.exception{border:2px dashed currentColor}.holiday-date:disabled{opacity:1;cursor:default}.holiday-weekday{display:inline-flex;align-items:center;margin:8px 14px 8px 0;gap:6px}.holiday-weekday input{width:16px}.holiday-legend{font-size:12px;color:#62756a}#annual-holiday-error,#work-rule-error{color:#a33131}@media(max-width:1000px){.annual-holiday-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.annual-holiday-grid{grid-template-columns:1fr}}

#holiday-year-selector{align-items:flex-end;flex-wrap:wrap;gap:12px;margin:20px 0}#holiday-year-selector label{flex:0 1 180px;margin:0}#holiday-year-selector input{height:40px;margin-top:8px}#holiday-year-selector button{flex:0 0 auto;height:40px;min-height:40px;padding:9px 18px;line-height:20px;align-self:flex-end;white-space:nowrap}

.pending-text,.balance-stats strong.pending-text,.attendance-table .badge.pending-text{color:#bd3030;font-weight:600}#attendance-management-tabs{min-width:0}#attendance-management-tabs>section>article{min-width:0}#attendance-management-tabs .attendance-filter{gap:12px;align-items:flex-end}#attendance-management-tabs .attendance-filter label{flex:1 1 180px;min-width:160px;max-width:360px;margin:0}#attendance-management-tabs .attendance-filter input,#attendance-management-tabs .attendance-filter select,#attendance-management-tabs .employee-filter input,#attendance-management-tabs .employee-filter select{height:40px;min-height:40px}#attendance-management-tabs .attendance-filter button,#attendance-management-tabs .employee-filter button{flex:0 0 auto;min-height:40px;padding:9px 16px;line-height:20px;white-space:nowrap}#attendance-management-tabs .balance-stats{gap:20px;margin:20px 0}#attendance-management-tabs .balance-stats>div{flex:1 1 170px;min-width:0}#attendance-management-tabs .balance-stats strong{font-size:24px;line-height:1.5;overflow-wrap:anywhere}#attendance-management-tabs .attendance-table{min-width:960px;table-layout:auto}#attendance-panel-daily .attendance-table{min-width:1160px}#attendance-management-tabs .attendance-table td,#attendance-management-tabs .attendance-table th{padding:14px 16px;line-height:1.8}#attendance-management-tabs .attendance-table tbody th{white-space:normal;min-width:150px;overflow-wrap:anywhere}#attendance-management-tabs .attendance-table .day-links{gap:8px}#attendance-management-tabs .attendance-table button{min-height:36px;padding:7px 12px;font-size:12px}#attendance-management-tabs .attendance-display-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}#attendance-management-tabs .attendance-display-filter label{margin:0;flex:0 1 300px}#attendance-management-tabs .attendance-display-filter button{min-height:40px;padding:9px 16px}#attendance-management-tabs .attendance-display-filter p{flex-basis:100%;margin:0}.attendance-approval-dialog{width:min(760px,calc(100vw - 32px))}.attendance-approval-dialog>.card-top{gap:16px;align-items:center}.attendance-approval-dialog>.card-top h2{margin:0}.approval-item{padding:18px 0;border-bottom:1px solid #e2eae4}.approval-item h3{margin:0 0 12px}.approval-reason{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.approval-item form{margin-top:16px}#attendance-approval-error{color:#bd3030;white-space:pre-wrap}#attendance-approval-message{color:#315c49}@media(max-width:600px){#attendance-management-tabs .attendance-filter label{flex-basis:100%;max-width:none}#attendance-management-tabs .attendance-filter button{flex:1 1 auto}#attendance-management-tabs .balance-stats>div{flex-basis:140px}}

/* tiqlo brand system — lavender / lilac / pink / navy */
:root{--brand:#7b6ef6;--brand-ink:#594ac4;--lilac:#dccde6;--pink:#f0b3bd;--ink:#1f2350;--body-ink:#283044;--muted:#697084;--line:#e9e6f1;--surface:#f7f5fb;color:var(--body-ink);background:var(--surface);font-family:'Segoe UI','Yu Gothic UI','Meiryo',sans-serif;line-height:1.6}
body{background:var(--surface)}aside,body[data-role="admin"] aside{width:248px;background:#fff;color:var(--body-ink);border-right:1px solid var(--line);padding:32px 20px;gap:0}
.brand,.login-brand{display:flex;align-items:center;justify-content:center;gap:10px;color:#202734;text-decoration:none;letter-spacing:0;line-height:1}
.brand{justify-content:flex-start;padding:0 12px;width:auto}.tiqlo-mark{display:block;width:49px;height:58px;flex-shrink:0}.tiqlo-wordmark{display:block;font-family:'Arial Rounded MT Bold','Segoe UI',sans-serif;font-size:38px!important;font-weight:750;letter-spacing:-2px!important;line-height:.95}.tiqlo-wordmark small,.brand .tiqlo-wordmark small{display:block;text-align:center;color:#283044;font-size:10px;font-weight:600;letter-spacing:4px;margin:8px 0 0;padding-left:4px}
.nav-label{color:#8b869e;letter-spacing:1.8px;margin:32px 14px 12px;font-size:10px}a.nav{display:flex;align-items:center;gap:12px;min-height:46px;border-radius:9px;color:#4c5065;margin:5px 0;padding:11px 14px;font-size:13px;line-height:1.5}.nav-icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}a.nav:hover{background:#f7f5fd;color:var(--brand-ink)}a.nav.active,body[data-role="admin"] .nav.active{background:#efebff;color:var(--brand-ink);font-weight:600}.sidebar-bottom{border-top:1px solid var(--line);padding:20px 14px 0;font-size:12px;color:#55596c}.sidebar-bottom small{color:#858096}
main{margin-left:248px;width:calc(100% - 248px);padding:0 36px;max-width:1800px;min-width:0}header{height:76px;border-color:var(--line);color:var(--muted)}.user-menu{color:#4d4b62}.development{background:#f1edf9;border:1px solid #e5def1;color:#736581;border-radius:9px}.heading{margin:30px 0 26px;gap:20px}.eyebrow,body[data-role="admin"] .eyebrow{color:var(--brand-ink);letter-spacing:2px}h1,h2,h3{color:#232a3a}h1{font-size:26px;font-weight:700;letter-spacing:.02em}h2{font-size:16px}article,#company-leave-content>[role=tabpanel]{border:1px solid #eeebf4;border-radius:18px;box-shadow:0 5px 24px #25203c05;background:white}article{padding:26px}.muted,.note,.date,.empty{color:var(--muted)}.note{font-size:12px}.entry,.leave-entry,.balance-block,.info-item,#administrator-management details{border-color:var(--line)}.entry p,.entry time,.info-item p,.quick-link span{color:var(--muted)}
button{border-color:#e3dfec;color:#555166;border-radius:9px;background:white;line-height:1.5;min-height:38px;transition:background .15s,box-shadow .15s}button:hover{background:#f4f1fc;border-color:#ccc3eb}button.primary{background:var(--brand);border-color:var(--brand);color:white;box-shadow:0 3px 9px #7b6ef619}button.primary:hover{background:#6b5de5;border-color:#6b5de5}button:disabled{opacity:.45;box-shadow:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b9afff;outline-offset:3px}label{color:#656176}input,textarea,select{background:#fdfcfe;border-color:#e1ddeb;color:#283044;border-radius:8px;min-height:40px}input[type=checkbox],input[type=radio]{min-height:0;accent-color:var(--brand)}input:focus,textarea:focus,select:focus{border-color:#9e90ee}.badge{background:#f0ecfa;color:var(--brand-ink);font-weight:500}.balance-stats strong{color:var(--brand-ink)}.balance-stats span{color:var(--muted)}.balance-stats>div{border-left:3px solid #e3dcfa;padding-left:16px}.clock{color:#272b40;font-weight:500;font-size:64px;letter-spacing:1px}.clock-card{background:linear-gradient(155deg,#fff 70%,#f6f2ff)}.dot{background:var(--brand)}.dot.pending{background:var(--pink)}.quick-link{color:var(--brand-ink);border-color:var(--line)}.decision-comment,#attendance-approval-message{background:#f4f0fc;color:#62508c}.leave-warning{background:#fff4f2;color:#8a5354}.hr-document-tabs{border-color:var(--line);gap:7px}.hr-document-tabs [role=tab]{color:#716981;border-radius:9px 9px 0 0}.hr-document-tabs [role=tab][aria-selected=true]{background:#efebff;color:var(--brand-ink);border-bottom-color:var(--brand)}.hr-document-tabs [role=tab]:focus-visible{outline-color:var(--brand)}
.table-scroll{border:1px solid var(--line);border-radius:12px}table{color:#3a3e50}thead th{background:#f7f5fb!important;color:#736b84!important;font-weight:600}td,th{border-color:var(--line)!important}tbody tr:hover{background:#fcfaff}.attendance-table tbody th{color:#454158}.attendance-table .badge{white-space:nowrap}#company-leave-content .leave-read-value,.work-rule-read-value{color:#39364e}.holiday-month{border-color:var(--line);border-radius:12px}.holiday-date.work{background:#f2effb;color:#6b5c9a}.holiday-date.holiday{background:#edf2ff;color:#31599e}.holiday-date.legal_holiday{background:#fff0ef;color:#ad3737}.holiday-week,.holiday-legend{color:var(--muted)}
.request-dialog,dialog{border:1px solid var(--line);border-radius:20px;color:var(--body-ink);box-shadow:0 24px 80px #29213f26;padding:28px}dialog::backdrop{background:#25223d55;backdrop-filter:blur(3px)}#message{background:#393151;border-radius:12px;box-shadow:0 8px 30px #25203c22;z-index:20}footer{color:#9590a5;font-size:11px}.pending-text,.balance-stats strong.pending-text,.attendance-table .badge.pending-text,.balance-stats strong.leave-shortfall{color:#bd3030}
.login-page{background:radial-gradient(ellipse at 15% 15%,#e9e2ff 0,transparent 45%),radial-gradient(ellipse at 95% 90%,#f8e3eb 0,transparent 45%),#f7f5fb}.login-main{margin:0 auto;width:100%;max-width:520px;padding:44px 24px}.login-brand{gap:14px}.login-brand .tiqlo-mark{width:62px;height:70px}.login-brand .tiqlo-wordmark{font-size:48px!important}.login-card{padding:32px;margin:28px 0 18px;border-radius:22px;box-shadow:0 12px 45px #6d579211}.login-card h1{font-size:24px}.login-card .development{font-size:11px}.login-card label{font-size:12px}.login-card input,.login-card select{min-height:46px}.login-card button.primary{min-height:46px}#login-message{color:#a04c54}.login-main>.muted{letter-spacing:.08em}.skip-link{color:var(--brand-ink)}
@media(max-width:1100px){aside,body[data-role="admin"] aside{width:220px;padding:28px 15px}main{margin-left:220px;width:calc(100% - 220px);padding:0 24px}.annual-holiday-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body{display:block}aside,body[data-role="admin"] aside{position:relative;inset:auto;width:100%;padding:18px 16px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{padding:0 4px;gap:8px}.brand .tiqlo-mark{width:36px;height:42px}.brand .tiqlo-wordmark{font-size:30px!important}.brand .tiqlo-wordmark small{font-size:8px;margin-top:5px}.nav-label,.sidebar-bottom{display:none}aside nav{display:flex;overflow-x:auto;gap:6px;margin-top:16px;padding-bottom:3px}a.nav{width:auto;flex:0 0 auto;min-height:40px;padding:9px 12px;margin:0;gap:7px;font-size:12px}.nav-icon{width:17px;height:17px}main{margin:0;width:100%;padding:0 16px}header{height:60px}.heading{margin:24px 0 20px}h1{font-size:22px}.grid{grid-template-columns:1fr}article{padding:20px;border-radius:14px}.form-row{flex-wrap:wrap}.form-row label{min-width:140px}.annual-holiday-grid{grid-template-columns:1fr}.login-main{padding:28px 20px}.login-card{padding:24px}.request-dialog,dialog{padding:22px}.balance-stats{gap:20px}.clock{font-size:52px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Brand links and form accents shared by all functional screens. */
a{color:var(--brand-ink)}a:hover{color:#4c3aa8}.day-links a,#hr-documents a,#my-procedures a,#procedure-notification a,.hr-document-link{color:var(--brand-ink)}#procedure-notification{background:#f0ecfb;border-color:#e1d8f5;color:#625080}#company-leave-content input[type=checkbox],#hr-documents input[type=checkbox],#my-procedures input[type=checkbox],#employment-dialog input[type=checkbox]{accent-color:var(--brand)}button.primary{background:#6e60dc;border-color:#6e60dc}.user-menu button{min-height:34px}

.punch-reminders{margin-bottom:24px}.missing-punch{border-left:4px solid #c45b75;padding:22px 24px;margin:12px 0}.missing-punch h2{color:#9f3c55;margin:0}.missing-punch p{margin:8px 0 16px}.missing-punch .actions{flex-wrap:wrap}#punch-missing-dialog{width:min(560px,calc(100vw - 32px))}#punch-missing-error{white-space:pre-wrap}

body[data-role="employee"]{
  --brand:#6354c7;
  --brand-ink:#6354c7;
  --role-tint:#f0ecff;
  --role-hover:#5040ab;
}
body[data-role="admin"]{
  --brand:#233a66;
  --brand-ink:#233a66;
  --role-tint:#e9eff8;
  --role-hover:#192c51;
  --surface:#f5f7fb;
  --line:#e2e8f2;
}
body[data-role] header{
  background:var(--role-tint);
  color:var(--brand-ink);
  padding-inline:clamp(8px,2vw,20px);
}
body[data-role] a.nav:is(:hover,.active),
body[data-role] .hr-document-tabs [role=tab][aria-selected=true]{
  background:var(--role-tint);
  color:var(--brand-ink);
}
body[data-role] button.primary{
  background:var(--brand);
  border-color:var(--brand);
  box-shadow:0 3px 9px color-mix(in srgb,var(--brand) 15%,transparent);
}
body[data-role] button.primary:hover:not(:disabled){
  background:var(--role-hover);
  border-color:var(--role-hover);
}
body[data-role] :is(button,a,input,select,textarea):focus-visible{
  outline-color:var(--brand);
}
