.mg-overlay{position:fixed;inset:0;background:#1218267a;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px}.mg-modal{width:min(620px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 70px #0000003d}.mg-modal.wide{width:min(900px,100%)}.mg-modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.mg-modal-head h3{margin:0}.mg-modal-body{padding:20px}.mg-form{display:flex;flex-direction:column;gap:12px}.mg-field{display:flex;flex-direction:column;gap:6px}.mg-field>span{font-size:13px;font-weight:850;color:#566076}.mg-field .input,.mg-field .select{width:100%}.mg-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mg-three{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mg-textarea{width:100%;min-height:86px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;resize:vertical}.mg-check{display:flex;align-items:center;gap:8px;min-height:44px;font-weight:800}.mg-actions{display:flex;align-items:center;gap:8px}.mg-spacer{flex:1}.danger-btn{border-color:#dc2626!important;color:#b91c1c!important;background:#fff!important}.danger-soft{border-color:#fecaca!important;color:#b91c1c!important;background:#fff7f7!important}.mg-datebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:16px}.mg-datebar>div:first-child{display:flex;flex-direction:column;gap:3px}.mg-datebar>div:first-child span{font-size:13px;color:var(--muted)}.mg-datebar>.input,.mg-datebar .mg-actions>.input{max-width:180px}.team-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.team-board-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:16px}.team-board-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.team-board-head h3{margin:0}.team-board-head>div{display:flex;align-items:baseline;gap:8px}.team-board-head span{font-size:13px;color:var(--muted)}.team-member-list{display:flex;flex-direction:column;gap:8px;min-height:50px}.team-member-chip{border:1px solid var(--line);border-radius:11px;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.team-member-chip>div{display:flex;flex-direction:column;gap:2px}.team-member-chip span{font-size:12px;color:var(--muted)}.team-member-chip>button{border:0;background:#fff1f2;color:#be123c;border-radius:8px;width:30px;height:30px;font-size:18px;cursor:pointer}.team-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px}.compact-empty{padding:14px!important}.mg-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:16px}.mg-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.mg-toolbar h3{margin:0}.mg-toolbar>div:first-child{display:flex;flex-direction:column;gap:3px}.attendance-edit-list{display:flex;flex-direction:column;gap:8px}.attendance-edit-line{display:grid;grid-template-columns:minmax(220px,1.5fr) 105px 78px 145px 78px auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:10px}.attendance-person{display:flex;flex-direction:column;gap:2px;min-width:0}.attendance-person span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attendance-person small{color:var(--ok);font-weight:800}.attendance-edit-line>.input,.attendance-edit-line>.select{min-width:0}.mg-tabs{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid var(--line);background:#fafbfc;overflow:auto}.mg-tabs button{border:0;background:transparent;border-radius:9px;padding:10px 13px;font-weight:850;color:var(--muted);white-space:nowrap}.mg-tabs button.active{background:var(--primary);color:#fff}.mg-admin-body{padding-top:18px}.project-admin-layout{display:grid;grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr);gap:16px}.project-admin-main{display:flex;flex-direction:column;gap:16px}.project-list{max-height:75vh;overflow:auto}.project-select{width:100%;border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 12px;text-align:left;display:flex;flex-direction:column;gap:3px;margin-bottom:7px}.project-select strong{font-size:15px}.project-select span{font-size:12px;color:var(--muted)}.project-select.active,.project-select:hover{border-color:#9bb4f4;background:var(--primary-weak)}.site-inline-form{display:grid;grid-template-columns:1fr 1fr 120px auto auto;gap:8px}.site-tree{display:flex;flex-direction:column;gap:7px;margin-top:12px}.site-tree-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.site-tree-main{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 11px;text-align:left;display:flex;flex-direction:column;gap:2px}.site-tree-main span{font-size:12px;color:var(--muted)}.pm-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.2fr) 160px auto;gap:8px;align-items:end}.pm-row>div{display:flex;flex-direction:column;gap:3px}.pm-row span{color:var(--muted)}.request-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);gap:16px}.request-list{display:flex;flex-direction:column;gap:7px}.request-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.request-list-row>button:first-child{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 11px;text-align:left;display:flex;flex-direction:column;gap:2px}.request-list-row span{font-size:12px;color:var(--muted)}.mini-delete{border:1px solid #fecaca;background:#fff7f7;color:#b91c1c;border-radius:9px;padding:0 10px;font-weight:800}.user-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.user-row{border:1px solid var(--line);border-radius:11px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.user-row>div:first-child{display:flex;flex-direction:column;gap:3px}.user-row span{font-size:12px;color:var(--muted)}.log-list{display:flex;flex-direction:column;gap:7px}.log-row{border:1px solid var(--line);border-radius:10px}.log-row summary{padding:10px 12px;cursor:pointer;display:grid;grid-template-columns:110px minmax(150px,1fr) minmax(130px,.7fr) 180px;gap:10px}.log-row summary span,.log-row summary time{font-size:12px;color:var(--muted)}.log-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 12px 12px}.log-values pre{overflow:auto;max-height:260px;background:#f6f8fa;border-radius:8px;padding:10px;font-size:11px}.employee-horizon{max-width:360px;white-space:normal;line-height:1.35}.employee-detail-actions{display:flex;align-items:center;gap:8px}.attendance-editor{margin-top:16px}@media(max-width:1180px){.team-board{grid-template-columns:1fr}.attendance-edit-line{grid-template-columns:minmax(220px,1fr) 105px 78px 130px 78px}.attendance-edit-line>.btn{grid-column:1/-1}.project-admin-layout{grid-template-columns:1fr}.project-list{max-height:300px}.site-inline-form,.pm-row{grid-template-columns:1fr 1fr}.request-admin-layout{grid-template-columns:1fr}}@media(max-width:760px){.mg-overlay{padding:10px}.mg-two,.mg-three{grid-template-columns:1fr}.mg-datebar{align-items:stretch;flex-direction:column}.mg-datebar>.input,.mg-datebar .mg-actions>.input{max-width:none;width:100%}.mg-datebar .mg-actions{flex-wrap:wrap}.team-add-row{grid-template-columns:1fr}.attendance-edit-line{grid-template-columns:1fr 1fr}.attendance-person{grid-column:1/-1}.attendance-edit-line>.btn{grid-column:1/-1}.site-inline-form,.pm-row{grid-template-columns:1fr}.log-row summary,.log-values{grid-template-columns:1fr}.user-row{align-items:flex-start;flex-direction:column}.user-row>.mg-actions{width:100%;justify-content:space-between}}@media(max-width:520px){.attendance-edit-line{grid-template-columns:1fr}.attendance-person,.attendance-edit-line>.btn{grid-column:auto}.mg-actions{flex-wrap:wrap}.mg-spacer{display:none}.mg-actions .btn{flex:1}.team-board-card{padding:12px}}.mg-priority-note{min-height:42px;display:flex;align-items:center;padding:9px 11px;border:1px solid #e4e7ec;border-radius:9px;background:#f8fafc;color:#667085;font-size:12px;line-height:1.45}.project-identity-fields{align-items:start}.project-identity-help{font-size:11px;line-height:1.45;color:var(--muted);margin-top:2px}.project-color-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.project-color-swatch{min-width:0;min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--swatch-bg);color:#344054;padding:6px 7px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:850}.project-color-swatch:hover:not(:disabled){border-color:var(--swatch);box-shadow:0 0 0 1px var(--swatch)}.project-color-swatch.selected{border-color:var(--swatch);box-shadow:0 0 0 2px var(--swatch);color:#172033}.project-color-swatch:disabled{opacity:.42}.project-color-swatch small{display:none}.project-color-dot{width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:var(--swatch)}@media(max-width:760px){.project-color-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}.project-type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.project-type-options button{min-height:40px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#475569;font-weight:800;cursor:pointer}.project-type-options button b{margin-left:4px;color:#64748b}.project-type-options button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px #2563eb}.project-type-options button.active b{color:#1d4ed8}.project-code-preview{font-weight:850;letter-spacing:.04em;background:#f8fafc}.project-list{display:flex;flex-direction:column}.project-list>.mg-toolbar{flex:0 0 auto}.project-list-filters{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}.project-list-filters>.input{width:100%}.project-completed-toggle{min-height:auto;font-size:12px;color:var(--muted);cursor:pointer}.project-completed-toggle input{width:16px;height:16px}.project-list-items{min-height:0;overflow:auto}.project-list-empty{padding:24px 10px;text-align:center;color:var(--muted);font-size:12px;font-weight:700}.project-calendar-intro{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 18px;margin-bottom:16px;border:1px solid #dce7ff;border-radius:14px;background:var(--primary-weak);color:#33466f}.project-calendar-intro strong{font-size:17px}.project-calendar-intro span{font-size:14px;font-weight:700}.project-calendar-summary{margin-bottom:16px}.project-calendar-head{flex-wrap:wrap}.project-calendar-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.project-filter{min-width:220px}.project-calendar-day{min-height:136px}.project-calendar-day.selected{box-shadow:inset 0 0 0 3px #8ca8ee}.project-day-items{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;margin-top:2px}.project-day-pill{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-width:0;padding:5px 6px;border-radius:7px;background:#f1f5ff;color:#294a97;font-size:11px;font-weight:800}.project-day-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-day-pill b{flex:0 0 auto}.project-day-more{font-size:11px;color:var(--muted);font-weight:800;padding-left:3px}.project-detail-list{display:flex;flex-direction:column;gap:14px}.project-detail-card{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.project-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;background:#f8faff;border-bottom:1px solid var(--line)}.project-detail-head>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.project-detail-head>div:first-child strong{font-size:17px}.project-detail-head>div:first-child span{font-size:13px;color:var(--muted);font-weight:700}.project-detail-metrics{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;font-size:14px}.project-site-detail-list{display:flex;flex-direction:column}.project-site-detail{padding:14px 16px;border-bottom:1px solid #edf0f4}.project-site-detail:last-child{border-bottom:0}.project-site-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-site-head>div:first-child{display:flex;flex-direction:column;gap:2px}.project-site-head strong{font-size:15px}.project-site-head>div:first-child span{font-size:12px;color:var(--muted);font-weight:700}.project-site-counts{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px}.project-assignee-list{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px}.project-assignee-chip{border:1px solid #d8deea;border-radius:9px;background:#fff;padding:7px 9px;display:flex;align-items:center;gap:7px;color:var(--text)}.project-assignee-chip:hover{border-color:#9db2e8;background:#f7faff}.project-assignee-chip strong{font-size:13px}.project-assignee-chip span{font-size:11px;color:var(--muted);font-weight:750}@media(max-width:780px){.project-calendar-summary{grid-template-columns:repeat(2,1fr)}.project-calendar-tools{width:100%}.project-filter{width:100%;min-width:0}.project-calendar-day{min-height:96px;padding:6px}.project-day-pill{padding:4px;font-size:10px}.project-day-pill span{max-width:72px}.project-day-more{display:none}.project-detail-head,.project-site-head{align-items:flex-start;flex-direction:column}.project-detail-metrics,.project-site-counts{justify-content:flex-start}.project-calendar-intro{align-items:flex-start;flex-direction:column;gap:4px}}.project-calendar-legend{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px 12px;border-bottom:1px solid var(--line);background:#fbfcfe}.project-legend-item{min-height:34px;border:1px solid transparent;border-left:4px solid var(--project-accent);border-radius:9px;background:var(--project-bg);color:var(--project-text);padding:5px 8px;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800}.project-legend-item:hover,.project-legend-item.active{box-shadow:inset 0 0 0 1px var(--project-accent)}.project-legend-item>span:last-child{color:#667085;font-weight:700;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-legend-dot{width:8px;height:8px;border-radius:50%;background:var(--project-accent);flex:0 0 8px}.project-day-pill{background:var(--project-bg);color:var(--project-text);border-left:4px solid var(--project-accent);padding-left:6px;box-shadow:inset 0 0 0 1px #0f172a09}.project-day-pill b{color:var(--project-text)}.project-identity-card{border-left:4px solid var(--project-accent)}.project-identity-card .project-detail-head{background:var(--project-bg)}.project-detail-title{display:flex;align-items:center;gap:8px;min-width:0}.project-detail-title>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-short-badge{display:inline-flex;align-items:center;min-height:25px;padding:0 8px;border-radius:999px;background:#fff;color:var(--project-text);border:1px solid var(--project-accent);font-size:11px;font-weight:900;white-space:nowrap}@media(max-width:780px){.project-calendar-legend{gap:5px;padding:7px}.project-legend-item{padding:4px 6px}.project-legend-item>span:last-child{display:none}.project-day-pill{border-left-width:3px}.project-detail-title{align-items:flex-start;flex-direction:column;gap:5px}}.project-filter-wrap{position:relative}.project-filter-button{min-width:210px;display:inline-flex;align-items:center;justify-content:space-between;gap:9px;background:#fff}.project-filter-button b{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:24px;padding:0 8px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px}.project-filter-button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px #2563eb}.project-filter-button.active b{background:#dbeafe;color:#1d4ed8}.project-filter-chevron{font-size:9px;color:#667085}.project-filter-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:80;width:min(390px,calc(100vw - 28px));padding:12px;border:1px solid #d7dce5;border-radius:14px;background:#fff;box-shadow:0 18px 45px #0f172a2e}.project-filter-popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.project-filter-popover-head strong{font-size:14px}.project-filter-reset{border:0;background:transparent;color:#2563eb;font-weight:800;font-size:12px;cursor:pointer}.project-filter-search{width:100%}.project-filter-quick{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}.project-filter-quick>span{margin-right:2px;color:#667085;font-size:11px;font-weight:800}.project-filter-quick button,.project-filter-actions button{border:1px solid #d8dee8;border-radius:8px;background:#f8fafc;color:#344054;padding:6px 9px;font-size:11px;font-weight:800;cursor:pointer}.project-filter-quick button:hover,.project-filter-actions button:hover{border-color:#9db2e8;background:#eff6ff;color:#1d4ed8}.project-filter-actions{display:flex;justify-content:flex-end;gap:6px;margin:9px 0 7px;padding-top:8px;border-top:1px solid #eef0f4}.project-filter-list{max-height:320px;overflow:auto;border:1px solid #e5e8ee;border-radius:10px}.project-filter-item{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 10px;border-bottom:1px solid #eef0f4;cursor:pointer}.project-filter-item:last-child{border-bottom:0}.project-filter-item:hover{background:#f8fafc}.project-filter-item input{width:17px;height:17px;flex:0 0 auto}.project-filter-dot{width:10px;height:28px;flex:0 0 10px;border-radius:5px;background:var(--project-accent);box-shadow:inset 0 0 0 1px #0f172a0d}.project-filter-name{display:flex;flex-direction:column;gap:2px;min-width:0}.project-filter-name strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-filter-name small{font-size:10px;color:#667085}.project-filter-empty{padding:24px 12px;text-align:center;color:#98a2b3;font-size:12px;font-weight:700}.project-calendar-day{height:auto;overflow:visible}.project-day-items{overflow:visible}@media(max-width:780px){.project-filter-wrap{width:100%}.project-filter-button{width:100%;min-width:0}.project-filter-popover{position:fixed;top:76px;left:12px;right:12px;width:auto;max-height:calc(100vh - 100px);overflow:auto}.project-filter-list{max-height:42vh}.project-calendar-day{min-height:112px}}.timeline-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.timeline-intro>div:first-child{display:flex;flex-direction:column;gap:4px}.timeline-intro strong{font-size:18px}.timeline-intro span{color:var(--muted,#667085);font-size:13px}.timeline-tools{display:flex;gap:8px}.timeline-shell{position:relative;border:1px solid #d9dee7;border-radius:14px;background:#fff;overflow:hidden}.timeline-scroll{--timeline-left-width:260px;--timeline-day-width:96px;width:100%;overflow:auto;max-height:calc(100vh - 205px);overscroll-behavior:contain;scroll-behavior:smooth}.timeline-grid{display:grid;grid-template-columns:var(--timeline-left-width) repeat(var(--timeline-days),var(--timeline-day-width));min-width:max-content;align-items:stretch}.timeline-row-fragment{display:contents}.timeline-sticky-top{position:sticky;top:0;z-index:8}.timeline-sticky-left{position:sticky;left:0;z-index:6}.timeline-corner{z-index:12!important;display:flex;flex-direction:column;justify-content:center;padding:10px 14px;background:#172033;color:#fff;border-right:1px solid #384154;border-bottom:1px solid #384154;min-height:62px}.timeline-corner span{font-size:11px;opacity:.72;margin-top:3px}.timeline-date{height:62px;display:flex;align-items:center;justify-content:center;gap:4px;position:sticky;background:#fff;border-right:1px solid #e5e7eb;border-bottom:1px solid #cfd5df}.timeline-date strong{font-size:18px}.timeline-date span{font-size:12px;color:#667085}.timeline-date small{position:absolute;top:4px;left:6px;font-size:10px;color:#8a94a6}.timeline-date.sunday strong,.timeline-date.sunday span{color:#dc2626}.timeline-date.saturday strong,.timeline-date.saturday span{color:#2563eb}.timeline-date.today{background:#fff7d6;box-shadow:inset 0 -3px #eab308}.timeline-row-label{min-height:92px;padding:12px 14px;background:var(--project-bg);border-right:3px solid var(--project-accent);border-bottom:1px solid #dfe3ea;display:flex;flex-direction:column;justify-content:center;color:var(--project-text)}.timeline-row-label strong{font-size:13px;line-height:1.35;color:#1f2937}.timeline-row-label span{margin-top:4px;font-size:12px;font-weight:700;color:var(--project-text)}.timeline-cell{min-height:92px;padding:4px;border-right:1px solid #e5e7eb;border-bottom:1px solid #dfe3ea;background:#fff}.timeline-cell.sunday{background:snow}.timeline-cell.saturday{background:#fafcff}.timeline-cell.today{background:#fffbea}.timeline-plan{width:100%;border:0;border-left:3px solid var(--project-accent);border-radius:6px;background:var(--project-bg);color:#1f2937;padding:5px 6px;text-align:left;margin-bottom:4px;display:flex;flex-direction:column;gap:3px;font:inherit}.timeline-plan.editable{cursor:pointer}.timeline-plan.editable:hover{outline:2px solid color-mix(in srgb,var(--project-accent) 28%,transparent)}.timeline-plan>b{font-size:11px;line-height:1}.timeline-plan>b.night{color:#5b21b6}.timeline-plan>b.day{color:#0369a1}.timeline-worker-list{display:flex;flex-direction:column;gap:1px}.timeline-worker-list i{font-style:normal;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-worker-list .unassigned{color:#98a2b3}.timeline-loading{position:absolute;inset:62px 0 0;display:grid;place-items:center;background:#ffffffb8;font-weight:700;color:#667085}.timeline-empty{padding:28px;text-align:center;color:#667085}.task-inline-form{grid-template-columns:minmax(220px,1fr) 100px auto auto!important}@media(max-width:780px){.timeline-intro{align-items:flex-start;flex-direction:column}.timeline-tools{width:100%}.timeline-tools .btn{flex:1}.timeline-scroll{--timeline-left-width:138px;--timeline-day-width:92px;max-height:calc(100vh - 245px)}.timeline-corner{padding:8px}.timeline-corner strong{font-size:12px}.timeline-corner span{display:none}.timeline-row-label{padding:8px;min-height:84px}.timeline-row-label strong,.timeline-row-label span{font-size:11px}.timeline-cell{min-height:84px;padding:3px}.timeline-plan{padding:4px}.timeline-worker-list i{font-size:11px}.timeline-worker-list i:nth-child(n+3){display:none}.timeline-worker-list i:nth-child(2):after{content:" …";color:#667085}}@media(max-width:900px)and (orientation:landscape){.timeline-scroll{--timeline-left-width:180px;--timeline-day-width:96px;max-height:calc(100vh - 135px)}.timeline-intro{flex-direction:row;align-items:center;margin-bottom:8px}.timeline-worker-list i:nth-child(n){display:block}.timeline-worker-list i:nth-child(2):after{content:""}}.schedule-view-toggle{width:42px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d9dee7;border-radius:10px;background:#fff;color:#667085;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .08s ease}.schedule-view-toggle:hover{background:#f3f5f8;color:#344054;border-color:#c7ced8}.schedule-view-toggle:active{transform:translateY(1px)}.schedule-view-toggle.active{background:#344054;color:#fff;border-color:#344054;box-shadow:inset 0 0 0 1px #0000000f,0 1px 2px #1018281f}.schedule-view-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.schedule-view-toggle.active .schedule-view-icon{stroke-width:2.35}.schedule-view-host{position:relative;width:100%;min-width:0}.schedule-view-switch-fixed{position:absolute;top:0;right:0;z-index:20}.schedule-view-host .timeline-intro{padding-right:52px}.schedule-view-host>.project-calendar,.schedule-view-host>.project-calendar-wrap{padding-top:0}@media(max-width:780px){.timeline-tools{flex-wrap:nowrap;padding-right:50px}.schedule-view-host .timeline-intro{padding-right:0}}.timeline-project-name{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.timeline-project-name>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-project-more{width:30px;height:24px;flex:0 0 30px;border:1px solid color-mix(in srgb,var(--project-accent) 24%,transparent);border-radius:7px;background:#ffffff94;color:var(--project-text);font-size:12px;font-weight:900;line-height:18px;letter-spacing:1px;cursor:pointer}.timeline-project-more:hover{background:#fff;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--project-accent) 30%,transparent)}.timeline-project-create-cell{min-height:56px;padding:8px 12px;border-right:3px solid #cbd5e1;border-top:1px solid #dfe3ea;background:#f8fafc;display:flex;align-items:center}.timeline-project-create-button{width:100%;min-height:38px;border:1px dashed #94a3b8;border-radius:9px;background:#fff;color:#334155;font-size:12px;font-weight:850;cursor:pointer}.timeline-project-create-button:hover{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.timeline-project-create-spacer{min-height:56px;border-right:1px solid #e5e7eb;border-top:1px solid #dfe3ea;background:#fafbfc}.timeline-cell.interactive{cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.timeline-cell.interactive:hover{box-shadow:inset 0 0 0 2px #2563eb38}.timeline-empty-add{position:absolute;inset:0;display:grid;place-items:center;font-size:18px;font-weight:700;color:#94a3b8;opacity:0;transition:opacity .12s ease}.timeline-cell.interactive:hover .timeline-empty-add{opacity:.7}.timeline-cell.copy-selected{box-shadow:inset 0 0 0 3px #2563eb!important;background:#eff6ff!important}.timeline-cell.copy-selected:after{content:"복사";position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:5px;background:#2563eb;color:#fff;font-size:9px;font-weight:800;z-index:4}.timeline-plan{pointer-events:none}.timeline-copy-mode-banner{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:9px 12px;border:1px solid #93c5fd;border-radius:10px;background:#eff6ff;color:#1e40af;font-size:12px}.timeline-copy-mode-banner strong{font-size:13px}.timeline-copy-mode-banner span{flex:1}.timeline-copy-mode-banner button{border:0;background:transparent;color:#1d4ed8;font-weight:800;cursor:pointer}.timeline-modal-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;background:#0f172a7a;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.timeline-admin-modal,.timeline-copy-modal{width:min(760px,calc(100vw - 28px));max-height:min(820px,calc(100vh - 40px));display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 24px 70px #0f172a40;overflow:hidden}.timeline-copy-modal{width:min(560px,calc(100vw - 28px))}.timeline-project-modal{width:min(680px,calc(100vw - 28px))}.timeline-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e5e7eb}.timeline-modal-head h3{margin:0 0 4px;font-size:18px}.timeline-modal-head span{font-size:12px;color:#64748b}.timeline-modal-body{padding:18px 20px;overflow:auto}.timeline-modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid #e5e7eb;background:#fbfcfe}.timeline-modal-foot.inline{padding:10px 0 0;border:0;background:transparent}.timeline-request-card{border:1px solid #dbe3ef;border-radius:12px;padding:13px;margin-bottom:12px;background:#fff}.timeline-request-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.timeline-request-head>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}.timeline-request-head span{font-size:12px;color:#64748b}.timeline-request-actions{display:flex;gap:6px;flex:0 0 auto}.timeline-assigned-list{display:flex;flex-direction:column;gap:6px;margin-top:10px}.timeline-assigned-person,.timeline-candidate{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:9px;background:#f8fafc}.timeline-assigned-person>div,.timeline-candidate>div{display:flex;flex-direction:column;gap:2px}.timeline-assigned-person span,.timeline-candidate span{font-size:11px;color:#64748b}.timeline-assigned-person>button{border:0;background:transparent;color:#b42318;font-size:11px;font-weight:800;cursor:pointer}.timeline-candidate-box{margin-top:10px;padding:10px;border:1px solid #bfdbfe;border-radius:10px;background:#f8fbff}.timeline-candidate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.timeline-candidate.disabled{opacity:.55}.timeline-empty-plan{display:flex;flex-direction:column;gap:5px;padding:26px;text-align:center;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b}.timeline-empty-plan strong{color:#334155}.timeline-quick-tabs{display:flex;border-bottom:1px solid #e5e7eb;background:#f8fafc}.timeline-quick-tabs button{flex:1;padding:11px;border:0;border-bottom:2px solid transparent;background:transparent;font-weight:800;color:#64748b;cursor:pointer}.timeline-quick-tabs button.active{border-bottom-color:#2563eb;color:#1d4ed8;background:#fff}.timeline-quick-form,.timeline-quick-form label{display:flex;flex-direction:column;gap:6px}.timeline-quick-form{gap:12px}.timeline-quick-form label>span{font-size:12px;font-weight:800;color:#475569}.timeline-quick-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.timeline-inline-add{display:flex;gap:8px;margin-bottom:12px}.timeline-inline-add .input{flex:1}.timeline-simple-list{display:flex;flex-direction:column;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.timeline-simple-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #edf2f7}.timeline-simple-list>div:last-child{border-bottom:0}.timeline-simple-list span{font-size:11px;color:#64748b}.timeline-copy-summary{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid #dbeafe;border-radius:12px;background:#eff6ff;color:#1e3a8a}.timeline-copy-summary span{font-size:12px}@media(max-width:780px){.timeline-empty-add{opacity:.38}.timeline-admin-modal,.timeline-copy-modal{align-self:end;width:100%;max-height:86vh;border-radius:18px 18px 0 0}.timeline-modal-backdrop{padding:0}.timeline-request-head{flex-direction:column}.timeline-request-actions{width:100%}.timeline-request-actions .btn{flex:1}.timeline-candidate-list,.timeline-quick-two{grid-template-columns:1fr}}.timeline-cell.copy-source{box-shadow:inset 0 0 0 3px #1d4ed8!important;background:#dbeafe!important}.timeline-cell.copy-source:after{content:"원본";position:absolute;left:3px;bottom:3px;padding:1px 4px;border-radius:5px;background:#1d4ed8;color:#fff;font-size:9px;font-weight:800;z-index:5}.timeline-copy-controls{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:10px 2px 0}.timeline-copy-status{display:flex;align-items:center;gap:8px;margin-right:auto;font-size:12px;color:#475569}.timeline-copy-status strong{color:#1d4ed8}.timeline-copy-actions{display:flex;gap:8px}@media(max-width:780px){.timeline-copy-controls{position:sticky;bottom:58px;z-index:30;margin-top:8px;padding:10px;background:#fffffff5;border:1px solid #dbe3ef;border-radius:12px;box-shadow:0 8px 24px #0f172a1f}.timeline-copy-status{flex-direction:column;align-items:flex-start;gap:2px}.timeline-copy-actions{margin-left:auto}}.timeline-project-type-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.timeline-project-type-options button{min-height:40px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#475569;font-weight:800;cursor:pointer}.timeline-project-type-options button b{margin-left:4px;color:#64748b}.timeline-project-type-options button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px #2563eb}.timeline-project-type-options button.active b{color:#1d4ed8}.timeline-code-preview{font-weight:850;letter-spacing:.04em;background:#f8fafc}.timeline-date.holiday{background:#fff2f2;padding-bottom:14px}.timeline-date.holiday strong,.timeline-date.holiday span{color:#c62828}.timeline-date.today.holiday{background:#fff0dc;box-shadow:inset 0 -3px #eab308,inset 3px 0 #ef4444}.timeline-holiday-name{position:absolute;left:4px;right:4px;bottom:3px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-style:normal;font-size:9px;font-weight:800;line-height:1.1;color:#b42318}.timeline-date.substitute .timeline-holiday-name{font-weight:900}.timeline-cell.holiday{background:#fff6f6}.timeline-cell.today.holiday{background:#fff5e8}.timeline-project-create-spacer.holiday{background:#fff6f6}@media(max-width:780px){.timeline-date.holiday{padding-bottom:13px}.timeline-holiday-name{font-size:8px;left:2px;right:2px}}.employee-timeline-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding-right:52px}.employee-timeline-intro>div:first-child{display:flex;flex-direction:column;gap:4px}.employee-timeline-intro strong{font-size:18px}.employee-timeline-intro span{font-size:13px;color:#667085}.employee-timeline-actions{display:flex;gap:8px;align-items:center}.employee-search{width:170px}.employee-timeline-shell{position:relative;border:1px solid #d9dee7;border-radius:14px;background:#fff;overflow:hidden}.employee-timeline-scroll{--employee-left-width:220px;--employee-day-width:clamp(86px,calc((100vw - 550px)/14),112px);overflow:auto;max-height:calc(100vh - 205px);scroll-behavior:smooth;overscroll-behavior:contain}.employee-timeline-grid{display:grid;grid-template-columns:var(--employee-left-width) repeat(var(--employee-days),var(--employee-day-width));min-width:max-content;align-items:stretch}.employee-sticky-top{position:sticky;top:0;z-index:8}.employee-sticky-left{position:sticky;left:0;z-index:6}.employee-timeline-corner{z-index:12!important;display:flex;flex-direction:column;justify-content:center;padding:10px 14px;background:#172033;color:#fff;border-right:1px solid #384154;border-bottom:1px solid #384154;min-height:62px}.employee-timeline-corner span{font-size:11px;opacity:.72;margin-top:3px}.employee-date{height:62px;display:flex;align-items:center;justify-content:center;gap:4px;background:#fff;border-right:1px solid #e5e7eb;border-bottom:1px solid #cfd5df;position:sticky}.employee-date strong{font-size:18px}.employee-date span{font-size:12px;color:#667085}.employee-date small{position:absolute;top:4px;left:6px;font-size:10px;color:#8a94a6}.employee-date.sunday strong,.employee-date.sunday span{color:#dc2626}.employee-date.saturday strong,.employee-date.saturday span{color:#2563eb}.employee-date.today{background:#fff7d6;box-shadow:inset 0 -3px #eab308}.employee-team-row{position:sticky;left:0;z-index:5;padding:7px 12px;background:#eef2f6;border-bottom:1px solid #d7dde6;font-size:12px;font-weight:800;color:#344054}.employee-team-row span{margin-left:7px;color:#667085;font-weight:600}.employee-row-label{min-height:84px;padding:10px 12px;background:#fff;border-right:1px solid #d9dee7;border-bottom:1px solid #e1e5eb;display:flex;flex-direction:column;justify-content:center}.employee-row-label strong{font-size:13px}.employee-cell{min-height:84px;padding:4px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e1e5eb;background:#fff;position:relative}.employee-cell.today{background:#fffbea}.employee-plan{width:100%;border:0;border-left:3px solid var(--project-accent);border-radius:6px;background:var(--project-bg);padding:5px 6px;margin-bottom:4px;text-align:left;display:flex;flex-direction:column;gap:2px;color:#1f2937;font:inherit}.employee-plan.editable{cursor:pointer}.employee-plan.editable:hover{outline:2px solid color-mix(in srgb,var(--project-accent) 25%,transparent)}.employee-plan strong{font-size:11px;color:var(--project-text)}.employee-plan span{font-size:10px;color:#475467;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-plan b{font-size:10px}.employee-plan b.night{color:#5b21b6}.employee-plan b.day{color:#0369a1}.employee-cell-add{position:absolute;inset:4px;border:1px dashed #d0d5dd;border-radius:7px;background:transparent;color:#98a2b3;font-size:20px;opacity:0;cursor:pointer}.employee-cell:hover .employee-cell-add{opacity:1}.employee-cell-add:hover{background:#f8fafc;color:#475467;border-color:#98a2b3}.employee-unavailable{height:100%;min-height:72px;border-radius:6px;background:repeating-linear-gradient(135deg,#f2f4f7,#f2f4f7 6px,#e4e7ec 6px 12px);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#667085;text-align:center;padding:5px}.employee-unavailable b{font-size:11px}.employee-unavailable span{font-size:9px;margin-top:2px}.employee-timeline-loading{position:absolute;inset:62px 0 0;display:grid;place-items:center;background:#ffffffb8;z-index:30;color:#667085;font-weight:700}.employee-timeline-empty{padding:28px;text-align:center;color:#667085}.employee-schedule-modal{max-width:620px}.employee-modal-tabs{display:flex;gap:6px;margin-bottom:14px}.employee-modal-tabs button{flex:1;border:1px solid #d0d5dd;border-radius:8px;background:#fff;padding:9px 10px;font-weight:700;color:#475467;cursor:pointer}.employee-modal-tabs button.active{background:#344054;color:#fff;border-color:#344054}.employee-schedule-modal .field-label{margin-top:12px;display:block}.employee-schedule-modal .modal-foot{display:flex;align-items:center}.employee-schedule-modal .mg-spacer{flex:1}@media(max-width:780px){.employee-timeline-intro{align-items:flex-start;flex-direction:column;padding-right:50px}.employee-timeline-actions{width:100%;gap:5px}.employee-search{display:none}.employee-timeline-actions .btn{flex:1}.employee-timeline-scroll{--employee-left-width:126px;--employee-day-width:90px;max-height:calc(100vh - 245px)}.employee-row-label{padding:7px}.employee-row-label strong{font-size:11px}.employee-plan{padding:4px}.employee-plan strong{font-size:10px}.employee-plan span{display:none}.employee-cell-add{opacity:.65}.employee-timeline-corner{padding:8px}.employee-timeline-corner strong{font-size:11px}.employee-timeline-corner span{display:none}}@media(max-width:900px)and (orientation:landscape){.employee-timeline-scroll{--employee-left-width:165px;--employee-day-width:94px;max-height:calc(100vh - 140px)}.employee-timeline-intro{flex-direction:row;align-items:center;margin-bottom:8px}.employee-search{display:block;width:140px}.employee-plan span{display:block}}.employee-modal-head-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.employee-schedule-modal .modal-head{display:flex;align-items:center;gap:12px}.employee-schedule-modal .modal-head h3{min-width:0}@media(max-width:560px){.employee-modal-head-actions .btn{padding-left:10px;padding-right:10px;font-size:12px}}.attendance-report-section{margin-top:18px}.attendance-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-card{border:1px solid #dbe3ef;border-radius:16px;padding:18px;background:#fbfdff;display:flex;flex-direction:column;gap:14px}.report-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.report-card-head>div{display:flex;flex-direction:column;gap:4px}.report-card-head strong{font-size:17px}.report-card-head span{color:#64748b;font-size:13px}.report-type-badge{flex:none;border-radius:999px;padding:5px 9px;background:#e8f0ff;color:#1d4ed8!important;font-weight:800;font-size:12px!important}.report-type-badge.neutral{background:#eef2f7;color:#475569!important}.report-fields{display:grid;gap:12px}.report-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.report-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.report-fields label,.report-field-full{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#334155;font-size:13px}.report-note{border-radius:12px;background:#f1f5f9;color:#475569;padding:11px 12px;font-size:13px;line-height:1.55}.report-download{align-self:flex-start;min-width:210px}.report-modal-backdrop{position:fixed;inset:0;background:#0f172a7a;z-index:1200;display:flex;align-items:center;justify-content:center;padding:20px}.report-modal{width:min(980px,96vw);max-height:90vh;overflow:hidden;background:#fff;border-radius:18px;box-shadow:0 24px 70px #0f172a47;display:flex;flex-direction:column}.report-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e2e8f0}.report-modal-head h3{margin:0 0 4px}.report-modal-head span{color:#64748b;font-size:13px}.labor-manager-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:520px;overflow:hidden}.labor-employee-list{overflow-y:auto;border-right:1px solid #e2e8f0;padding:10px;background:#f8fafc}.labor-employee-list button{width:100%;border:0;background:transparent;border-radius:10px;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer}.labor-employee-list button:hover,.labor-employee-list button.active{background:#e8f0ff}.labor-employee-list .complete{color:#15803d;font-size:11px;font-weight:800}.labor-employee-list .missing{color:#b45309;font-size:11px;font-weight:800}.labor-form{overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px}.labor-selected{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.labor-selected strong{font-size:20px}.labor-selected span{color:#64748b;font-size:13px}.labor-missing-note,.labor-complete-note{border-radius:10px;padding:10px 12px;font-size:13px;font-weight:700}.labor-missing-note{background:#fff7ed;color:#c2410c}.labor-complete-note{background:#f0fdf4;color:#15803d}.report-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:auto;padding-top:8px}@media(max-width:900px){.attendance-report-grid{grid-template-columns:1fr}.report-fields.three{grid-template-columns:1fr 1fr}.labor-manager-layout{grid-template-columns:1fr;overflow-y:auto}.labor-employee-list{border-right:0;border-bottom:1px solid #e2e8f0;display:flex;gap:6px;overflow-x:auto;overflow-y:hidden}.labor-employee-list button{min-width:150px}.labor-form{overflow:visible}}@media(max-width:600px){.report-fields.two,.report-fields.three{grid-template-columns:1fr}.report-card{padding:14px}.report-card-head{flex-direction:column}.report-download{width:100%}.report-modal-backdrop{padding:0;align-items:flex-end}.report-modal{width:100%;max-height:92vh;border-radius:18px 18px 0 0}.labor-selected{flex-direction:column;align-items:flex-start}}.monthly-attendance-section{margin-top:18px}.monthly-attendance-head{align-items:flex-start}.monthly-attendance-actions{display:flex;gap:8px;flex-wrap:wrap}.monthly-attendance-toolbar{display:grid;grid-template-columns:180px minmax(240px,360px) minmax(220px,1fr);gap:12px;align-items:end;margin-bottom:12px}.monthly-attendance-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#334155}.monthly-privacy-status{min-height:68px;border:1px solid #dbe3ef;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;gap:2px;background:#fbfdff}.monthly-privacy-status>span{font-size:11px;color:#64748b;font-weight:700}.monthly-privacy-status strong{font-size:14px}.monthly-privacy-status strong.warn{color:#b45309}.monthly-privacy-status strong.ok{color:#15803d}.monthly-privacy-status small{color:#64748b;font-size:11px}.monthly-attendance-note{margin-bottom:12px;padding:10px 12px;border-radius:10px;background:#fff8e7;color:#7c5a13;font-size:13px;line-height:1.5;border:1px solid #f4df9a}.labor-sheet-wrap{position:relative;overflow:auto;border:1px solid #cfd8e5;border-radius:12px;background:#fff;max-height:calc(100vh - 300px)}.labor-sheet-table{border-collapse:separate;border-spacing:0;min-width:max-content;width:100%;font-size:12px}.labor-sheet-table th,.labor-sheet-table td{height:38px;min-width:42px;padding:5px 6px;text-align:center;border-right:1px solid #d9e0e9;border-bottom:1px solid #d9e0e9;background:#fff;white-space:nowrap}.labor-sheet-table thead th{position:sticky;top:0;z-index:6;background:#eef3f8;font-weight:800;color:#334155}.labor-sheet-table thead th.sun{color:#dc2626;background:#fff1f2}.labor-sheet-table thead th.sat{color:#2563eb;background:#eff6ff}.labor-sticky{position:sticky!important;z-index:7!important;background:#fff!important}.labor-sticky.no{left:0;min-width:52px;width:52px}.labor-sticky.name{left:52px;min-width:112px;width:112px;text-align:left!important;padding-left:10px!important;box-shadow:2px 0 #cfd8e5}.labor-sheet-table thead .labor-sticky{z-index:10!important;background:#e8eef5!important}.labor-day-cell{padding:0!important}.labor-day-cell button{width:100%;height:100%;min-height:37px;border:0;background:transparent;font:inherit;font-weight:700;color:#344054;cursor:pointer}.labor-day-cell button:hover{background:#f4f7fb}.labor-day-cell.absent button{background:#fff1f2;color:#b42318}.labor-day-cell.substitute button{background:#eefbf3;color:#067647}.labor-total{font-weight:800;background:#f8fafc!important;min-width:68px!important}.labor-money{font-weight:700;background:#f8fafc!important;min-width:92px!important;text-align:right!important;padding-right:9px!important}.labor-private{min-width:110px!important}.labor-private span{display:inline-block;padding:4px 7px;border-radius:999px;background:#fff7ed;color:#b45309;font-size:11px;font-weight:800}.labor-private b{color:#15803d;font-size:11px}.labor-sheet-loading{position:absolute;inset:39px 0 0;display:grid;place-items:center;background:#ffffffc7;z-index:20;font-weight:700;color:#64748b}.labor-sheet-empty{height:80px!important;color:#64748b}.period-report-card{max-width:900px}@media(max-width:900px){.monthly-attendance-toolbar{grid-template-columns:1fr 1fr}.monthly-privacy-status{grid-column:1/-1}.labor-sheet-wrap{max-height:calc(100vh - 330px)}}@media(max-width:600px){.monthly-attendance-actions{width:100%}.monthly-attendance-actions .btn{flex:1}.monthly-attendance-toolbar{grid-template-columns:1fr}.monthly-privacy-status{grid-column:auto}.labor-sticky.name{min-width:96px;width:96px}.labor-sheet-table th,.labor-sheet-table td{min-width:38px;padding:4px}}.attendance-view>.datebar{display:none!important}:root{--bg:#f5f7fa;--surface:#fff;--surface-2:#f9fafb;--text:#172033;--muted:#667085;--line:#dfe3e8;--primary:#2457d6;--primary-weak:#eef4ff;--danger:#b42318;--danger-weak:#fff1f0;--ok:#146c43;--ok-weak:#eaf8f0;--over:#5b3fa8;--over-weak:#f3efff;--shadow:0 6px 20px rgba(20,30,55,.08);--radius:16px}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans KR,Arial,sans-serif;font-size:16px}body{min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}.app{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{background:#172033;color:#fff;padding:22px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:20px}.brand{display:flex;align-items:center;gap:12px;padding:8px 8px 18px}.brand-mark{width:42px;height:42px;border-radius:12px;background:#fff;color:#172033;display:grid;place-items:center;font-weight:800}.brand-mark.large{width:60px;height:60px;margin:0 auto 10px;background:#172033;color:#fff;font-size:24px}.brand h1{font-size:19px;margin:0;line-height:1.2}.brand small{color:#b8c1d3}.nav{display:flex;flex-direction:column;gap:7px}.nav button{border:0;background:transparent;color:#d7deeb;padding:13px 14px;border-radius:12px;text-align:left;font-weight:700;display:flex;gap:10px;align-items:center;min-height:48px}.nav button:hover,.nav button.active{background:#2a3652;color:#fff}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.13);padding-top:16px}.user-mini{display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:50%;background:#e9edf5;color:#26324b;display:grid;place-items:center;font-weight:800}.sidebar-role{color:#aeb8ca;font-size:13px}.test-account-switcher{margin-top:14px;padding:10px;border:1px dashed rgba(255,255,255,.24);border-radius:10px;background:#ffffff0b}.test-switch-title{font-size:12px;color:#aeb8ca;font-weight:800;margin-bottom:8px}.test-switch-title span{color:#ffd166}.test-switch-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.test-switch-buttons button{min-height:36px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#222d45;color:#d7deeb;font-size:12px;font-weight:850;padding:0 7px}.test-switch-buttons button:hover{background:#2d3b5b}.test-switch-buttons button.active{background:#fff;color:#172033;border-color:#fff}.test-switch-buttons button:disabled{cursor:wait;opacity:.68}.sidebar-logout{margin-top:10px;width:100%;min-height:40px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:transparent;color:#d7deeb;font-weight:800}.main{min-width:0;padding-bottom:86px}.topbar{height:74px;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.topbar-left{display:flex;align-items:center;gap:12px}.page-title{font-size:22px;font-weight:850;margin:0}.topbar-actions{display:flex;align-items:center;gap:10px}.role-badge{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:13px;font-weight:900}.role-badge.manager{background:var(--primary-weak);color:var(--primary)}.btn{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:11px;min-height:44px;padding:0 15px;font-weight:800}.btn:hover{background:#f7f8fb}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover{background:#1f4dc1}.btn-danger{background:#fff;border-color:#efc4c0;color:var(--danger)}.content{padding:26px;max-width:1500px;margin:0 auto}.datebar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;background:var(--surface);padding:16px;border-radius:var(--radius);box-shadow:var(--shadow)}.date-controls{display:flex;align-items:center;gap:8px}.date-label{min-width:270px;text-align:center;font-size:21px;font-weight:900}.icon-btn{width:44px;height:44px;border:1px solid var(--line);background:#fff;border-radius:11px;font-weight:900}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.summary-card{background:var(--surface);border:1px solid #e9ebef;border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow)}.summary-card .label{color:var(--muted);font-weight:700}.summary-card .value{font-size:34px;font-weight:900;margin-top:5px}.summary-card .sub{font-size:14px;color:var(--muted);margin-top:3px}.danger-value{color:var(--danger)}.over-value{color:var(--over)}.section{background:var(--surface);border:1px solid #e6e9ef;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:20px}.section-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head h2{font-size:19px;margin:0}.section-body{padding:18px 20px}.muted{color:var(--muted)}.strong{font-weight:700}.small-gap{margin-bottom:3px}.top-gap{margin-top:14px}.no-top{margin-top:0}.full-width{width:100%}.filters{display:flex;flex-wrap:wrap;gap:10px}.filters-three{margin-bottom:14px}.input,.select{height:44px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:0 12px;min-width:170px}.input{flex:1}.site-list{display:flex;flex-direction:column;gap:12px}.site-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.site-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px;background:#fbfcfe}.site-main{min-width:0}.site-title{font-size:18px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-sub{font-size:14px;color:var(--muted);margin-top:3px}.site-stats{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.metric{font-weight:800}.status{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border-radius:999px;font-size:14px;font-weight:900;white-space:nowrap}.status.shortage{color:var(--danger);background:var(--danger-weak)}.status.filled{color:var(--ok);background:var(--ok-weak)}.status.over{color:var(--over);background:var(--over-weak)}.status.neutral{background:#f2f4f7;color:#475467}.site-card-body{padding:15px 17px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:14px;align-items:start}.people{display:flex;flex-direction:column;gap:8px}.people-group{display:flex;flex-wrap:wrap;gap:8px}.people-group-chips{display:flex;flex-wrap:wrap;gap:8px;width:100%}.person-chip{border:1px solid #d7dce4;border-radius:10px;padding:8px 10px;background:#fff;display:flex;gap:7px;align-items:center;font-weight:750}.person-chip.cancellable:hover{border-color:#efc4c0;background:#fff8f7}.chip-x{color:var(--danger);font-weight:900}.skill{font-size:12px;padding:3px 6px;border-radius:6px;background:#f0f2f5;color:#4e596d;font-weight:800}.edit-actions{display:none;gap:7px;flex-wrap:wrap;justify-content:flex-end}.edit-actions.visible{display:flex}.team-label{width:100%;font-size:13px;color:var(--muted);font-weight:900;margin-top:4px}.mobile-card-list{display:none}table{width:100%;border-collapse:collapse}.table-wrap{overflow:auto}th,td{padding:14px 12px;border-bottom:1px solid #eceff3;text-align:left;white-space:nowrap}th{font-size:14px;color:#566076;background:#fafbfc}td{font-weight:600}.row-click{cursor:pointer}.row-click:hover{background:#fafcff}.empty{padding:36px;text-align:center;color:var(--muted)}.employee-header{display:flex;gap:14px;align-items:center}.employee-avatar{width:54px;height:54px}.employee-name{font-size:21px;font-weight:900}.employee-meta{color:var(--muted);margin-top:3px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.project-card{border:1px solid var(--line);border-radius:14px;padding:17px;background:#fff}.project-card h3{margin:0 0 8px;font-size:18px}.project-card p{margin:5px 0;color:var(--muted)}.card-head-line{display:flex;justify-content:space-between;gap:10px}.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-tile{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px;text-align:left;min-height:130px}.admin-tile strong{display:block;font-size:18px;margin-bottom:8px}.admin-tile span{color:var(--muted)}.mobile-nav{display:none}.modal-backdrop{position:fixed;inset:0;background:#0f172a7a;z-index:100;display:flex;align-items:center;justify-content:center;padding:18px}.modal{width:min(680px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 20px 60px #00000040}.modal-head{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:17px 18px;display:flex;align-items:center;justify-content:space-between;z-index:2}.modal-head h3{margin:0;font-size:20px}.modal-body{padding:18px}.close-btn{width:42px;height:42px;border:0;background:#f2f4f7;border-radius:10px;font-size:22px}.option-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.option{border:1px solid var(--line);border-radius:12px;padding:13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.option.disabled{opacity:.58;background:#fafafa}.option-main{display:flex;align-items:center;gap:10px}.option-meta{color:var(--muted);font-size:14px}.warning{color:var(--danger);font-size:13px;font-weight:800}.modal-foot{padding:15px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.toast{position:fixed;right:22px;bottom:22px;background:#172033;color:#fff;padding:13px 16px;border-radius:12px;z-index:120;box-shadow:var(--shadow);font-weight:800}.calendar-wrap{background:var(--surface);border:1px solid #e6e9ef;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:20px}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.calendar-title{font-size:22px;font-weight:900}.calendar-controls{display:flex;gap:8px;align-items:center}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{background:#fafbfc;border-bottom:1px solid var(--line)}.calendar-weekdays div{padding:12px 8px;text-align:center;font-size:13px;font-weight:900;color:var(--muted)}.calendar-grid{background:#eef1f5;gap:1px}.calendar-loading{opacity:.6}.calendar-day{min-height:112px;border:0;background:#fff;padding:10px;text-align:left;display:flex;flex-direction:column;gap:6px;position:relative}.calendar-day:hover{background:#f7faff}.calendar-day.other-month{background:#fafafa;color:#a0a8b8}.calendar-day.today{box-shadow:inset 0 0 0 2px var(--primary)}.calendar-day .day-num{font-size:16px;font-weight:900}.calendar-day .day-status{margin-top:auto;display:flex;flex-direction:column;gap:4px}.calendar-badge{font-size:12px;font-weight:900;border-radius:7px;padding:4px 6px;display:inline-flex;width:max-content;max-width:100%}.calendar-badge.shortage{background:var(--danger-weak);color:var(--danger)}.calendar-badge.filled{background:var(--ok-weak);color:var(--ok)}.calendar-badge.over{background:var(--over-weak);color:var(--over)}.calendar-note{font-size:12px;color:var(--muted);font-weight:700}.staffing-calendar-intro{padding:16px 20px;background:var(--primary-weak);border-bottom:1px solid #dce7ff;color:#33466f;font-weight:700}.staffing-calendar-intro>span{display:block}.calendar-guide-desktop{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #d7e3fb}.calendar-guide-desktop>strong{font-size:13px;color:#27477f}.calendar-guide-mobile{display:none}.calendar-guide-mobile summary{cursor:pointer;font-weight:900;color:#27477f}.calendar-guide-mobile .legend{margin-top:9px;padding-top:9px;border-top:1px solid #d7e3fb}.staffing-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.staffing-detail-date{font-size:20px;font-weight:900}.back-to-calendar{white-space:nowrap}.legend{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.loading-block{padding:30px;text-align:center;color:var(--muted);font-weight:700}.error-box{padding:12px 14px;border:1px solid #f1c7c3;background:var(--danger-weak);color:var(--danger);border-radius:10px;font-weight:700}.block-error{margin:12px}.full-state{min-height:100vh;display:grid;place-items:center;align-content:center;gap:14px;text-align:center;padding:30px}.spinner{width:34px;height:34px;border:4px solid #dfe6f6;border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(180deg,#eef3ff 0,#f5f7fa 45%)}.login-card{width:min(440px,100%);background:#fff;border:1px solid #e4e8f0;border-radius:20px;box-shadow:0 18px 60px #18274b1f;padding:30px}.login-card h1{text-align:center;margin:8px 0}.login-card>p{text-align:center}.field-label{display:block;margin:16px 0 6px;font-weight:800}.login-input{width:100%;min-width:0}.login-button{width:100%;margin-top:18px}.login-note{font-size:13px!important;color:var(--muted);margin:14px 0 0!important}.setup-card pre{overflow:auto;background:#f6f8fa;padding:12px;border-radius:10px;text-align:left}.setup-card code{font-size:13px}.always-list{display:flex!important;flex-direction:column;gap:10px}.mobile-row-button{width:100%;text-align:left}@media(max-width:1080px){.summary-grid,.project-grid,.admin-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.calendar-guide-desktop{display:none}.calendar-guide-mobile{display:block;margin-top:9px}}@media(max-width:780px){html,body{font-size:16px}.app{display:block}.sidebar{display:none}.main{padding-bottom:84px}.topbar{height:64px;padding:0 12px}.page-title{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40vw}.topbar-actions{gap:4px}.topbar-actions .btn{display:inline-flex;align-items:center;min-height:40px;padding:0 7px;font-size:12px}.role-badge{display:none}.content{padding:14px}.datebar{padding:12px;flex-direction:column;align-items:stretch}.date-controls{justify-content:center}.date-label{min-width:0;font-size:18px;flex:1}.datebar>.btn{width:100%}.summary-grid{grid-template-columns:repeat(2,1fr);gap:10px}.summary-card{padding:14px}.summary-card .value{font-size:29px}.section-head{padding:15px;align-items:flex-start}.section-body{padding:14px}.filters{display:grid;grid-template-columns:1fr 1fr}.filters .input{grid-column:1/-1;min-width:0}.filters .select{min-width:0;width:100%}.site-card-head{align-items:flex-start;flex-direction:column}.site-stats{justify-content:flex-start}.site-card-body{grid-template-columns:1fr}.edit-actions.visible{justify-content:flex-start}.person-chip{flex:1 1 140px;justify-content:space-between;padding:10px 11px}.desktop-table{display:none}.mobile-card-list{display:flex;flex-direction:column;gap:10px}.mobile-row{border:1px solid var(--line);border-radius:12px;padding:13px;background:#fff}.mobile-row strong{display:block;font-size:17px}.mobile-row .meta{color:var(--muted);margin-top:4px;font-size:14px}.project-grid,.admin-grid{grid-template-columns:1fr}.mobile-nav{position:fixed;left:0;right:0;bottom:0;height:72px;background:#fff;border-top:1px solid var(--line);z-index:50;display:grid;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{border:0;background:#fff;color:#697386;font-size:11px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.mobile-nav button.active{color:var(--primary)}.mobile-nav .ico{font-size:20px}.toast{left:14px;right:14px;bottom:88px;text-align:center}.calendar-head{padding:14px;align-items:flex-start}.calendar-title{font-size:19px}.calendar-controls .btn{padding:0 10px;min-height:40px}.calendar-day{min-height:82px;padding:7px}.calendar-day .day-num{font-size:14px}.calendar-badge{font-size:10px;padding:3px 4px}.calendar-note{display:none}.staffing-detail-head{align-items:flex-start;flex-direction:column}.back-to-calendar{width:100%}.option{align-items:flex-start;flex-direction:column}.option>.btn{width:100%}.login-card{padding:24px 20px}}.calendar-sites{font-size:11px;color:#3e4d68;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block}.calendar-day.other-month .calendar-sites{color:#98a1b1}@media(max-width:780px){.calendar-sites{font-size:10px}.calendar-day .day-status{gap:3px}}.staffing-datebar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;background:var(--surface);padding:14px 16px;border-radius:var(--radius);box-shadow:var(--shadow)}.staffing-date-controls,.staffing-date-actions{display:flex;align-items:center;gap:8px}.staffing-detail-date{min-width:245px;text-align:center;font-size:21px;font-weight:900}.calendar-day{min-height:124px}.calendar-staffing-counts{font-size:12px;color:#475467;font-weight:850;white-space:nowrap}.site-card{transition:border-color .15s ease,box-shadow .15s ease}.site-card-shortage{border-left:4px solid #d92d20}.site-card-over{border-left:4px solid var(--over)}.site-card-shortage .site-card-head{background:snow}.site-card-over .site-card-head{background:#fcfaff}.site-card-head{padding:14px 16px}.site-title{font-size:17px}.site-kpis{display:flex;align-items:stretch;gap:7px;flex-shrink:0}.site-kpi{min-width:68px;padding:7px 10px;border-radius:10px;background:#f5f7fa;text-align:center}.site-kpi span{display:block;font-size:11px;color:var(--muted);font-weight:800;line-height:1.1}.site-kpi strong{display:block;margin-top:3px;font-size:18px;line-height:1.1}.site-kpi.status-kpi.shortage{background:var(--danger-weak);color:var(--danger)}.site-kpi.status-kpi.shortage span{color:var(--danger)}.site-kpi.status-kpi.filled{background:var(--ok-weak);color:var(--ok)}.site-kpi.status-kpi.filled span{color:var(--ok)}.site-kpi.status-kpi.over{background:var(--over-weak);color:var(--over)}.site-kpi.status-kpi.over span{color:var(--over)}.site-card-body{display:flex;flex-direction:column;gap:12px;padding:13px 16px}.people-section{min-width:0}.people-heading{font-size:13px;color:var(--muted);font-weight:800;margin-bottom:8px}.people-heading strong{color:var(--text);font-size:14px}.people,.people-group{gap:6px}.team-label{margin-top:2px}.person-chip{padding:7px 9px}.site-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f4;padding-top:12px}.site-card-primary-actions,.site-card-plan-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.site-card-actions .btn{min-height:40px;padding:0 13px}.action-menu{position:relative}.action-menu summary{list-style:none}.action-menu summary::-webkit-details-marker{display:none}.action-more{width:42px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;font-size:20px}.action-menu-popover{position:absolute;right:0;top:46px;z-index:12;min-width:132px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 32px #141e3729}.action-menu-item{width:100%;border:0;background:#fff;border-radius:8px;padding:10px 11px;text-align:left;font-weight:800}.action-menu-item:hover{background:#f7f8fb}@media(max-width:780px){.staffing-datebar{align-items:stretch;flex-direction:column;padding:12px}.staffing-date-controls{justify-content:center}.staffing-detail-date{min-width:0;flex:1;font-size:18px}.staffing-date-actions{display:grid;grid-template-columns:1fr 1fr}.staffing-date-actions .btn{width:100%}.calendar-day{min-height:92px}.calendar-staffing-counts{font-size:10px}.site-card-head{gap:10px}.site-kpis{width:100%}.site-kpi{flex:1;min-width:0;padding:6px}.site-kpi strong{font-size:17px}.site-card-actions{align-items:stretch;flex-direction:column}.site-card-primary-actions,.site-card-plan-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.site-card-actions .btn,.site-card-plan-actions .action-menu,.site-card-plan-actions .action-more{width:100%}.action-menu-popover{left:0;right:0}.person-chip{flex:0 1 auto}}.priority-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:900;line-height:1.2;white-space:nowrap;border:1px solid transparent;vertical-align:middle}.priority-badge.required{background:#f4ebff;color:#6941c6;border-color:#e9d7fe}.priority-badge.semi-required{background:#eef4ff;color:#3538cd;border-color:#d1e0ff}.priority-badge.normal{background:#f2f4f7;color:#667085;border-color:#e4e7ec}.calendar-badge.assignment-needed,.status.assignment-needed{background:#fff4e5;color:#b54708;border-color:#fedf89}.content.content-wide-schedule{max-width:none;width:100%;margin:0;padding-left:26px;padding-right:26px}.modal-head-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.assignment-modal{width:min(680px,calc(100vw - 36px));height:min(720px,calc(100vh - 36px));max-height:none;overflow:hidden;display:flex;flex-direction:column}.assignment-modal .modal-head{flex:0 0 auto}.assignment-modal .modal-body{flex:1 1 auto;min-height:0;overflow:auto}.assignment-modal .modal-foot{flex:0 0 auto}.assignment-modal .option-list{min-height:0}@media(max-width:780px){.assignment-modal{width:100%;height:min(760px,calc(100vh - 20px))}.assignment-modal .modal-head-actions .btn{padding-left:10px;padding-right:10px;font-size:12px}}.action-more{min-width:44px;padding:0 12px;display:inline-grid;place-items:center;font-size:20px;line-height:1}.action-menu-portal{position:fixed;z-index:220;width:184px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 38px #141e3733}.action-menu-item{width:100%;min-height:42px;border:0;border-radius:8px;background:#fff;text-align:left;padding:0 12px;color:var(--text);font-weight:800}.action-menu-item:hover{background:#f5f7fb}.action-menu-item.danger{color:var(--danger)}.action-menu-item.danger:hover{background:var(--danger-weak)}.action-sheet-backdrop{position:fixed;inset:0;z-index:230;background:#0f172a5c;display:flex;align-items:flex-end;justify-content:center;padding:12px}.action-sheet{width:min(520px,100%);padding:8px;border-radius:18px 18px 14px 14px;background:#fff;box-shadow:0 -12px 38px #141e3733}.action-sheet-handle{width:38px;height:4px;margin:2px auto 8px;border-radius:999px;background:#d0d5dd}.action-sheet-item{width:100%;min-height:52px;border:0;border-radius:10px;background:#fff;text-align:left;padding:0 16px;color:var(--text);font-weight:850}.action-sheet-item:active{background:#f5f7fb}.action-sheet-item.danger{color:var(--danger)}.action-sheet-item.cancel{margin-top:4px;border-top:1px solid var(--line);text-align:center;color:var(--muted)}@media(min-width:781px){.action-sheet-backdrop{display:none}}.staffing-calendar-legend-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid var(--line);background:#fbfcfe}.staffing-calendar-legend-top .status{min-height:27px;padding:0 8px;font-size:12px}.calendar-legend-help{position:relative;flex:0 0 auto}.calendar-legend-help summary{list-style:none;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:#fff;color:#516078;font-weight:900;cursor:pointer}.calendar-legend-help summary::-webkit-details-marker{display:none}.calendar-legend-help>div{position:absolute;right:0;top:34px;z-index:30;width:min(320px,76vw);padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow);color:#526078;font-size:12px;font-weight:700;line-height:1.45}.project-combobox{position:relative}.project-combobox .input{min-width:0}.project-combobox-list{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:40;max-height:260px;overflow:auto;border:1px solid #cfd6e3;border-radius:11px;background:#fff;box-shadow:0 12px 30px #141e3729;padding:5px}.project-combobox-option{width:100%;min-height:42px;border:0;border-radius:8px;background:#fff;text-align:left;padding:8px 10px;color:var(--text)}.project-combobox-option:hover,.project-combobox-option.active{background:var(--primary-weak);color:#1f4dc1}.project-combobox-empty{padding:12px;color:var(--muted);font-size:13px;font-weight:700}.field-help{margin-top:6px;color:var(--muted);font-size:12px;font-weight:700;line-height:1.45}.project-calendar-status-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid var(--line);background:#fff;font-size:11px;color:#667085;font-weight:800}.project-calendar-status-legend>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.shortage-swatch{display:inline-block;width:15px;height:15px;border-radius:5px;background:#fff0ed;border:1px solid #f3b7af}.project-calendar-day.has-shortage{background:#fff3f1}.project-calendar-day.has-shortage:hover{background:#ffebe8}.project-calendar-day.other-month.has-shortage{background:#fff8f7}.project-calendar-day.has-shortage.today{box-shadow:inset 0 0 0 2px var(--primary),inset 0 -4px #e37a6d}.project-calendar-day.has-shortage.selected{box-shadow:inset 0 0 0 3px #8ca8ee,inset 0 -4px #e37a6d}.project-day-pill{align-items:center}.project-day-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-day-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:0 0 auto}.work-priority-badge{display:inline-flex;align-items:center;min-height:20px;padding:0 6px;border-radius:999px;font-size:10px;font-weight:950;white-space:nowrap;border:1px solid transparent}.work-priority-badge.high{background:#fff4e5;color:#a45100;border-color:#f4c780}.work-priority-badge.urgent{background:#feeceb;color:#b42318;border-color:#f0aaa4}.project-day-alerts{margin-top:auto;display:flex;flex-direction:column;gap:3px;width:100%}.project-day-warning{display:inline-flex;width:max-content;max-width:100%;padding:3px 5px;border-radius:6px;background:#fff;color:#b42318;border:1px solid #f2b9b3;font-size:10px;font-weight:950}.project-day-required{display:inline-flex;width:max-content;max-width:100%;padding:3px 5px;border-radius:6px;background:#fff7df;color:#8a5a00;border:1px solid #ead39b;font-size:10px;font-weight:950}.project-detail-title .work-priority-badge{margin-left:2px}.project-site-title-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}@media(max-width:780px){.staffing-calendar-legend-top{align-items:flex-start;padding:7px 8px}.staffing-calendar-legend-top .legend{gap:5px}.staffing-calendar-legend-top .status{min-height:24px;padding:0 6px;font-size:10px}.project-calendar-status-legend{gap:7px;padding:6px 7px}.project-day-meta .work-priority-badge{font-size:9px;min-height:18px;padding:0 4px}.project-day-alerts{gap:2px}.project-day-warning,.project-day-required{font-size:9px;padding:2px 4px}}.calendar-sites{display:flex;flex-direction:column;gap:2px;min-width:0}.calendar-plan-row{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;color:#344054}@media(max-width:780px){.calendar-plan-row{font-size:10px}}.work-plan-create-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.work-plan-clipboard-count{font-weight:850;color:#475467;background:#fff}.work-plan-modal{width:min(620px,calc(100vw - 24px))}.work-plan-clipboard-section{margin-bottom:18px;border:1px solid #d9e1ef;border-radius:13px;background:#f8faff;overflow:hidden}.work-plan-clipboard-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px}.work-plan-clipboard-bar>div{display:flex;align-items:baseline;gap:8px;min-width:0}.work-plan-clipboard-bar strong{font-size:14px}.work-plan-clipboard-bar span{color:var(--muted);font-size:12px;font-weight:750}.work-plan-clipboard-list{border-top:1px solid #d9e1ef;background:#fff;max-height:330px;overflow:auto;padding:8px}.work-plan-clipboard-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff}.work-plan-clipboard-card+.work-plan-clipboard-card{margin-top:7px}.work-plan-clipboard-card-main{min-width:0;flex:1}.work-plan-clipboard-title{font-size:14px;font-weight:900;color:var(--text)}.work-plan-clipboard-meta{margin-top:3px;font-size:12px;font-weight:750;color:#667085}.work-plan-clipboard-description{margin-top:5px;font-size:12px;color:#475467;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.work-plan-clipboard-people{margin-top:6px;font-size:11px;font-weight:750;color:#526078;line-height:1.45}.work-plan-clipboard-card-actions{display:flex;gap:6px;flex:0 0 auto}.work-plan-clipboard-card-actions .btn{min-height:36px;padding:0 10px}.clipboard-remove{color:var(--danger)}.work-plan-clipboard-list-foot{display:flex;justify-content:flex-end;padding-top:8px}.work-plan-clipboard-empty{padding:18px;text-align:center;color:var(--muted);font-size:13px;font-weight:750}.work-plan-paste-summary{border-top:1px solid #d9e1ef;padding:10px 12px;background:#eef4ff;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.work-plan-paste-summary>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;flex:1;font-size:12px;color:#344054}.work-plan-paste-summary>div span{color:#667085;font-weight:750}.work-plan-paste-participants{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:850;color:#344054;white-space:nowrap}.clipboard-clear-paste{border:0;background:transparent;color:#526078;text-decoration:underline;font-size:11px;font-weight:750;cursor:pointer}@media(max-width:780px){.work-plan-create-actions{gap:5px}.work-plan-clipboard-count{padding:0 9px}.work-plan-clipboard-bar{align-items:flex-start;flex-direction:column}.work-plan-clipboard-bar .btn{width:100%}.work-plan-clipboard-card{flex-direction:column}.work-plan-clipboard-card-actions{width:100%}.work-plan-clipboard-card-actions .btn{flex:1}.work-plan-paste-summary{align-items:flex-start;flex-direction:column}}.site-sub.shift-badge{display:inline-flex;align-items:center;gap:5px;width:max-content;min-height:25px;margin-top:6px;padding:2px 8px;border:1px solid transparent;border-radius:999px;font-size:13px;font-weight:950;line-height:1.2;letter-spacing:-.01em}.site-sub.shift-badge .shift-icon{font-size:15px;font-weight:950;line-height:1}.site-sub.shift-badge.day{color:#8a4b00;background:#fff3c4;border-color:#edcf6a}.site-sub.shift-badge.night{color:#31356f;background:#eef0ff;border-color:#c6caf4}.site-sub.shift-badge.neutral{color:#475467;background:#f2f4f7;border-color:#d9dde5}@media(max-width:780px){.site-sub.shift-badge{min-height:23px;padding:2px 7px;font-size:12px}.site-sub.shift-badge .shift-icon{font-size:14px}}
