:root{--navy:#142d3c;--ink:#203642;--muted:#74838b;--line:#e3e9eb;--bg:#f4f7f7;--green:#13785f;--soft:#e9f4ee;--danger:#b44343;--amber:#a47725;font-family:"Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #75b6a0;outline-offset:2px}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:9px 13px;font-weight:600;line-height:1.4}button:hover{background:#f0f5f3}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#0c624d}.danger{color:var(--danger);border-color:#e4c4c4}.danger.solid{color:white;background:var(--danger)}.plain{border-color:transparent;background:transparent}.small{padding:5px 9px;font-size:12px}.icon-button{width:35px;padding:8px}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#c2d0d6;position:fixed;inset:0 auto 0 0;width:220px;padding:32px 18px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 32px;color:white}.brand-icon{display:grid;place-items:center;background:#2d5a61;width:35px;height:35px;border-radius:10px;color:#addec9;font-size:22px}.brand strong{font-size:20px;letter-spacing:-1px}.brand small{display:block;color:#a9bcc6;font-size:10px;letter-spacing:1.5px;margin-top:5px}.nav-caption{font-size:10px;letter-spacing:1.4px;padding:12px 14px;color:#839ea9}.nav{display:flex;flex-direction:column;gap:7px}.nav button{background:transparent;border:none;color:#bdcbd2;display:flex;gap:12px;align-items:center;text-align:left;border-radius:8px;padding:13px 14px;font-weight:400}.nav button:hover{background:#203e4d}.nav button.active{background:#2b4b53;color:white;font-weight:700;box-shadow:inset 3px 0 #8ed1b0}.nav-icon{width:19px;height:19px;display:inline-grid;place-items:center}.nav-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6}.sidebar-footer{margin-top:auto;border-top:1px solid #35505e;padding:20px 12px 0;font-size:11px;color:#91abb7;line-height:1.8}.local-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8dcba4;margin-right:5px}.workspace{grid-column:2;min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);background:white;display:flex;justify-content:space-between;align-items:center;padding:0 36px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;gap:16px;align-items:center;font-size:12px;color:var(--muted)}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#eff3f1;color:#365849;font-weight:bold}.content{max-width:1600px;margin:0 auto;padding:30px 36px 48px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--green);font-weight:700;margin-bottom:7px}h1{font-size:27px;letter-spacing:-1px;margin:0 0 8px;font-weight:700}h2{font-size:17px;margin:0}h3{font-size:14px;margin:0}p{line-height:1.7}.subtitle{font-size:12px;color:var(--muted);margin:0}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sample-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d6e5dc;background:#eef5ef;padding:15px 19px;border-radius:10px;margin-bottom:22px}.sample-banner strong{font-size:12px;color:#3d6350}.sample-banner p{font-size:11px;color:#718276;margin:4px 0 0}.sample-banner button{white-space:nowrap;border-color:#bfd2c4;background:transparent;color:#4b6856}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:19px 22px}.stat-label{color:var(--muted);font-size:11px;margin-bottom:10px}.stat-number{font-size:27px;letter-spacing:-1px;font-weight:700}.stat-number small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:5px;color:var(--muted)}.stat-note{font-size:10px;color:var(--muted);margin-top:9px}.stat.green .stat-number{color:var(--green)}.stat.red .stat-number{color:var(--danger)}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.panel-body{padding:22px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;flex-wrap:wrap}.month-control{display:flex;gap:7px;align-items:center}.month-control input{font-size:18px;border:none;background:transparent;width:165px;padding:5px;color:var(--ink);font-weight:700}.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-label{font-size:11px;color:var(--muted);margin-right:4px}.pills{display:flex;border:1px solid var(--line);padding:3px;border-radius:8px;gap:3px;background:white}.pills button{border:0;background:transparent;font-size:11px;padding:6px 11px;color:var(--muted)}.pills button.selected{background:var(--soft);color:var(--green)}input,select,textarea{border:1px solid #d9e2e4;background:white;border-radius:7px;padding:9px 10px;color:var(--ink);min-width:0}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px;vertical-align:middle}label.check{display:flex;align-items:center;gap:6px;font-size:11px;color:#637780}textarea{resize:vertical;min-height:76px}.calendar{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekday{padding:12px 10px;text-align:center;font-size:10px;color:#819099;background:#fafbfb;border-bottom:1px solid var(--line);font-weight:700}.weekday.sun,.day.sun .date{color:#b56964}.weekday.sat,.day.sat .date{color:#6f92a1}.day{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:135px;position:relative;padding:11px 10px 8px;cursor:pointer}.day:nth-child(7n){border-right:0}.day:hover{background:#f8fbf9}.day.outside{background:#fafbfb;cursor:default}.day.outside .date{color:#bfc9cd}.day.today{background:#f0f7f1}.day-top{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:10px;min-height:23px}.date{font-size:12px;font-weight:600;width:23px;height:23px;display:grid;place-items:center}.today .date{border-radius:50%;background:var(--green);color:white!important}.holiday{font-size:9px;color:#ba7770;text-align:right}.cal-events{display:flex;flex-direction:column;gap:4px}.cal-event{font-size:10px;line-height:1.55;padding:3px 5px;border-radius:4px;background:#f0f5f2;color:#486456;overflow-wrap:anywhere}.cal-event.absent{color:#a5534e;background:#fbf0ef}.cal-event.early{color:#9c7035;background:#faf3e6}.cal-event.health{color:#6c6393;background:#f1eff9}.event-reason{font-size:9px;color:#7f8589}.event-symbol{font-weight:700}.calendar-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;font-size:10px;color:var(--muted);flex-wrap:wrap}.legend{display:flex;gap:12px;flex-wrap:wrap}.legend i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a4baa9;margin-right:4px}.legend i.absent{background:#d3928b}.legend i.health{background:#b4a9d2}.legend i.early{background:#d4b479}.hint{font-size:11px;line-height:1.7;color:var(--muted)}.notice{padding:12px 16px;background:#f8f4e9;color:#8f7444;font-size:11px;border-radius:7px;line-height:1.7;margin:0 0 16px}.empty{padding:60px 24px;text-align:center;color:var(--muted)}.empty strong{display:block;color:#455d67;font-size:17px;margin-bottom:9px}.empty p{font-size:12px;margin-bottom:22px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}th{background:#f8faf9;color:#77878f;font-size:10px;font-weight:600;padding:13px 14px;border-bottom:1px solid var(--line);text-align:center}td{padding:14px;border-bottom:1px solid #edf0f1;text-align:center}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfb}td.name{text-align:left;font-weight:600}td.left{text-align:left}.muted{color:#97a3a9}.badge{font-size:10px;padding:3px 7px;border-radius:4px;background:#f0f3f4;color:#78878e;display:inline-block}.badge.team{background:#edf4f0;color:#50715f}.badge.warn{background:#faf1e3;color:#9c7740}.badge.sample{background:#f0f3f4;color:#8f9ba0;font-size:9px;margin-left:5px}.search{width:220px;font-size:12px}.table-summary{font-size:11px;color:var(--muted);padding:16px 20px}.matrix{font-size:10px;table-layout:fixed;min-width:1350px}.matrix th,.matrix td{padding:0;border:1px solid #e9eeee;height:32px;width:31px}.matrix .identity{width:115px;position:sticky;left:0;background:white;z-index:2;text-align:left;padding-left:12px}.matrix th.identity{z-index:3;background:#f8faf9}.matrix th{font-size:9px}.matrix td button{border:0;background:none;width:100%;height:31px;padding:0;border-radius:0;font-weight:400;font-size:11px}.matrix td button:hover{background:#e2f0e8}.matrix .nonwork{background:#f6f8f8;color:#acb8be}.matrix .future{color:#a3b2b9}.matrix .today-col{background:#eef6f0}.matrix .status-결근{color:#b1524c;background:#fcf0ee}.matrix .status-조퇴{color:#a87a3c;background:#fbf4e8}.matrix .status-연차,.matrix .status-경조,.matrix .status-병무{color:#4d846a;background:#eff6f0}.matrix .status-보건{color:#82709f;background:#f2eff7}.matrix .matrix-role{display:block;font-size:9px;font-weight:400;color:#8d9aa1;margin-top:3px}.rate{font-weight:bold;color:var(--green)}.report-total td{background:#f1f6f2;font-weight:bold}.definition{display:grid;grid-template-columns:1fr 1fr;gap:15px}.definition>div{background:#f6f9f7;border-radius:8px;padding:15px}.definition p{font-size:11px;margin:6px 0;color:#7c8c85}.org-root{margin:2px auto 30px;max-width:460px;text-align:center;position:relative}.org-person{border:1px solid var(--line);background:white;padding:12px 15px;border-radius:7px;display:flex;justify-content:space-between;gap:10px;align-items:center;text-align:left}.org-person small{display:block;font-size:10px;font-weight:400;color:#8b989f;margin-top:5px}.org-person .role{font-size:10px;color:#6c8277}.org-common{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:28px}.org-common .org-person{min-width:170px}.org-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.org-team{border:1px solid #dfe7e3;border-radius:9px;overflow:hidden;background:#fbfcfb}.org-team-head{background:#eff5f0;padding:17px;display:flex;justify-content:space-between;align-items:center}.org-team-head strong{font-size:15px}.org-team-head small{font-size:10px;color:#7b8e80}.org-unit{padding:15px 14px 5px}.org-unit-label{font-size:10px;font-weight:600;color:#829187;margin:0 0 9px;padding-left:2px}.org-unit .org-person{margin-bottom:8px}.org-team.disabled{border-style:dashed;background:#fafbfb}.org-team.disabled .org-team-head{background:#f2f4f4;color:#79898f}.disabled-placeholder{text-align:center;padding:30px 15px;color:#9aa7ac;font-size:11px;line-height:1.8}.org-leader{padding:14px 14px 0}.org-leader .org-person{border-color:#cadfd1}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel{margin:0}.day-checks{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.date-row{display:grid;grid-template-columns:140px 1fr auto;gap:8px;margin-bottom:8px}.date-row input{width:100%;font-size:12px}.modal-backdrop{position:fixed;inset:0;background:#10263180;backdrop-filter:blur(3px);z-index:30;display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:white;border-radius:13px;width:680px;max-width:100%;max-height:92vh;overflow:auto;box-shadow:0 24px 80px #071d3340}.modal.wide{width:780px}.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:21px 25px;position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:19px}.modal-head button{font-size:20px;border:none;padding:0;width:28px;height:28px;color:#809199}.modal-body{padding:23px 25px}.modal-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding:17px 25px;background:#fafcfb;position:sticky;bottom:0;z-index:2}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field>label{font-size:11px;color:#687e88;font-weight:600}.field small{font-size:10px;line-height:1.6;color:#91a0a5}.field input,.field select,.field textarea{width:100%;font-size:12px}.section-label{font-size:11px;font-weight:bold;color:#6b8377;margin:25px 0 13px;padding-top:17px;border-top:1px solid var(--line)}.form-grid .section-label{grid-column:1/-1;margin:7px 0 0}.history{font-size:10px;line-height:1.8;color:#8a999f;margin-top:10px}.leave-row{display:grid;grid-template-columns:1fr 1fr 35px;gap:8px;margin:6px 0}.leave-row input{width:100%;font-size:11px}.employee-choices{max-height:180px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:4px}.employee-choice{display:flex;gap:7px;align-items:center;padding:6px;font-size:12px}.employee-choice small{color:#98a5aa;font-size:9px;margin-left:auto}.form-error{color:var(--danger);font-size:12px;margin:12px 0;line-height:1.7;white-space:pre-wrap}.detail-list{margin-top:15px;border-top:1px solid var(--line)}.detail-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #edf1ef;font-size:12px}.detail-item small{display:block;color:var(--muted);font-size:10px;margin-top:4px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#213f35;color:white;padding:12px 20px;border-radius:8px;opacity:0;transition:.2s;pointer-events:none;z-index:60;font-size:12px}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:100px;text-align:center;color:var(--muted)}.fatal{padding:60px;max-width:700px;margin:auto}#print-area{display:none}.print-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.print-title h1{font-size:21px}.print-title p{font-size:10px;margin:0;color:#777}.print-footer{font-size:9px;color:#888;display:flex;justify-content:space-between;margin-top:8px}.print-measuring{display:block!important;position:fixed;left:-10000px;top:0;width:283mm;background:white;padding:0}.print-sheet{width:283mm;height:195mm;color:#203642}.print-sheet .calendar{height:176mm;grid-template-rows:7mm repeat(var(--weeks),minmax(0,1fr));border-left:1px solid #d8e1dc}.print-sheet .weekday{padding:2mm 0;font-size:9pt}.print-sheet .day{min-height:0;padding:1.6mm 1.8mm;overflow:hidden;cursor:default}.print-sheet .day-top{height:5mm;min-height:0;margin:0 0 1mm}.print-sheet .date{font-size:9pt;height:5mm;width:5mm}.print-sheet .holiday{font-size:7pt}.print-sheet .cal-events{gap:.7mm}.print-sheet .cal-event{font-size:8pt;line-height:1.35;padding:.35mm 1mm}.print-sheet .event-reason{font-size:7pt}.print-sheet .print-note{font-size:9pt;padding:15mm}.print-sheet table{font-size:8pt}.print-sheet td,.print-sheet th{padding:2mm 1.2mm;font-size:8pt}.print-sheet .org-columns{gap:4mm}.print-sheet .org-person{padding:2mm 3mm;font-size:9pt}.print-sheet .org-person small{font-size:7pt}.print-sheet .org-team-head{padding:3mm}.print-sheet .org-root{margin-bottom:4mm}.print-sheet .org-common{margin-bottom:4mm}.print-sheet .org-unit{padding:2mm 3mm}.print-sheet .org-unit .org-person{margin-bottom:1.3mm}.print-sheet .org-unit-label{margin-bottom:1mm}.print-sheet .org-leader{padding:3mm 3mm 0}.print-sheet .org-team-head strong{font-size:11pt}.print-sheet .disabled-placeholder{padding:7mm 3mm}.print-sheet .org-person button{display:none}
@media(min-width:1650px){.day{min-height:150px}}@media(max-width:1100px){.sidebar{width:180px;padding-left:10px;padding-right:10px}.shell{grid-template-columns:180px minmax(0,1fr)}.content{padding:24px}.topbar{padding:0 24px}.day{padding:8px 6px}.stats{gap:10px}.stat{padding:16px}.org-columns{gap:10px}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:100%;padding:14px;display:block}.brand{padding:0 8px 14px}.brand small,.nav-caption,.sidebar-footer{display:none}.nav{flex-direction:row;overflow-x:auto;gap:3px}.nav button{white-space:nowrap;font-size:11px;padding:10px}.nav-icon{display:none}.workspace{display:block}.topbar{height:52px;padding:0 16px}.top-actions>span{display:none}.content{padding:20px 14px}.page-heading{align-items:flex-start}h1{font-size:24px}.stats{grid-template-columns:1fr 1fr}.sample-banner{align-items:flex-start}.sample-banner p{font-size:10px}.sample-banner button{font-size:10px;padding:7px}.calendar-scroll{overflow-x:auto}.calendar-scroll>.calendar{min-width:700px}.calendar-foot{padding:14px}.org-columns,.settings-grid,.definition{grid-template-columns:1fr}.form-grid{gap:13px}.modal-body{padding:18px}.modal-head{padding:18px}.modal-footer{padding:14px 18px}.modal-backdrop{padding:10px}.employee-choices{grid-template-columns:1fr}.date-row{grid-template-columns:125px 1fr auto}}
@page{size:A4 landscape;margin:7mm}@media print{body{background:white;margin:0;-webkit-print-color-adjust:exact;print-color-adjust:exact}#app,#modal-root,#toast{display:none!important}#print-area{display:block!important;position:static;width:auto}#print-area .print-sheet{break-after:page}#print-area .print-sheet:last-child{break-after:auto}button{display:none!important}.print-sheet.report-print{height:auto}.report-print tr{break-inside:avoid}.report-print thead{display:table-header-group}}
[hidden]{display:none!important}
.attendance-grid{display:grid;grid-template-columns:165px minmax(220px,1fr) 145px;gap:17px;align-items:start}.attendance-grid .full{grid-column:1/-1}.quick-submit{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:20px}.modal .attendance-grid{grid-template-columns:155px minmax(160px,1fr)}.modal .attendance-grid>.field:nth-of-type(3){grid-column:1/-1}.org-tree{overflow-x:auto;padding:8px 0}.org-root-row{display:flex;justify-content:center;gap:14px;padding-bottom:28px;position:relative}.org-root-row>.org-person{min-width:210px;max-width:330px;background:#edf6ef;border-color:#b5d4c1}.org-root-row:after{content:"";position:absolute;bottom:0;left:50%;height:28px;border-left:1px solid #b9cfc0}.org-tree-teams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;position:relative;padding-top:26px}.org-tree-teams:before{content:"";position:absolute;left:16.66%;right:16.66%;top:0;border-top:1px solid #b9cfc0}.org-tree-team{position:relative;min-width:0;background:#fafcfb;border:1px solid #e3eae5;border-radius:9px;padding:13px 11px}.org-tree-team:before{content:"";position:absolute;top:-26px;left:50%;height:26px;border-left:1px solid #b9cfc0}.org-team-label{text-align:center;font-size:12px;font-weight:700;color:#506f5c;margin-bottom:14px;letter-spacing:-.3px}.org-position{font-size:9px;color:#7a9181;margin-bottom:5px}.org-tree .org-person{gap:6px;margin-bottom:8px;padding:10px 9px;min-width:0;position:relative;font-size:12px}.org-tree .org-person small{font-size:9px;white-space:nowrap;letter-spacing:-.3px}.org-tree .org-person strong{overflow-wrap:anywhere}.org-tree .role{font-size:9px}.org-head-branch{margin-bottom:13px}.org-head-branch>.org-person{max-width:240px;margin:0 auto 22px;border-color:#c8dccf;background:#f1f7f3}.org-joleaders{display:flex;gap:10px;align-items:flex-start;position:relative;padding-top:16px}.org-joleaders:before{content:"";position:absolute;top:0;left:25%;right:25%;border-top:1px solid #cad8ce}.org-head-branch>.org-person:after{content:"";position:absolute;left:50%;bottom:-23px;height:22px;border-left:1px solid #cad8ce}.org-joleader{flex:1;min-width:0;position:relative}.org-joleader:before{content:"";position:absolute;left:50%;top:-16px;height:16px;border-left:1px solid #cad8ce}.org-joleader>.org-unit-label{text-align:center;font-size:9px;margin-bottom:7px}.org-joleader>.org-person{border-color:#d1dfd5}.org-staff{padding:7px 0 0 7px;border-left:1px solid #dce6df;margin:10px 0 0 4px}.org-staff>.org-person{font-size:11px;border-color:#e7ece9;padding:8px 7px}.org-staff>.org-person:before{content:"";position:absolute;left:-8px;top:50%;width:7px;border-top:1px solid #dce6df}.org-vacant{font-size:10px;color:#9ba9a1;text-align:center;padding:15px 5px}.org-missing{border:1px dashed #cfdad3;border-radius:7px;padding:16px;text-align:center;color:#8b9c91;font-size:11px;background:white}.org-missing small{display:block;margin-top:5px;font-size:10px}.org-unassigned{border-top:1px dashed #dce4df;margin-top:17px;padding-top:14px}.org-unassigned-common{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.org-unassigned-common>.org-common{justify-content:flex-start;margin-bottom:0}.print-sheet .org-tree{overflow:visible;padding:0}.print-sheet .org-root-row{padding-bottom:5mm;gap:4mm}.print-sheet .org-root-row:after{height:5mm}.print-sheet .org-root-row>.org-person{min-width:50mm;max-width:70mm}.print-sheet .org-tree-teams{min-width:0;gap:3mm;padding-top:5mm}.print-sheet .org-tree-team{padding:2mm;border-radius:2mm}.print-sheet .org-tree-team:before{top:-5mm;height:5mm}.print-sheet .org-team-label{font-size:9pt;margin-bottom:2mm}.print-sheet .org-tree .org-person{font-size:8pt;padding:1.6mm 1.5mm;margin-bottom:1mm}.print-sheet .org-tree .org-person small{font-size:6.7pt;letter-spacing:-.4px}.print-sheet .org-position{font-size:6.5pt;margin-bottom:.6mm}.print-sheet .org-tree .role{font-size:6.5pt}.print-sheet .org-head-branch>.org-person{margin-bottom:4mm}.print-sheet .org-head-branch>.org-person:after{height:4mm;bottom:-4mm}.print-sheet .org-joleaders{padding-top:3mm;gap:2mm}.print-sheet .org-joleader:before{top:-3mm;height:3mm}.print-sheet .org-joleader>.org-unit-label{font-size:6.7pt;margin-bottom:1mm}.print-sheet .org-staff{padding:1.2mm 0 0 1mm;margin:2mm 0 0 1mm}.print-sheet .org-unassigned-common{margin-top:3mm;padding-top:2mm}.print-sheet .org-unassigned-common h3{font-size:8pt}.print-sheet .org-unassigned-common p{font-size:7pt;margin:1mm 0}.print-sheet .org-common{margin-bottom:0}.print-sheet .org-unassigned{padding-top:2mm;margin-top:2mm}
@media(max-width:1050px){.org-tree-teams{min-width:840px}}@media(max-width:760px){.attendance-grid{grid-template-columns:1fr 1fr}.attendance-grid>.field:nth-child(2){grid-column:1/-1;grid-row:2}.quick-submit{align-items:flex-end}.modal .attendance-grid{grid-template-columns:1fr}.modal .attendance-grid>.field{grid-column:1/-1}}
.org-heads{display:flex;gap:12px;align-items:flex-start}.org-heads>.org-head-branch{flex:1;min-width:0}.org-heads>.org-missing{width:100%}.print-sheet .org-heads{gap:2mm}

/* Dashboard, roster selection and compact organization. */
.nearby-days{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.nearby-day{padding:14px;border-right:1px solid var(--line);min-width:0}.nearby-day:last-child{border-right:0}.nearby-day.reference-day{background:#f1f8f3}.nearby-date{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:11px;white-space:nowrap}.nearby-date .badge{font-size:9px;padding:2px 5px}.nearby-count{font-size:25px;font-weight:700;margin:9px 0 10px}.nearby-count small{font-size:10px;font-weight:400;margin-left:5px;color:var(--muted)}.nearby-people{display:flex;flex-direction:column;gap:4px}.nearby-people .cal-event{border:0;text-align:left;font-weight:400;width:100%}.nearby-people .cal-event span{font-weight:600;margin-left:4px}.nearby-empty{font-size:10px}.excluded-row td{background:#f8f9f9;color:#8c969d}.excluded-row .badge{opacity:.8}.day.business .date{color:var(--ink)}.day.nonworking .date{color:#b56964}.day.sat.nonworking:not(.holiday-day) .date{color:#6f92a1}.day.holiday-day .date{color:#b54c46}.day.business .holiday{color:#86948d}.day.outside .date{color:#bfc9cd}.day.today .date{color:white}.detail-item>.actions{flex-shrink:0}.settings-grid .detail-list{max-height:400px;overflow-y:auto}
.org-tree{padding:4px 0}.org-tree-teams{min-width:0;gap:12px;padding-top:18px}.org-tree-team{padding:8px 7px}.org-tree-team:before{height:18px;top:-18px}.org-root-row{gap:8px;padding-bottom:18px}.org-root-row:after{height:18px}.org-root-row>.org-person{min-width:230px;max-width:340px}.org-tree .org-person{padding:4px 5px;gap:5px;margin-bottom:4px;min-height:26px;font-size:11px;justify-content:flex-start}.org-position{font-size:8px;margin:0;padding:2px 3px;background:#f0f4f1;border-radius:3px;white-space:nowrap;flex-shrink:0}.org-contact{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;white-space:nowrap}.org-tree .org-contact strong{font-size:11px;white-space:nowrap;overflow-wrap:normal}.org-phone{font-size:9px;color:#6d7f88;white-space:nowrap;letter-spacing:-.3px}.org-leave{font-size:8px;color:#a47725}.org-heads{gap:7px}.org-head-branch{margin-bottom:5px}.org-head-branch>.org-person{margin-bottom:13px}.org-head-branch>.org-person:after{height:13px;bottom:-13px}.org-joleaders{gap:7px;padding-top:10px}.org-joleader:before{height:10px;top:-10px}.org-team-label{font-size:11px;margin-bottom:8px}.org-joleader>.org-unit-label{font-size:9px;margin-bottom:4px}.org-staff{padding:3px 0 0 4px;margin:5px 0 0 2px}.org-staff>.org-person:before{left:-5px;width:4px}.org-unassigned{padding-top:6px;margin-top:8px}.org-vacant{font-size:9px;padding:8px 3px}.org-missing{padding:9px;font-size:10px}.org-unassigned-common{padding-top:10px;margin-top:10px}.org-unassigned-common>.org-common{gap:5px}.org-common .org-person{min-width:0}.org-print-frame{position:relative;width:100%;height:177mm;overflow:hidden}.org-print-content{width:100%}.print-sheet.org-print{height:195mm;break-inside:avoid}.print-sheet .org-tree-teams{grid-template-columns:repeat(3,minmax(max-content,1fr));min-width:0;gap:3mm;padding-top:4mm}.print-sheet .org-root-row{padding-bottom:4mm}.print-sheet .org-root-row:after{height:4mm}.print-sheet .org-tree-team:before{top:-4mm;height:4mm}.print-sheet .org-tree .org-person{padding:.7mm 1mm;min-height:6mm;font-size:8pt;gap:1mm;margin-bottom:.8mm;justify-content:flex-start}.print-sheet .org-position{font-size:6pt;margin:0;padding:.4mm .5mm}.print-sheet .org-contact{gap:1.5mm}.print-sheet .org-tree .org-contact strong{font-size:8pt}.print-sheet .org-phone{font-size:7pt;letter-spacing:-.15px}.print-sheet .org-leave{font-size:6pt}.print-sheet .org-head-branch>.org-person{margin-bottom:3mm}.print-sheet .org-head-branch>.org-person:after{bottom:-3mm;height:3mm}.print-sheet .org-joleaders{padding-top:2.5mm;gap:2mm}.print-sheet .org-joleader{min-width:38mm}.print-sheet .org-joleader:before{top:-2.5mm;height:2.5mm}.print-sheet .org-staff{padding:.7mm 0 0 .8mm;margin:1.2mm 0 0 .7mm}.print-sheet .org-staff>.org-person:before{left:-1mm;width:.8mm}.print-sheet .org-heads{gap:2mm}.print-sheet .org-head-branch{margin-bottom:1mm}.print-sheet .org-team-label{font-size:9pt;margin-bottom:2mm}.print-sheet .disabled-placeholder{padding:4mm 2mm;font-size:8pt}
@media(max-width:1200px){.nearby-days{grid-template-columns:repeat(3,minmax(0,1fr))}.nearby-day:nth-child(3){border-right:0}.nearby-day:nth-child(-n+3){border-bottom:1px solid var(--line)}.compact-organization .org-tree-teams{min-width:830px}}@media(max-width:760px){.nearby-days{grid-template-columns:repeat(2,minmax(0,1fr))}.nearby-day:nth-child(3){border-right:1px solid var(--line)}.nearby-day:nth-child(2n){border-right:0}.nearby-day:nth-child(-n+4){border-bottom:1px solid var(--line)}.nearby-panel .panel-head .actions{width:100%}.search{max-width:100%}.settings-grid .panel-head{gap:9px}.detail-item{gap:5px}}
.day.business.holiday-day .date{color:var(--ink)}
@media print{#print-area .org-tree-teams{min-width:0}.org-print{overflow:hidden}.org-print .org-tree{overflow:visible}}

/* Roster headers share the cell alignment and padding of the data below. */
.roster-table{font-size:12px}.roster-table th{font-size:13px;font-weight:600;color:#415b66;padding:12px 14px;vertical-align:middle}.roster-table td{padding:14px}.roster-table th.name-column,.roster-table td.name{text-align:left}.roster-table th.roster-selection{width:48px}.roster-table .roster-management{font-size:13px}.roster-table td:last-child .actions{justify-content:center;flex-wrap:nowrap}.roster-column-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;border-radius:5px;padding:4px 0;margin:0;background:transparent;color:inherit;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}.name-column .roster-column-button{justify-content:flex-start}.roster-column-button:hover,.roster-column-button[aria-expanded=true]{color:var(--green);background:transparent}.roster-filter-mark{display:inline-flex;align-items:center;justify-content:center;min-width:12px;font-size:11px;color:#81968b}.roster-filter-mark svg{height:12px;width:12px;fill:var(--green)}.roster-sort-mark:empty{display:none}.roster-sort-mark{font-size:12px;color:var(--green)}.roster-column-button.is-filtered,.roster-column-button.is-sorted{color:var(--green)}.roster-active-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 22px;background:#fbfdfb;border-bottom:1px solid var(--line)}.roster-filter-chip{display:inline-flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere;border:1px solid #d4e5db;background:#edf6f0;color:#387158;padding:4px 8px;font-size:11px;font-weight:500;border-radius:5px;line-height:1.4}.roster-filter-chip span{color:#7c9587}.roster-sort-summary{font-size:11px;color:#4d735f}.roster-filter-hint{font-size:11px;color:var(--muted);padding:10px 22px;border-bottom:1px solid var(--line)}.roster-table .roster-no-results{text-align:center;padding:42px 20px;color:var(--muted);font-size:12px;white-space:normal;line-height:1.7}.roster-filter-popover{position:fixed;z-index:25;background:white;border:1px solid #d7e3dc;border-radius:10px;box-shadow:0 12px 36px #142d3c26;overflow:auto;outline:none;color:var(--ink);font-size:12px}.roster-filter-title{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 7px}.roster-filter-title strong{font-size:14px}.roster-filter-title button{font-size:19px;line-height:1;padding:4px 7px}.roster-sort-actions{display:flex;gap:6px;padding:0 14px 12px;border-bottom:1px solid var(--line)}.roster-sort-actions button{flex:1;font-size:12px;padding:7px 8px;font-weight:500}.roster-sort-actions .selected{background:var(--soft);color:var(--green);border-color:#bad5c5}.roster-filter-body{padding:12px 14px}.roster-filter-label{display:block;margin-bottom:7px;font-size:11px;font-weight:600;color:#6b7e74}.roster-filter-body input[type=search]{width:100%;padding:8px 9px;font-size:12px}.roster-filter-selectors{display:flex;gap:5px;padding:6px 0}.roster-filter-selectors button{font-size:11px;font-weight:500;padding:4px}.roster-value-list{max-height:210px;overflow:auto;border:1px solid var(--line);border-radius:6px;padding:5px}.roster-value-option{display:flex;align-items:flex-start;gap:8px;padding:6px;font-size:12px;border-radius:4px;cursor:pointer;line-height:1.5;overflow-wrap:anywhere}.roster-value-option:hover{background:#f3f7f4}.roster-value-option input{flex:0 0 15px;margin:2px 0}.roster-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;background:#fafcfb;border-top:1px solid var(--line)}.roster-filter-footer button{font-size:12px}.roster-filter-popover .hint{margin:8px}.roster-filter-popover:focus-visible{outline:2px solid #75b6a0;outline-offset:2px}
@media print{#roster-filter-root{display:none!important}}

/* Affiliation and employment badges keep their labels as well as distinct colors. */
.affiliation-badge,.employment-badge{font-size:11px;font-weight:600;line-height:1.4;padding:3px 7px;border:1px solid transparent;white-space:nowrap}
.affiliation-part{color:#6b3fa0;background:#f2eafa;border-color:#dfcfef}
.affiliation-wheel14{color:#245b9d;background:#eaf2fc;border-color:#cddff4}
.affiliation-wheel23{color:#176b66;background:#e7f5f1;border-color:#c7e5dc}
.affiliation-damage{color:#95520e;background:#fff1dd;border-color:#f0d7ad}
.affiliation-common{color:#596775;background:#eff2f5;border-color:#d9e0e7}
.employment-active{color:#226641;background:#e9f5ec;border-color:#cbe6d2}
.employment-leave{color:#875718;background:#fff4dd;border-color:#efdfb3}
.employment-planned{color:#295e9e;background:#ecf3fd;border-color:#cedff5}
.employment-retired{color:#a13d45;background:#fcebee;border-color:#efcbd0}
.employment-excluded{color:#5d6771;background:#f0f2f4;border-color:#dbe0e5}
.roster-table .excluded-row .affiliation-badge,.roster-table .excluded-row .employment-badge{opacity:1}

/* Larger management cards preserve the existing green-gray organization palette. */
.org-tree .org-person.org-manager{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:5px;padding:10px 12px;min-height:94px;background:#f1f7f3;border-color:#c4d9cc}
.org-tree .org-manager .org-position{display:block;background:transparent;padding:0;font-size:10px;line-height:1.35;letter-spacing:.2px;color:#5b7966}
.org-tree .org-manager .org-grade{font-size:9px;font-weight:400;color:#7a8e82;letter-spacing:0}
.org-tree .org-manager .org-contact{flex-direction:column;gap:5px;white-space:normal}
.org-tree .org-manager .org-contact strong{font-size:18px;line-height:1.2;letter-spacing:.5px;white-space:normal;overflow-wrap:anywhere}
.org-tree .org-manager .org-phone{font-size:12px;line-height:1.3;color:#6b7e73;letter-spacing:0}
.org-tree .org-manager .org-leave{position:absolute;right:6px;top:5px;font-size:9px}
.org-root-row>.org-person.org-manager{min-height:102px;width:280px;max-width:340px;background:#edf6ef;border-color:#b5d1bf}
.org-root-row>.org-person.org-manager .org-contact strong{font-size:21px}
.org-tree .org-head-branch>.org-person.org-manager{width:100%;max-width:280px;min-height:98px;margin:0 auto 19px}
.org-tree .org-joleader>.org-person.org-manager{min-height:90px;margin-bottom:0}
.org-tree .org-joleader>.org-person.org-manager .org-contact strong{font-size:16px}
.org-tree .org-person.org-employee{min-height:36px;padding:7px 6px;margin-bottom:7px;gap:6px}
.org-tree .org-employee .org-contact strong{font-size:12px}.org-tree .org-employee .org-phone{font-size:10px}
.org-tree .org-team-label{font-size:13px;margin-bottom:12px}.org-tree .org-joleader>.org-unit-label{font-size:10px;margin-bottom:7px}
.org-tree .org-staff{padding-top:6px;margin-top:12px}.org-head-branch>.org-person:after{height:19px;bottom:-19px}

/* The sheet reserves space for the title/footer and gives the remainder to the tree. */
.print-sheet.org-print{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:3mm;width:283mm;height:195mm;overflow:hidden}
.org-print>.print-title{margin:0;gap:8mm;min-width:0}.org-print>.print-title h1{font-size:18pt;line-height:1.25;margin:0}.org-print>.print-title p{font-size:8pt;line-height:1.4;white-space:nowrap}
.org-print>.print-footer{margin:0;font-size:7pt;line-height:1.3;gap:4mm}.org-print>.org-print-frame{width:100%;height:100%;min-height:0;overflow:hidden}
.org-print .org-print-content{width:100%}.org-print .org-tree{display:flex;flex-direction:column;min-height:var(--org-page-height,177mm);overflow:visible;padding:0}
.org-print .org-root-row{flex:0 0 auto;align-items:flex-start;gap:3mm;padding-bottom:5mm}.org-print .org-root-row:after{height:5mm}
.org-print .org-tree-teams{flex:1 0 auto;display:grid;grid-template-columns:repeat(3,minmax(max-content,1fr));align-items:stretch;gap:3mm;padding-top:5mm;min-width:0}
.org-print .org-tree-team{display:flex;flex-direction:column;padding:3mm;min-width:0;border-radius:2mm}
.org-print .org-tree-team:before{height:5mm;top:-5mm}.org-print .org-team-label{font-size:11pt;line-height:1.25;margin:0 0 3mm}
.org-print .org-heads{flex:1 0 auto;align-items:stretch;gap:3mm}.org-print .org-head-branch{display:flex;flex-direction:column;margin:0;min-width:0}
.org-print .org-joleaders{flex:1 0 auto;align-items:stretch;gap:2.5mm;padding-top:3mm}.org-print .org-joleader{display:flex;flex-direction:column;min-width:39mm;flex:1 0 auto}
.org-print .org-joleader:before{height:3mm;top:-3mm}.org-print .org-joleader>.org-unit-label{font-size:8pt;line-height:1.3;margin:0 0 1.5mm}
.org-print .org-tree .org-person.org-manager{flex-shrink:0;min-height:21mm;padding:2.3mm 2mm;gap:1.3mm;margin-bottom:0;border-radius:1.8mm}
.org-print .org-manager .org-position{font-size:8pt;line-height:1.3;letter-spacing:.1mm}
.org-print .org-manager .org-grade{font-size:7pt}.org-print .org-manager .org-contact{gap:1.2mm}
.org-print .org-tree .org-manager .org-contact strong{font-size:13pt;line-height:1.2;letter-spacing:.3mm}.org-print .org-manager .org-phone{font-size:9pt;line-height:1.3;letter-spacing:0}
.org-print .org-root-row>.org-person.org-manager{width:65mm;min-width:65mm;max-width:75mm;min-height:23mm;margin-bottom:0}
.org-print .org-root-row>.org-person.org-manager .org-contact strong{font-size:16pt}.org-print .org-root-row>.org-person.org-manager .org-phone{font-size:10pt}
.org-print .org-head-branch>.org-person.org-manager{width:100%;max-width:68mm;min-height:23mm;margin:0 auto 5mm}
.org-print .org-head-branch>.org-person.org-manager:after{height:5mm;bottom:-5mm}
.org-print .org-head-branch>.org-person.org-manager .org-contact strong{font-size:14pt}
.org-print .org-joleader>.org-person.org-manager .org-contact strong{font-size:13pt}
.org-print .org-tree .org-person.org-employee{min-height:10.5mm;flex-shrink:0;padding:1.4mm 1mm;margin:0;gap:1mm;border-radius:1.5mm}
.org-print .org-employee .org-position{font-size:6.2pt;padding:.4mm .5mm;flex-shrink:0}
.org-print .org-employee .org-contact{gap:1.3mm}.org-print .org-tree .org-employee .org-contact strong{font-size:10pt;line-height:1.25;letter-spacing:0}
.org-print .org-employee .org-phone{font-size:8.2pt;line-height:1.3;letter-spacing:-.15px}
.org-print .org-staff{display:flex;flex-direction:column;gap:1.8mm;padding:1mm 0 0 1.3mm;margin:2mm 0 0 .7mm}
.org-print .org-staff>.org-person:before{left:-1.5mm;width:1.3mm}.org-print .org-manager .org-leave{top:1mm;right:1.2mm;font-size:6.5pt}
.org-print .org-employee .org-leave{font-size:6.5pt;white-space:nowrap}
.org-print .disabled-placeholder{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:8mm 3mm;font-size:9pt;line-height:1.9}
.org-print .org-missing{min-height:21mm;display:grid;place-content:center;font-size:8pt;padding:3mm}
.org-print .org-unassigned{padding-top:2mm;margin-top:3mm}.org-print .org-unassigned>.org-person{margin-bottom:1.3mm}
.org-print .org-unassigned-common{margin-top:3mm;padding-top:2mm;flex:0 0 auto}.org-print .org-common{gap:2mm}.org-print .org-common .org-person{margin:0}
.org-team-disabled .org-head-branch>.org-person:after{display:none}.org-print .org-team-disabled .org-heads{flex:0 0 auto}
@media print{#print-area .print-sheet.org-print{height:195mm;break-inside:avoid}#print-area .org-print .org-tree{overflow:visible}}
.org-tree .org-manager .org-position,.org-tree .org-manager .org-grade,.org-print .org-manager .org-position,.org-print .org-manager .org-grade{font-size:12pt;font-weight:700;line-height:1.25}
.org-tree .org-person.org-vacancy{background:#fafcfb;border-color:#d9e3dc}.org-print .org-tree .org-person.org-vacancy{background:#fff}
.org-tree .org-name{display:inline;border:0;border-radius:2px;margin:0;padding:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;white-space:inherit;text-align:inherit;vertical-align:baseline;text-decoration:none}
.org-tree .org-name:hover{background:transparent;color:var(--green)}
.assignment-control{display:flex;align-items:stretch;gap:8px}.assignment-control select{flex:1;min-width:0}.assignment-control .assignment-delete{flex:0 0 36px;width:36px;padding:0;font-size:20px;line-height:1;border-radius:7px}
.roster-main-action{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:0 0 150px;width:150px;height:38px;padding:0 12px;font-size:12px;line-height:1.4;white-space:nowrap}
.field .shuttle-stop-error{color:var(--danger)}
.brand.brand-static{padding:0 0 30px;gap:10px;cursor:default}.brand-static .brand-icon{flex:none;width:32px;font-size:20px}.brand-static>div:last-child{min-width:0}.brand-static strong{display:block;white-space:nowrap;font-size:16px;line-height:1.5;letter-spacing:-.9px}.brand-static small{font-size:8px;letter-spacing:.7px}.breadcrumb-site-title{cursor:default}
.nav-group{min-width:0}.nav-group-head{display:flex;align-items:center;gap:3px}
.nav .nav-parent{flex:1;min-width:0;font-size:14px;font-weight:700;padding:13px 10px;gap:9px}.nav .nav-parent.has-active-child{color:white;background:#203e4d}
.nav .nav-tree-toggle{display:grid;place-items:center;flex:0 0 30px;width:30px;height:42px;padding:0;color:#a9bec8}.nav-tree-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-90deg);transition:transform .15s}.nav-tree-toggle[aria-expanded=true] svg{transform:rotate(0)}
.nav-subitems{display:grid;gap:4px;margin:5px 0 0 19px;padding-left:8px;border-left:1px solid #3a5360}.nav .nav-child{padding:11px 9px;font-size:12px;gap:8px}.nav-child .nav-icon,.nav-child .nav-icon svg{width:16px;height:16px}
@media(max-width:760px){.nav{flex-direction:column;overflow:visible}.nav-group{width:100%}.nav .nav-parent{font-size:13px}.nav-subitems{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));margin-left:12px}.nav .nav-child{font-size:11px}}

/* A weekly grid puts continuous schedules across adjacent day columns. */
.scheduler-header{gap:14px;padding:16px 20px}.scheduler-heading{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.scheduler-heading h2{font-size:15px}.scheduler-heading .month-control input{font-size:19px}.scheduler-scope{padding:10px 20px;border-bottom:1px solid var(--line);background:#fcfdfc}.scheduler-body{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:start}.scheduler-filters{padding:18px 13px;border-right:1px solid var(--line);height:100%;background:#fcfdfc}.scheduler-filters fieldset{border:0;margin:0;padding:0;min-width:0}.scheduler-filters legend{font-size:12px;font-weight:700;color:#425f4f;padding:0;margin-bottom:14px}.schedule-status-option{display:flex;align-items:center;gap:7px;padding:7px 0;font-size:12px;color:#536c5d;cursor:pointer;white-space:nowrap}.schedule-status-option input{margin:0;accent-color:var(--schedule-accent,var(--green))}.schedule-status-dot{width:7px;height:7px;flex:0 0 7px;background:var(--schedule-accent,#7da28b);border-radius:50%}.schedule-filter-actions{display:flex;flex-wrap:wrap;gap:2px;margin-top:12px}.schedule-filter-actions button{font-size:10px;padding:4px 3px;font-weight:500}.scheduler-filters .hint{font-size:10px;margin:13px 0 0;line-height:1.7}
.schedule-status-present{--schedule-bg:#eef4f6;--schedule-ink:#506d79;--schedule-accent:#7c9ca8}.schedule-status-absent{--schedule-bg:#fbefee;--schedule-ink:#a5534e;--schedule-accent:#cb817b}.schedule-status-annual{--schedule-bg:#eaf4ed;--schedule-ink:#416e53;--schedule-accent:#77a98a}.schedule-status-family{--schedule-bg:#ecf2fb;--schedule-ink:#426594;--schedule-accent:#84a0ca}.schedule-status-military{--schedule-bg:#eeedf8;--schedule-ink:#65608e;--schedule-accent:#a09ac7}.schedule-status-health{--schedule-bg:#f1eff9;--schedule-ink:#6c6393;--schedule-accent:#ae9fc9}.schedule-status-early{--schedule-bg:#faf3e6;--schedule-ink:#9c7035;--schedule-accent:#c9a163}.schedule-status-other{--schedule-bg:#f0f2f4;--schedule-ink:#596874;--schedule-accent:#929eaa}.cal-event.other{background:#f0f2f4;color:#596874}
.scheduler-body>.calendar-scroll{min-width:0}.calendar.schedule-calendar{display:block;border:0;border-left:1px solid var(--line);min-width:700px;background:white}.schedule-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.schedule-weekdays .weekday{font-size:11px;padding:11px 5px;background:#fafcfa;color:#697e71}.schedule-weekdays .weekday.sun{color:#b56964}.schedule-weekdays .weekday.sat{color:#6f92a1}.schedule-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:36px repeat(var(--lanes),minmax(25px,max-content));min-height:135px;position:relative;border-bottom:1px solid var(--line);isolation:isolate;align-content:start;align-items:start}
.schedule-week>.day.schedule-day{min-height:0;padding:7px 7px 0;border-bottom:0;align-self:stretch;cursor:pointer;z-index:0}.schedule-day .day-top{height:24px;min-height:0;margin:0;align-items:center;gap:3px}.schedule-day .date{font-size:12px}.schedule-day .holiday{font-size:9px;line-height:1.3}.schedule-week>.schedule-day:nth-child(7){border-right:0}.schedule-day.outside{cursor:pointer}.schedule-calendar .day.outside .date{color:#b1bdc4}.schedule-day:focus-visible{outline:2px solid #75b6a0;outline-offset:-3px}.schedule-event.cal-event{position:relative;z-index:1;display:block;align-self:start;min-width:0;margin:0 3px 3px;padding:3px 6px;min-height:23px;border:0;border-radius:4px;text-align:left;font-size:11px;line-height:1.5;font-weight:400;background:var(--schedule-bg,#f0f5f2);color:var(--schedule-ink,#486456);overflow:hidden;cursor:pointer;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
.schedule-event-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-event .event-symbol{margin-left:3px;font-weight:600}.schedule-event .event-reason{display:block;font-size:10px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;color:inherit;opacity:.85}.schedule-event.is-single{background:#f0f5f2;color:#486456;padding:3px 5px}.schedule-event.is-single.absent{background:#fbf0ef;color:#a5534e}.schedule-event.is-single.early{background:#faf3e6;color:#9c7035}.schedule-event.is-single.health{background:#f1eff9;color:#6c6393}.schedule-event.is-range{border-left:3px solid var(--schedule-accent);border-radius:3px}.schedule-event.is-range.continues-before{padding-left:12px;border-left:0;clip-path:polygon(7px 0,100% 0,100% 100%,7px 100%,0 50%)}.schedule-event.is-range.continues-after{padding-right:12px;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 50%,calc(100% - 7px) 100%,0 100%)}.schedule-event.is-range.continues-before.continues-after{clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 50%,calc(100% - 7px) 100%,7px 100%,0 50%)}.schedule-event:hover{filter:brightness(.97)}.schedule-event:focus-visible{outline:2px solid #285f48;outline-offset:-2px}.schedule-range-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;background:#f1f7f3;border-radius:7px;font-size:13px}.schedule-range-summary>span{font-size:11px;color:var(--muted)}.schedule-range-reason{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
body.scheduler-expanded{overflow:hidden}.scheduler-panel.is-expanded{position:fixed;inset:0;z-index:20;margin:0;border:0;border-radius:0;background:white;display:flex;flex-direction:column;width:100%;height:100dvh;height:100vh}.scheduler-panel.is-expanded .scheduler-header,.scheduler-panel.is-expanded .scheduler-scope{flex:0 0 auto}.scheduler-panel.is-expanded .scheduler-body{flex:1;min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch}.scheduler-panel.is-expanded .scheduler-filters{overflow:auto;min-height:0}.scheduler-panel.is-expanded .calendar-scroll{position:relative;height:100%;min-height:0;overflow:auto;background:white}.scheduler-panel.is-expanded .calendar.schedule-calendar{min-width:700px}.scheduler-panel.is-expanded .schedule-week{min-height:calc((var(--calendar-frame-height,600px) - 36px)/var(--weeks));}.scheduler-panel.is-expanded .empty{padding:20px}
.print-sheet.calendar-print{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:3mm;width:283mm;height:195mm;overflow:hidden}.calendar-print>.print-title{margin:0;gap:6mm}.calendar-print>.print-title h1{margin:0;font-size:17pt;line-height:1.25}.calendar-print>.print-title p{font-size:8pt;line-height:1.4;white-space:nowrap}.calendar-print>.print-footer{margin:0;font-size:7pt;line-height:1.3}.calendar-print-frame{position:relative;min-height:0;width:100%;height:100%;overflow:hidden}.calendar-print-content{width:100%}.print-sheet .calendar.schedule-calendar{display:block;height:auto;min-width:0;border-left:1px solid var(--line);border-right:1px solid var(--line);grid-template-rows:none}.print-sheet .schedule-weekdays .weekday{font-size:8pt;height:28px;padding:5px 0}.print-sheet .schedule-week{grid-template-rows:25px repeat(var(--lanes),minmax(18px,max-content));min-height:calc((var(--calendar-frame-height,660px) - 28px)/var(--weeks))}.print-sheet .schedule-week>.day.schedule-day{padding:1mm 1.3mm 0;min-height:0;overflow:visible;cursor:default}.print-sheet .schedule-day .day-top{height:5mm;margin:0}.print-sheet .schedule-day .date{font-size:9pt;height:5mm;width:5mm}.print-sheet .schedule-day .holiday{font-size:7pt}.print-sheet .schedule-event.cal-event{font-size:8pt;min-height:17px;line-height:1.35;padding:.4mm 1mm;margin:0 .6mm .6mm;cursor:default}.print-sheet .schedule-event .event-reason{font-size:7pt;line-height:1.3}.print-sheet .schedule-event.is-range{border-left-width:2px}.print-sheet .schedule-event.continues-before{padding-left:2.5mm}.print-sheet .schedule-event.continues-after{padding-right:2.5mm}
@media(max-width:1050px){.scheduler-heading{gap:10px}.scheduler-header{padding:14px}.scheduler-header .actions{gap:6px}.scheduler-body{grid-template-columns:120px minmax(0,1fr)}.scheduler-filters{padding:16px 10px}.scheduler-scope{padding:10px 14px}}
@media(max-width:760px){.scheduler-heading h2{display:none}.scheduler-body{grid-template-columns:minmax(0,1fr)}.scheduler-filters{height:auto;border-right:0;border-bottom:1px solid var(--line);padding:10px 12px}.scheduler-filters fieldset{display:flex;flex-wrap:wrap;gap:0 12px}.scheduler-filters legend{font-size:11px;margin-bottom:5px}.schedule-status-option{font-size:11px;padding:5px 0}.schedule-filter-actions{margin-top:4px}.scheduler-filters .hint{display:inline-block;margin:4px 9px 0 0}.scheduler-panel.is-expanded .scheduler-body{grid-template-rows:auto minmax(0,1fr)}.scheduler-panel.is-expanded .scheduler-filters{max-height:135px}.scheduler-header .actions{width:100%}}
@media print{.print-sheet.calendar-print{height:195mm;break-inside:avoid}.schedule-week{break-inside:avoid}}
.schedule-week{grid-template-rows:36px repeat(var(--lanes),minmax(25px,max-content)) minmax(0,1fr)}
.schedule-weekdays .weekday{height:36px;display:grid;place-items:center;line-height:1.3}
.print-sheet .schedule-week{grid-template-rows:25px repeat(var(--lanes),minmax(18px,max-content)) minmax(0,1fr)}
.print-sheet .schedule-weekdays .weekday{height:28px}
.modal .attendance-period-grid,.attendance-grid.attendance-period-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.modal .attendance-period-grid>.attendance-date{grid-column:auto;grid-row:auto}
.modal .attendance-period-grid>.field.full{grid-column:1 / -1;grid-row:auto}
.attendance-period-grid .attendance-date input{width:100%}

.schedule-status-holiday-absence{--schedule-bg:#e9f4f3;--schedule-ink:#497875;--schedule-accent:#7daaa5}

.schedule-day.special-workday .holiday{color:#397b69;font-weight:700;background:#eaf5ef;border-radius:3px;padding:2px 4px}.special-work-summary{color:#397b69;font-weight:600}

.day-kind-controls{margin:0 0 12px;padding:14px 16px 8px;border:1px solid var(--line);border-radius:8px;background:#fafcfb}.day-kind-controls legend{font-size:12px;font-weight:700;color:#496457;padding:0 5px}.day-kind-options{display:flex;flex-wrap:wrap;gap:12px 24px}.day-kind-options .check{font-size:12px}.day-kind-controls .hint{margin:10px 0 0}

.schedule-weekdays,.schedule-week{grid-template-columns:var(--day-columns,repeat(7,minmax(0,1fr)))}
.screen-calendar .schedule-week{grid-template-rows:30px repeat(6,24px);min-height:0;align-content:stretch}
.screen-calendar .schedule-week>.day.schedule-day{padding:4px 6px 0;min-width:0}
.screen-calendar .schedule-event.cal-event{min-height:0;height:calc(100% - 2px);max-height:calc(100% - 2px);padding:2px 4px;white-space:nowrap;text-overflow:ellipsis;line-height:1.4;margin-bottom:2px}
.screen-calendar .schedule-event-title{display:inline;white-space:nowrap;overflow:visible}
.screen-calendar .schedule-event .event-reason{display:inline;white-space:nowrap;font-size:.9em}
.screen-calendar .schedule-event .event-reason:before{content:' · '}
.screen-calendar .schedule-event.cal-event.continues-before{padding-left:10px}.screen-calendar .schedule-event.cal-event.continues-after{padding-right:10px}
.screen-calendar .day-top{min-width:0}.screen-calendar .day-top .holiday{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.schedule-more{z-index:2;position:relative;border:0;background:#eaf4ee;color:#317259;font-weight:700;white-space:nowrap;min-width:0}
.schedule-more:hover{background:#dceee3}.schedule-more-row{height:22px;margin:0 3px 2px;padding:2px 5px;font-size:11px;text-align:left;border-radius:4px}
.schedule-more-badge{padding:1px 4px;font-size:10px;line-height:1.5;flex-shrink:0;border-radius:4px}
.scheduler-panel.is-expanded .calendar-scroll{overflow:hidden}
.scheduler-panel.is-expanded .screen-calendar.expanded-calendar{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:28px repeat(var(--weeks),minmax(0,1fr));height:100%;width:100%;min-width:0}
.scheduler-panel.is-expanded .screen-calendar .schedule-week{grid-template-rows:24px repeat(6,minmax(0,1fr));height:100%;min-height:0;overflow:hidden;align-content:stretch}
.scheduler-panel.is-expanded .screen-calendar .schedule-weekdays .weekday{height:28px;padding:3px 0}
.scheduler-panel.is-expanded .screen-calendar .schedule-week>.day.schedule-day{padding:2px 4px 0}
.scheduler-panel.is-expanded .screen-calendar .day-top{height:20px;min-height:0}.scheduler-panel.is-expanded .screen-calendar .date{height:20px;width:20px;font-size:11px}
.scheduler-panel.is-expanded .screen-calendar .schedule-event.cal-event{font-size:clamp(8px,calc(var(--schedule-slot-height,24px) * .55),12px);line-height:1.3;padding:1px 4px}
.scheduler-panel.is-expanded .screen-calendar .schedule-event.cal-event.continues-before{padding-left:10px}.scheduler-panel.is-expanded .screen-calendar .schedule-event.cal-event.continues-after{padding-right:10px}
.calendar-print>.print-footer,.org-print>.print-footer{justify-content:flex-end}
.calendar-print>.print-title .calendar-print-summary{display:flex;align-items:center;gap:4mm;color:#b4232c;font-size:10pt;font-weight:700;line-height:1.4;white-space:nowrap}

.employment-retiring{color:#935a20;background:#fff2e2;border-color:#efdbbc}.employment-other{color:#69558d;background:#f2edf8;border-color:#ded3ed}
.roster-status-cell{vertical-align:middle}.employment-status{height:28px;max-width:140px;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:0}
.employment-status.has-detail .employment-badge{font-size:10px;line-height:12px;padding:1px 6px}
.employment-status-detail{display:block;max-width:130px;font-size:10px;line-height:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#78858e}

/* The roster uses a separate print table; screen columns and row sizes stay intact. */
@page roster{size:A4 portrait;margin:12mm}
.print-sheet.roster-print{page:roster;width:186mm;height:auto}
.roster-print>.print-title{margin-bottom:5mm;gap:5mm;break-after:avoid}
.roster-print>.print-title h1{font-size:17pt;line-height:1.3;margin:0}
.roster-print>.print-title p{font-size:8pt;white-space:nowrap}
.roster-print .roster-print-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:10pt}
.roster-print-number{width:6%}.roster-print-name{width:12%}.roster-print-grade{width:10%}.roster-print-team{width:15%}.roster-print-placement{width:19%}.roster-print-phone{width:22%}.roster-print-hire-date{width:16%}
.roster-print .roster-print-table th,.roster-print .roster-print-table td{border:.25mm solid #8c9ba2;padding:2mm 1.5mm;font-size:10pt;line-height:1.45;text-align:center;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;color:#203642}
.roster-print .roster-print-table th{font-weight:600;background:#edf2f0}
.roster-print .roster-print-table td:nth-child(6),.roster-print .roster-print-table td:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.roster-print .roster-print-table .roster-print-empty{padding:8mm 2mm;white-space:normal;color:#78858e}
.roster-print>.print-footer{margin-top:4mm;font-size:8pt;break-inside:avoid}
@media print{#print-area .roster-print{height:auto;overflow:visible}.roster-print .roster-print-table thead{display:table-header-group;break-inside:avoid}.roster-print .roster-print-table tr{break-inside:avoid;page-break-inside:avoid}}

/* Report column filters and a header that tracks page scrolling inside the horizontal viewport. */
.report-table-scroll{position:relative;isolation:isolate;overflow-x:auto}
.report-table-scroll .report-table{min-width:1000px;border-collapse:separate;border-spacing:0}
.report-leave-value{border:0;background:transparent;color:var(--green);font-size:inherit;font-weight:600;line-height:1.4;min-width:24px;padding:0;text-decoration:none;white-space:nowrap}
.report-leave-value:hover{background:transparent;color:#174d3e;text-decoration:none}
.report-leave-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:13px 15px;background:#f1f7f3;border-radius:7px;font-size:14px}
.report-leave-summary>span{font-size:12px;color:var(--muted)}
.report-leave-details th,.report-leave-details td{font-size:13px;padding:12px 15px}
.report-leave-details th{text-align:left}.report-leave-details th:last-child{text-align:center}
.report-leave-details .report-leave-total th,.report-leave-details .report-leave-total td{background:#f1f6f2;font-weight:600}
.report-health-previous{display:inline-block;margin-left:8px;color:var(--muted);font-size:12px;line-height:1.5;white-space:normal}
.report-health-details th,.report-health-details td{padding:12px 15px;font-size:13px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.report-health-details th:first-child{width:24%;min-width:80px}
.report-health-history{color:var(--muted)}
.military-editor{max-width:700px}.military-limit-note{font-size:11px;color:#4f765f;background:#f1f7f3;padding:9px 12px;border-radius:6px;margin:0 0 14px}.military-row-head{display:grid;grid-template-columns:minmax(100px,1fr) minmax(190px,1.5fr) auto auto;gap:8px;margin:0 0 6px;color:var(--muted);font-size:10px;font-weight:600}.military-rows{display:grid;gap:8px;margin-bottom:10px}.military-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(190px,1.5fr) auto auto;gap:8px;align-items:center}.military-row select{font-size:12px}.military-date{display:flex;gap:3px;align-items:center}.military-date input{width:62px;text-align:center;padding:8px 4px;font-size:12px}.military-date input[data-military-segment=year]{width:75px}.military-date span{color:var(--muted)}.military-submitted{display:flex;gap:6px;align-items:center;font-size:11px;white-space:nowrap}.military-history{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.military-history h3{margin-bottom:10px}.military-history-table th,.military-history-table td{padding:9px 11px;text-align:left;white-space:normal}.military-history-table th{width:33%}.military-staff th,.military-staff td{text-align:left}.military-staff td:nth-child(2){text-align:center}
@media(max-width:520px){.military-row-head{grid-template-columns:minmax(100px,1fr) auto;gap:7px}.military-row-head span:nth-child(3){grid-column:1/-1}.military-row-head span:last-child{display:none}.military-row{grid-template-columns:minmax(100px,1fr) auto;gap:7px}.military-date{justify-content:flex-end}.military-row>button{justify-self:end}}
@media screen{html:has(#report-results){scrollbar-gutter:stable}}
.report-table-scroll .report-table th{position:sticky;top:var(--report-header-top,0px);z-index:3;background:#f8faf9;box-shadow:0 1px 0 var(--line);font-size:13px;color:#415b66;padding:12px 14px}
.report-table-scroll .report-name-column{text-align:left}
.report-table-scroll:focus-visible{outline:2px solid #75b6a0;outline-offset:-2px}
.report-filter-hint{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.report-visible-count{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}
.report-table .report-no-results{text-align:center;white-space:normal;padding:35px 20px;color:var(--muted)}
@media print{#report-filter-root{display:none!important}.report-print .report-table{min-width:0;border-collapse:collapse}.report-print .report-table th{position:static;box-shadow:none}}

/* 제목 부연설명 제거 후 정렬 */
.page-heading h1{margin-bottom:0}.org-toolbar{justify-content:flex-start}

.brand-icon .brand-symbol{display:block;width:100%;height:100%;object-fit:contain}.brand.brand-static .brand-icon{width:35px;height:35px;background:transparent}

/* Direct damage staff use the same cards and staff row as the other teams. */
.org-tree .org-staff{margin-top:calc(12px + var(--org-staff-align-gap,0px))}
.org-direct-staff-wrap{padding-top:118px;position:relative}
.org-direct-staff-wrap:before{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:1px solid #cad8ce}
.org-direct-staff{background:#fafcfb;position:relative}
.org-tree.is-own-scope .org-tree-teams{grid-template-columns:minmax(0,1fr);min-width:0;padding-top:0}
.org-tree.is-own-scope .org-tree-teams:before,.org-tree.is-own-scope .org-tree-team:before{display:none}
.compact-organization .org-tree.is-own-scope{max-width:760px;margin:0 auto}
.org-print .org-direct-staff-wrap{padding-top:calc(21mm + 8pt * 1.3 + 4.5mm)}
.org-print .org-staff{margin-top:calc(2mm + var(--org-staff-align-gap,0px))}
.org-print .org-tree.is-own-scope .org-tree-teams{grid-template-columns:minmax(max-content,1fr);padding-top:0}
