.ops-page .ops-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;padding:12px;border:1px solid rgba(15,23,42,.08);background:#fff;border-radius:8px}
.ops-toolbar strong{font-size:18px;color:#102033;margin-right:auto}
.ops-toolbar button,.worklog-dept-tabs button,.situation-modal button{border:1px solid rgba(15,23,42,.12);background:#fff;color:#102033;border-radius:8px;padding:9px 12px;font-weight:800;cursor:pointer}
.ops-toolbar button:hover,.worklog-dept-tabs button:hover,.situation-modal button:hover{background:#f4f7fb}
.ops-page #situationOpenCreate{background:#0f766e!important;color:#fff!important;border-color:#0f766e!important;box-shadow:0 12px 24px rgba(15,118,110,.22);font-size:16px;padding:13px 18px;border-radius:8px}
.ops-page #situationOpenCreate:hover{background:#115e59!important}
.situation-date-picker{width:1px;height:1px;opacity:.01;border:0;padding:0;margin-left:-8px;pointer-events:none}
.situation-board{display:block;border:1px solid rgba(15,23,42,.1);border-radius:8px;overflow:hidden;background:#fff}
.situation-now{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid rgba(15,23,42,.08);background:#f0fdfa}
.situation-now small{font-weight:1000;color:#0f766e}
.situation-now b{font-weight:1000;color:#102033}
.situation-now span{color:#334155;font-weight:750}
.situation-now.empty{background:#f8fafc}
.situation-now-list{display:flex;gap:8px;flex-wrap:wrap}
.situation-now-list button{border:1px solid rgba(15,118,110,.16);background:#fff;color:#102033;border-radius:8px;padding:7px 9px;text-align:left;cursor:pointer}
.situation-now-list button b{display:block;font-size:13px;line-height:1.2}
.situation-now-list button span{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25}
.situation-list-board.timeline{display:grid;grid-template-columns:72px 1fr;background:#fff;overflow-x:auto}
.situation-axis{position:relative;height:648px;background:#f7f9fc;border-right:1px solid rgba(15,23,42,.08)}
.situation-hour-label{position:absolute;top:calc(var(--top)*1%);left:8px;right:8px;transform:translateY(-50%);font-size:13px;font-weight:1000;color:#344054}
.situation-track{position:relative;height:648px;min-width:var(--track-width);background:linear-gradient(90deg,#fff 0,#fff 99%,#f8fafc 100%)}
.situation-hour-line{position:absolute;left:0;right:0;top:calc(var(--top)*1%);border-top:1px solid rgba(15,23,42,.08)}
.situation-empty-row{position:absolute;left:16px;top:18px;font-size:13px;color:#b7c0cc;font-weight:900}
.situation-bar{position:absolute;top:calc(var(--top)*1%);left:calc(var(--lane)*var(--lane-width) + 10px);width:calc(var(--lane-width) - 16px);height:calc(var(--height)*1%);min-height:30px;border:1px solid rgba(15,23,42,.09);border-left:7px solid var(--accent);border-radius:7px;background:var(--soft);box-shadow:0 8px 16px rgba(15,23,42,.06);padding:6px 7px;cursor:pointer;overflow:visible;z-index:2}
.situation-bar::after{content:"";display:none;position:absolute;left:100%;top:0;width:14px;height:100%}
.situation-bar::before{content:"";display:none;position:absolute;left:0;top:100%;width:100%;height:10px}
.situation-bar:hover::after,.situation-bar:hover::before{display:block}
.situation-bar strong{display:block;color:#102033;font-size:12px;line-height:1.2;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.situation-bar.open-ended{box-shadow:0 8px 18px rgba(245,158,11,.13)}
.situation-bar.finished{opacity:.62;background:#f8fafc!important;filter:saturate(.75)}
.situation-bar:hover{z-index:10;transform:translateY(-1px)}
.situation-tooltip{display:none;position:absolute;left:calc(100% + 8px);top:0;width:230px;border:1px solid rgba(15,23,42,.14);border-radius:8px;background:#fff;color:#102033;padding:10px;box-shadow:0 18px 42px rgba(15,23,42,.18);pointer-events:auto}
.situation-bar:hover .situation-tooltip,.situation-tooltip:hover{display:block}
.situation-tooltip b{display:block;font-size:15px;margin-bottom:4px}
.situation-tooltip span{display:block;color:#0f766e;font-weight:1000;font-size:13px;margin-bottom:7px}
.situation-tooltip p{margin:0 0 9px;color:#344054;font-size:13px;line-height:1.45;word-break:keep-all}
.situation-tooltip div{display:flex;gap:6px}
.situation-tooltip button{border:0;background:#0f766e;color:#fff;border-radius:6px;padding:6px 8px;font-size:12px;font-weight:900;cursor:pointer}
.situation-tooltip button:hover{background:#115e59}
.situation-bar.color-0{--accent:#0f766e;--soft:#ecfdf3}
.situation-bar.color-1{--accent:#2563eb;--soft:#eff6ff}
.situation-bar.color-2{--accent:#dc6803;--soft:#fff7ed}
.situation-bar.color-3{--accent:#7c3aed;--soft:#f5f3ff}
.situation-bar.color-4{--accent:#c026d3;--soft:#fdf4ff}
.situation-bar.color-5{--accent:#0891b2;--soft:#ecfeff}
.situation-bar.color-6{--accent:#4f46e5;--soft:#eef2ff}
.situation-bar.color-7{--accent:#be123c;--soft:#fff1f2}
.situation-modal-layer{position:fixed;inset:0;background:rgba(15,23,42,.42);z-index:980;display:flex;align-items:center;justify-content:center;padding:18px}
.situation-modal{width:min(720px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:8px;padding:18px;box-shadow:0 28px 80px rgba(15,23,42,.28)}
.situation-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.situation-modal-head h3{margin:0;font-size:22px;color:#102033}
.situation-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}
.situation-people button{text-align:left}
.situation-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.situation-form-grid.simple{grid-template-columns:1fr 1fr 1fr}
.situation-form-grid label{display:grid;gap:6px;font-weight:900;color:#203044}
.situation-form-grid input,.situation-form-grid textarea{border:1px solid rgba(15,23,42,.13);border-radius:8px;padding:10px;font:inherit}
.situation-form-grid textarea{grid-column:1/-1;min-height:92px;resize:vertical;font-size:17px;font-weight:750}
.situation-checks{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.situation-toggle{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:10px;border:1px solid rgba(15,23,42,.12);border-radius:8px;background:#f8fafc;padding:12px!important;font-weight:900!important;color:#102033}
.situation-toggle input{width:18px;height:18px;margin:0;accent-color:#2563eb}
.situation-toggle span{display:grid;gap:2px;min-width:0}
.situation-toggle b{font-size:15px;line-height:1.2;white-space:nowrap}
.situation-toggle small{font-size:12px;color:#667085;font-weight:800;line-height:1.25;word-break:keep-all}
.worklog-layout{display:grid;grid-template-columns:minmax(320px,1.05fr) minmax(360px,.95fr);gap:18px;align-items:start}
.worklog-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.worklog-weekday{padding:8px;text-align:center;font-weight:900;color:#697586}
.worklog-day{min-height:112px;border:1px solid rgba(15,23,42,.1);background:#fff;border-radius:8px;padding:8px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:6px}
.worklog-day.other{opacity:.45}
.worklog-day.today{border-color:#2563eb}
.worklog-day.active{outline:3px solid rgba(37,99,235,.2)}
.worklog-day strong{font-size:14px;color:#102033}
.worklog-day span{font-size:12px;color:#667180}
.worklog-day-depts{display:flex;flex-wrap:wrap;gap:4px;align-items:flex-start}
.worklog-day-depts span{display:inline-flex;align-items:center;min-height:20px;border-radius:999px;background:#eef6ff;color:#1d4ed8;padding:2px 7px;font-size:11px!important;font-weight:900;line-height:1.2}
.worklog-day .weekly-print{margin-top:auto;background:#101828;color:#fff;border:0;border-radius:6px;padding:6px;font-size:12px;font-weight:900}
.worklog-editor{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:8px;padding:16px}
.worklog-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.worklog-editor-head h3{margin:2px 0 0;color:#102033}
.worklog-panel-tabs{display:flex;gap:8px;margin:0 0 12px}
.worklog-panel-tabs button{flex:1;border:1px solid rgba(15,23,42,.12);background:#f8fafc;color:#344054;border-radius:8px;padding:10px 12px;font-weight:900;cursor:pointer}
.worklog-panel-tabs button.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.worklog-panel{display:none}
.worklog-panel.active{display:block}
.worklog-dept-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.worklog-dept-tabs button.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.worklog-daily-filter{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px;padding:10px;border:1px solid rgba(15,23,42,.08);border-radius:8px;background:#f8fafc}
.worklog-daily-filter button{border:1px solid rgba(15,23,42,.12);background:#fff;color:#344054;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:900;cursor:pointer}
.worklog-daily-filter button.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8;box-shadow:0 8px 18px rgba(29,78,216,.18)}
.worklog-daily-filter button:hover{background:#eef4ff;color:#1d4ed8}
.worklog-daily-filter button.active:hover{background:#1d4ed8;color:#fff}
.worklog-daily-list{display:grid;gap:10px}
.worklog-daily-card{border:1px solid rgba(15,23,42,.1);border-radius:8px;background:#fff;padding:12px}
.worklog-daily-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(15,23,42,.08);padding-bottom:8px;margin-bottom:8px}
.worklog-daily-card strong{font-size:16px;color:#102033}
.worklog-daily-card header span{font-size:12px;color:#667085;font-weight:800}
.worklog-daily-card header button{border:1px solid rgba(29,78,216,.18);background:#eef4ff;color:#1d4ed8;border-radius:6px;padding:6px 9px;font-weight:900;cursor:pointer}
.worklog-daily-card p{margin:8px 0 0;color:#344054;line-height:1.55}
.worklog-daily-card b{display:block;margin-bottom:3px;color:#1d2939}
.worklog-daily-group-card header span{font-size:12px;color:#667085;font-weight:900}
.worklog-daily-items{margin:0;padding:0;list-style:none;counter-reset:dailyWork}
.worklog-daily-items li{counter-increment:dailyWork;position:relative;padding:10px 0 10px 30px;border-bottom:1px solid rgba(15,23,42,.08)}
.worklog-daily-items li:last-child{border-bottom:0;padding-bottom:0}
.worklog-daily-items li:before{content:counter(dailyWork) ".";position:absolute;left:0;top:10px;color:#1d4ed8;font-size:15px;font-weight:1000;line-height:1.35}
.worklog-daily-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.worklog-daily-item-head strong{display:block;min-width:0;line-height:1.35;word-break:keep-all}
.worklog-daily-item-head button{flex:0 0 auto;border:1px solid rgba(29,78,216,.18);background:#eef4ff;color:#1d4ed8;border-radius:6px;padding:6px 9px;font-weight:900;cursor:pointer}
.worklog-daily-items p{margin:7px 0 0;color:#475467;line-height:1.55}
.worklog-weekly-page{background:#f6f8fb!important;color:#1f2937!important}
.worklog-weekly-shell{width:min(1740px,calc(100vw - 96px));margin:58px auto 70px;font-family:Arial,'Noto Sans KR',sans-serif}
.worklog-weekly-icon{font-size:48px;line-height:1;margin-bottom:14px}
.worklog-weekly-shell h1{margin:0 0 12px;font-size:46px;font-weight:900;letter-spacing:0;color:#111827}
.worklog-weekly-meta{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.worklog-weekly-meta span{display:inline-flex;align-items:center;border:1px solid #d8e2ef;background:#fff;color:#183b6b;border-radius:999px;padding:8px 13px;font-weight:900}
.worklog-guide{border:1px solid #d8e2ef;border-radius:8px;padding:16px 20px;margin:0 0 18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.worklog-guide p{margin:0 0 8px;font-size:17px;line-height:1.45;color:#111827}
.worklog-guide ul{margin:0 0 0 26px;padding:0;font-size:16px;line-height:1.65;color:#334155}
.worklog-weekly-actions{display:flex;gap:8px;justify-content:flex-end;margin:-4px 0 14px}
.worklog-table-title{font-size:18px;font-weight:900;margin:12px 0;color:#183b6b}
.worklog-weekly-table-wrap{border:1px solid #d8e2ef;border-radius:8px;overflow:auto;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.worklog-weekly-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:15px;color:#1f2937}
.worklog-weekly-table th{height:42px;border-bottom:1px solid #d8e2ef;border-right:1px solid rgba(255,255,255,.22);color:#fff;text-align:left;font-weight:900;padding:0 10px;white-space:nowrap;background:#183b6b}
.worklog-weekly-table th:first-child{border-top-left-radius:8px}
.worklog-weekly-table th:last-child{border-top-right-radius:8px;border-right:0}
.worklog-weekly-table td{vertical-align:top;border-bottom:1px solid #e7edf5;border-right:1px solid #edf2f7;padding:11px 10px;line-height:1.45;background:#fff}
.worklog-weekly-table tbody tr:nth-child(even) td{background:#fbfdff}
.worklog-weekly-table th:nth-child(1),.worklog-weekly-table td:nth-child(1){width:62px;color:#a3a3a0}
.worklog-weekly-table th:nth-child(2),.worklog-weekly-table td:nth-child(2){width:120px}
.worklog-weekly-table th:nth-child(3),.worklog-weekly-table td:nth-child(3){width:120px}
.worklog-weekly-table th:nth-child(4),.worklog-weekly-table td:nth-child(4),.worklog-weekly-table th:nth-child(6),.worklog-weekly-table td:nth-child(6){width:120px}
.worklog-weekly-table th:nth-child(8),.worklog-weekly-table td:nth-child(8){width:140px}
.weekly-work-cell{min-width:430px}
.worklog-weekly-table.current-week{min-width:1540px}
.worklog-weekly-table.current-week th:nth-child(1),.worklog-weekly-table.current-week td:nth-child(1){width:62px}
.worklog-weekly-table.current-week th:nth-child(2),.worklog-weekly-table.current-week td:nth-child(2){width:112px}
.worklog-weekly-table.current-week th:nth-child(3),.worklog-weekly-table.current-week td:nth-child(3){width:118px}
.worklog-weekly-table.current-week th:nth-child(n+4):nth-child(-n+9),.worklog-weekly-table.current-week td:nth-child(n+4):nth-child(-n+9){width:195px}
.worklog-weekly-table.current-week th:nth-child(10),.worklog-weekly-table.current-week td:nth-child(10){width:130px}
.worklog-weekly-table.current-week .weekly-work-cell{min-width:195px}
.worklog-weekly-table.current-week .weekly-work-cell p{margin:0 0 4px}
.weekly-item-block{position:relative;border-left:3px solid #d8e2ef;padding:0 0 8px 10px;margin:0 0 8px}
.weekly-item-block em{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#183b6b;color:#fff;font-style:normal;font-size:11px;font-weight:900;margin:0 0 5px}
.weekly-task-block{margin:0 0 14px}
.weekly-task-block small{display:block;margin-bottom:4px;color:#787774;font-size:15px}
.weekly-task-block p{margin:0 0 2px}
.weekly-task-block b{font-weight:900;color:#2f3437}
.weekly-work-cell p{margin:0 0 4px}
.weekly-work-cell p.main{font-weight:900;color:#111827}
.weekly-work-cell p:not(.main){color:#475467;font-size:14px}
.weekly-empty{color:#cbd5e1}
.weekly-author{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.pin{color:#d92d20}
.file-edit-mode{display:grid;gap:8px;border:1px solid rgba(15,23,42,.12);border-radius:8px;padding:12px;margin:10px 0}
.file-edit-mode legend{font-weight:900;color:#102033;padding:0 6px}
.file-edit-mode label{display:flex!important;align-items:center;gap:8px;margin:0!important;font-weight:800!important}
.file-edit-existing{display:grid;gap:8px;border:1px solid rgba(15,23,42,.08);background:#f8fafc;border-radius:8px;padding:12px;margin:8px 0}
.file-edit-existing>strong{font-size:14px;color:#102033}
.file-edit-existing-item{display:flex!important;align-items:flex-start;gap:9px;border:1px solid rgba(15,23,42,.08);background:#fff;border-radius:8px;padding:9px!important;margin:0!important}
.file-edit-existing-item span{display:grid;gap:2px}
.file-edit-existing-item b{font-size:14px;color:#102033}
.file-edit-existing-item small{font-size:12px;color:#667085}
@media print{
  .app-header,.site-footer,.worklog-weekly-actions,.site-password-gate{display:none!important}
  .worklog-weekly-shell{width:auto;margin:28px}
  .worklog-weekly-shell h1{font-size:42px}
}
@media (max-width:900px){
  .situation-list-board.timeline{grid-template-columns:60px 1fr}
  .situation-axis,.situation-track{height:600px}
  .situation-hour-label{left:6px;right:4px;font-size:12px}
  .situation-tooltip{left:0;top:calc(100% + 6px);width:210px}
  .worklog-layout{grid-template-columns:1fr}
  .worklog-calendar{grid-template-columns:repeat(2,1fr)}
  .worklog-weekday{display:none}
  .situation-form-grid,.situation-form-grid.simple{grid-template-columns:1fr}
  .situation-checks{grid-template-columns:1fr}
  .worklog-weekly-shell{width:calc(100vw - 28px);margin:40px 14px}
  .worklog-weekly-shell h1{font-size:42px}
  .worklog-guide p,.worklog-guide ul{font-size:16px}
}
