:root {
  --bg: #eef2f5; --panel: #ffffff; --ink: #17212b; --muted: #64717d; --line: #d8e0e7;
  --brand: #1f6f78; --brand-dark: #16242d; --brand-2: #2f8f83; --warn: #b94728;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, 'Malgun Gothic', sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; } button, input { font-family: inherit; }
.login-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #e7ecef 0%, #f7f9fa 55%, #dde8e6 100%); }
.login-shell { width: min(440px, calc(100vw - 32px)); }
.login-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 30px; box-shadow: 0 20px 50px rgba(23, 33, 43, .12); }
.login-brand, .brand { display: flex; align-items: center; gap: 12px; }
.login-brand { margin-bottom: 28px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; }
.brand-logo { display: grid; place-items: center; width: 86px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.brand-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-ci-only { width: 216px; }
.brand-ci-only .brand-logo { width: 216px; height: 52px; border: 0; border-radius: 0; background: transparent; }
.brand-ci-only .brand-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.login-brand h1 { margin: 0; font-size: 25px; }
.login-brand p, .brand small { display: block; margin: 3px 0 0; color: var(--muted); }
.alert { margin-bottom: 16px; padding: 12px; border-radius: 6px; background: #fff1eb; color: var(--warn); border: 1px solid #f4c8b8; }
.notice { margin-bottom: 16px; padding: 12px; border-radius: 6px; background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; font-size: 13px; font-weight: 700; }
.login-form { display: grid; gap: 14px; }
.login-form label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; }
.login-form input { height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; font-size: 16px; }
.login-form button { height: 46px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.site-shell { min-height: 100vh; }
.mobile-app { min-height: 100vh; margin: 0; background: #eef3f8; color: #172336; }
.mobile-shell { box-sizing: border-box; width: min(100%, 560px); min-height: 100vh; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); background: #f8fafc; }
.mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-brand { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }.mobile-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #0f766e; color: #fff; font-weight: 900; }.mobile-brand strong,.mobile-brand small { display: block; }.mobile-brand strong { font-size: 15px; }.mobile-brand small { margin-top: 1px; color: #64748b; font-size: 11px; font-weight: 700; }.mobile-desktop-link { padding: 8px 10px; border: 1px solid #b8c6d6; border-radius: 8px; background: #fff; color: #185e5a; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.mobile-welcome { margin: 26px 0 18px; padding: 22px 20px; border-radius: 16px; background: linear-gradient(135deg, #0f766e, #146c86); color: #fff; box-shadow: 0 10px 24px rgba(15, 118, 110, .18); }.mobile-welcome p { margin: 0 0 8px; opacity: .8; font-size: 12px; font-weight: 700; }.mobile-welcome h1 { margin: 0 0 6px; font-size: 22px; }.mobile-welcome span { font-size: 13px; opacity: .9; }
.mobile-shortcuts { display: grid; gap: 10px; }.mobile-shortcuts a { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; padding: 17px 16px; border: 1px solid #dce5ef; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 2px 6px rgba(15, 23, 42, .035); }.mobile-shortcuts b { font-size: 16px; }.mobile-shortcuts small { grid-column: 1; color: #64748b; font-size: 12px; }.mobile-shortcuts i { grid-column: 2; grid-row: 1 / span 2; color: #0f766e; font-size: 28px; font-style: normal; line-height: 1; }.mobile-shortcuts a:active { transform: scale(.99); background: #f0fdfa; }
.mobile-footer { display: flex; justify-content: space-between; margin-top: 28px; padding: 8px 2px; color: #94a3b8; font-size: 12px; }.mobile-footer a { color: #475569; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 74px; display: grid; grid-template-columns: 240px 1fr auto; gap: 18px; align-items: center; padding: 12px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(23,33,43,.06); }
.brand strong { display: block; font-size: 17px; }
.top-menu { display: flex; gap: 6px; align-items: stretch; min-width: 0; }
.top-menu-group { position: relative; }
.top-menu-group > button { height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.top-menu-group:hover > button { background: #edf5f4; color: var(--brand); }
.submenu { display: none; position: absolute; top: 46px; left: 0; width: 236px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 38px rgba(23,33,43,.16); z-index: 40; }
.top-menu-group:hover .submenu, .top-menu-group:focus-within .submenu { display: grid; gap: 4px; }
.submenu-item { display: grid; gap: 2px; padding: 10px; border-radius: 6px; }
.submenu-item span { font-weight: 700; }
.submenu-item small { color: var(--muted); font-size: 12px; }
.submenu-item:hover, .submenu-item.active { background: #edf5f4; color: var(--brand); }
.submenu-branch { position: relative; border-radius: 6px; }
.submenu-branch > .submenu-item { padding-right: 24px; }
.submenu-branch > .submenu-item::after { content: '›'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 18px; line-height: 1; }
.submenu-branch.active > .submenu-item { background: #edf5f4; color: var(--brand); }
.nested-submenu { display: none; position: absolute; left: calc(100% + 8px); top: -8px; width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 38px rgba(23,33,43,.16); z-index: 45; }
.submenu-branch:hover .nested-submenu, .submenu-branch:focus-within .nested-submenu, .submenu-branch.active .nested-submenu { display: grid; gap: 4px; }
.userbox { display: grid; justify-items: end; gap: 3px; color: var(--muted); white-space: nowrap; }
.userbox span { color: var(--ink); font-weight: 700; }
.userbox a { color: var(--brand); font-size: 13px; }
.workspace { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; padding: 18px; }
.left-panel { display: grid; align-content: start; gap: 14px; }
.side-section, .main-panel, .calendar-panel, .empty-state { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.side-section { padding: 16px; }
.eyebrow { margin: 0 0 4px; color: var(--brand); font-size: 12px; font-weight: 700; text-transform: uppercase; }
h1, h2 { margin: 0; } .side-section h2 { font-size: 18px; margin-bottom: 12px; }
.legacy-links { display: grid; gap: 6px; }
.legacy-links a { padding: 10px; border-radius: 6px; border: 1px solid transparent; color: #33424f; font-weight: 700; }
.legacy-links a:hover, .legacy-links a.active { background: #edf5f4; border-color: #cfe1df; color: var(--brand); }
.compact-schedule-list { display: grid; gap: 4px; max-height: 560px; overflow: auto; }
.compact-schedule { display: grid; gap: 2px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; background: #fbfcfd; }
.compact-schedule time { color: var(--brand); font-weight: 700; font-size: 10px; line-height: 1.2; }
.compact-schedule strong { font-size: 11px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-schedule span, .muted-text { color: var(--muted); font-size: 11px; }
.main-panel { padding: 18px; min-width: 0; }
.page-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.empty-state { padding: 32px; }
.empty-state p { color: var(--muted); line-height: 1.7; }
.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 16px; }
.month-nav { display: flex; gap: 8px; }
.month-nav a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--brand); font-size: 13px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.labels span { color: var(--muted); text-align: center; font-size: 12px; padding: 0 0 6px; }
.day { min-height: 118px; border: 1px solid var(--line); border-radius: 6px; padding: 7px; background: #fbfcfd; overflow: hidden; }
.day b { display: block; margin-bottom: 5px; font-size: 13px; }
.day span { display: block; margin-top: 4px; padding: 3px 5px; border-radius: 4px; background: #e8f2f0; color: #27575a; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day.today { border-color: var(--brand-2); box-shadow: inset 0 0 0 1px var(--brand-2); }
.day.muted { background: transparent; border-color: transparent; }
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr; align-items: start; }
  .top-menu { overflow-x: auto; padding-bottom: 4px; }
  .submenu { position: fixed; top: auto; left: 18px; right: 18px; width: auto; }
  .nested-submenu { position: static; width: auto; margin: 4px 0 4px 12px; box-shadow: none; border-radius: 6px; }
  .submenu-branch:hover .nested-submenu, .submenu-branch:focus-within .nested-submenu { display: grid; }
  .workspace { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .workspace { padding: 12px; }
  .main-panel { padding: 12px; }
  .calendar-grid { gap: 4px; }
  .day { min-height: 72px; padding: 5px; }
  .day span { display: none; }
}

.todo-item { min-height: 0; }
.todo-item strong { font-size: 11px; }
.todo-panel .side-section { padding: 12px; }

.side-title-row { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.side-title-row h2 { margin-bottom: 0; }
.mini-action { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; background: var(--brand); color: #fff; font-weight: 700; }
.todo-panel .compact-schedule-list { max-height: 340px; overflow-y: auto; padding-right: 2px; }
a.compact-schedule:hover { border-color: #b9d5d1; background: #f2faf8; color: var(--brand); }
.todo-editor, .schedule-editor { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.month-nav-link { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--brand); font-size: 13px; }
.todo-form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.todo-form label, .schedule-form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.todo-form input, .todo-form select, .todo-form textarea, .schedule-form input, .schedule-form select, .schedule-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; color: var(--ink); font-size: 14px; background: #fff; }
.todo-form textarea { resize: vertical; line-height: 1.5; }
.field-help { display: block; color: #94a3b8; font-size: 11px; font-weight: 600; line-height: 1.35; }
.form-section-title { margin: 6px 0 -2px; color: #334155; font-size: 14px; font-weight: 900; }
.ci-upload-row { display: grid; grid-template-columns: minmax(180px, 260px) minmax(220px, 1fr) auto; gap: 12px; align-items: center; }
.ci-preview-box { display: flex; align-items: center; gap: 10px; min-height: 58px; border: 1px solid #e6ebf3; border-radius: 8px; padding: 8px 10px; background: #f8fafc; color: #64748b; font-size: 12px; font-weight: 700; }
.ci-preview-box img { max-width: 128px; max-height: 42px; object-fit: contain; }
.ci-placeholder { width: 54px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: #e2e8f0; color: #475569; font-weight: 900; }
.check-grid { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.attached-file-list { display: grid; gap: 8px; padding: 10px; border: 1px solid #e6ebf3; border-radius: 8px; background: #f8fafc; }
.attached-file-card, .attached-file-row { min-width: 0; border: 1px solid #dbe5ef; border-radius: 7px; background: #fff; }
.attached-file-card { display: grid; gap: 5px; padding: 9px 10px; }
.attached-file-row { display: flex !important; align-items: flex-start; gap: 8px; padding: 8px 10px; line-height: 1.35; }
.attached-file-main { display: flex !important; align-items: flex-start; gap: 8px; min-width: 0; line-height: 1.35; }
.attached-file-main input, .attached-file-row input { flex: 0 0 auto; margin-top: 2px; }
.attached-kind { flex: 0 0 auto; padding: 2px 6px; border-radius: 999px; background: #e8f2f0; color: var(--brand); font-size: 11px; font-weight: 900; white-space: nowrap; }
.attached-name { min-width: 0; overflow-wrap: anywhere; color: #334155; font-weight: 800; }
.attached-file-meta { padding-left: 26px; color: #64748b; font-size: 12px; line-height: 1.45; }
.attached-file-meta a { color: var(--brand); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.form-actions button { border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; background: #fff; cursor: pointer; font-weight: 700; }
.form-actions .primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.form-actions .danger { color: var(--warn); border-color: #efc5b8; }
.form-actions .action-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:9px 14px; border:1px solid var(--line); border-radius:7px; background:#fff; color:#345269; font-weight:800; line-height:1; text-decoration:none; }
.form-actions .action-button.primary { background:var(--brand); color:#fff; border-color:var(--brand); }
.form-actions .action-button.secondary { border-color:#b9cbd8; background:#f8fbfc; color:#24566f; }
.form-actions .action-button.danger { border-color:#efc5b8; background:#fff8f6; color:var(--warn); }
.form-actions .action-icon { display:inline-grid; place-items:center; width:18px; height:18px; border:1px solid currentColor; border-radius:50%; font-size:14px; font-weight:900; line-height:1; }
.form-actions .action-button:hover { filter:brightness(.98); transform:translateY(-1px); }
.partner-link-field { grid-column: span 2; padding: 12px; border: 1px solid #bfdbfe; border-radius: 10px; background: linear-gradient(135deg, #eff6ff, #f8fbff); }
.partner-link-label { display: flex; align-items: center; justify-content: space-between; color: #1e3a8a; }
.partner-link-label b { font-size: 14px; }
.partner-link-label em { padding: 3px 7px; border-radius: 999px; background: #dbeafe; color: #2563eb; font-size: 10px; font-style: normal; }
.partner-link-field select { border-color: #93c5fd; box-shadow: 0 1px 0 rgba(37, 99, 235, .08); font-weight: 700; }
.partner-link-status { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #bbf7d0; border-radius: 9px; background: #f0fdf4; color: #166534; }
.partner-link-status > div { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.partner-link-status strong { color: #15803d; font-size: 11px; }
.partner-link-status b { font-size: 14px; }
.partner-link-status small { grid-column: 1 / -1; margin-top: 3px; color: #4d7c5d; font-size: 11px; }
.partner-link-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.partner-bulk-form { margin: 0; }
.partner-bulk-bar { display: flex; align-items: end; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid #c7d2fe; border-radius: 10px; background: linear-gradient(135deg, #eef2ff, #f8faff); }
.partner-bulk-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #4f46e5; color: #fff; font-size: 18px; font-weight: 900; }
.partner-bulk-bar label { display: grid; min-width: min(360px, 100%); gap: 5px; color: #3730a3; font-size: 12px; font-weight: 800; }
.partner-bulk-bar select { height: 36px; border: 1px solid #a5b4fc; border-radius: 7px; padding: 0 9px; background: #fff; color: #1e1b4b; font-weight: 700; }
.partner-bulk-bar .primary { min-height: 36px; border: 0; border-radius: 7px; padding: 0 14px; background: #4f46e5; box-shadow: 0 3px 8px rgba(79, 70, 229, .2); }
.service-item-check { width: 16px; height: 16px; margin: 0; accent-color: #4f46e5; cursor: pointer; vertical-align: middle; }
@media (max-width: 760px) { .partner-link-field { grid-column: span 1; } .partner-bulk-bar { align-items: stretch; flex-wrap: wrap; } .partner-bulk-bar label { min-width: 100%; } .partner-bulk-bar .primary { width: 100%; } }
@media (max-width: 760px) { .incident-photo-stage-grid { grid-template-columns:1fr; } }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr 1fr; } .ci-upload-row { grid-template-columns: 1fr; } .todo-panel .compact-schedule-list { max-height: 220px; } }


.search-panel { position: sticky; top: 92px; }
.side-search-form { display: grid; gap: 9px; }
.side-search-form label { display: grid; gap: 5px; font-size: 12px; color: #64748b; font-weight: 700; }
.side-search-form input, .side-search-form select { width: 100%; border: 1px solid #d8dee8; border-radius: 7px; padding: 8px 9px; font-size: 13px; background: #fff; color: #1f2937; box-sizing: border-box; }
.incident-search-panel { border:1px solid #9ec4ea; background:linear-gradient(180deg,#edf7ff 0%,#f8fbff 100%); box-shadow:0 9px 22px rgba(36,104,170,.12); }
.incident-search-panel .side-title-row { margin:0 0 12px; padding:11px 12px; border:1px solid #b8d4ee; border-radius:8px; background:#dceefd; }
.incident-search-panel .eyebrow { color:#286ca6; letter-spacing:.08em; }
.incident-search-panel h2 { color:#173f67; }
.incident-search-help { margin:0 0 14px; padding:9px 10px; border-left:3px solid #3c89cc; border-radius:0 6px 6px 0; background:rgba(255,255,255,.78); color:#50708e; font-size:12px; font-weight:700; line-height:1.45; }
.incident-search-panel .side-search-form { padding:12px; border:1px solid #c8dff2; border-radius:9px; background:rgba(255,255,255,.82); }
.incident-search-panel .side-search-form label { color:#315d86; }
.incident-search-panel .side-search-form input { border-color:#a9c7e3; background:#fff; box-shadow:inset 0 1px 2px rgba(29,74,116,.05); }
.incident-search-panel .side-search-form input:focus { outline:0; border-color:#3182c4; box-shadow:0 0 0 3px rgba(49,130,196,.15); }
.incident-search-panel .search-actions { padding-top:4px; border-top:1px solid #d5e6f5; }
.search-actions { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.search-actions a { color: #64748b; font-size: 12px; text-decoration: none; }
.board-panel { background: #fff; border: 1px solid #e5eaf2; border-radius: 8px; padding: 18px; box-shadow: 0 12px 28px rgba(15, 23, 42, .06); }
.board-summary { margin: -6px 0 12px; color: #64748b; font-size: 12px; }
.board-table-wrap { overflow: auto; border: 1px solid #e6ebf3; border-radius: 8px; }
.board-table { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 13px; line-height: 1.45; }
.service-table { min-width: 1180px; }
.board-table th { background: #eef4f8; color: #334155; text-align: left; font-size: 12px; padding: 11px 12px; border-bottom: 1px solid #dbe4ee; white-space: nowrap; }
.sort-link { color: inherit; text-decoration: none; font-weight: 900; }
.sort-link:hover { color: #1d4ed8; text-decoration: underline; }
.checklist-category-select { display: block; width: 100%; min-width: 132px; margin-top: 7px; padding: 7px 30px 7px 10px; border: 1px solid #b7c9dd; border-radius: 8px; color: #1e3a5f; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.2; background: linear-gradient(135deg, #fff 0%, #f4f8fc 100%); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); cursor: pointer; appearance: auto; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.checklist-category-select:hover { border-color: #5b8fc4; box-shadow: 0 3px 8px rgba(37, 99, 160, .15); }
.checklist-category-select:focus { outline: 0; border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22, 119, 255, .16); }
.random-checklist-panel { margin: 0 0 18px; padding: 18px 20px; border: 1px solid #cfe0f2; border-radius: 12px; background: linear-gradient(135deg, #f8fbff 0%, #eef7ff 100%); box-shadow: 0 6px 18px rgba(30, 64, 104, .07); }
.random-checklist-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.random-checklist-head .eyebrow { margin: 0 0 3px; color: #2563a8; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.random-checklist-head h3 { margin: 0; color: #173b63; font-size: 16px; }
.random-checklist-head small { display: block; margin-top: 4px; color: #5b718b; font-size: 12px; }
.random-checklist-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.random-checklist-actions .secondary { padding: 8px 11px; border: 1px solid #9fc0e2; border-radius: 8px; background: #fff; color: #265b91; font-weight: 800; cursor: pointer; }
.random-checklist-actions .secondary:hover { background: #eaf4ff; }
.random-checklist-list { margin: 16px 0 0; padding: 14px 16px 14px 38px; border: 1px dashed #aac4df; border-radius: 9px; background: rgba(255,255,255,.82); color: #1f3550; font-size: 14px; line-height: 1.8; }
.random-checklist-list li { padding-left: 4px; }
.incident-guide { margin: 0 0 18px; padding: 18px 20px; border: 1px solid #cbdcf7; border-radius: 14px; background: linear-gradient(135deg,#f5f9ff,#edf5ff); }
.incident-guide h3,.incident-photo-box h3 { margin: 2px 0 7px; color: #17365f; }.incident-guide p,.incident-photo-box p { margin: 0; color: #5f7187; line-height: 1.55; }
.incident-photo-box { margin-top: 20px; padding: 20px; border: 1px dashed #9fb9dc; border-radius: 14px; background: #f8fbff; }.incident-photo-box .form-grid { margin-top: 14px; }
.incident-editor { border-color:#c9d9eb; background:linear-gradient(180deg,#fbfdff 0%,#f3f8fd 100%); box-shadow:0 10px 28px rgba(28,60,94,.08); }.incident-editor .todo-form { gap:16px; }.incident-editor .form-grid > label,.incident-editor .todo-form > label { padding:11px 12px 12px; border:1px solid #d6e2f0; border-radius:10px; background:#f7fbff; color:#264866; box-shadow:inset 0 1px 0 rgba(255,255,255,.9); }.incident-editor .todo-form input,.incident-editor .todo-form select,.incident-editor .todo-form textarea { margin-top:1px; border-color:#b9cbe0; border-radius:8px; background:#fff; box-shadow:0 1px 2px rgba(28,60,94,.05); }.incident-editor .todo-form textarea { min-height:82px; }.incident-editor .todo-form textarea[name="action_taken"] { min-height:250px; background:linear-gradient(180deg,#fff,#fbfdff); }.incident-editor .todo-form input:focus,.incident-editor .todo-form select:focus,.incident-editor .todo-form textarea:focus { outline:0; border-color:#317bc5; box-shadow:0 0 0 3px rgba(49,123,197,.15); background:#fff; }.incident-editor .incident-photo-box { border-style:solid; border-color:#b9d1ea; background:#edf6ff; box-shadow:0 3px 10px rgba(32,82,130,.06); }
.work-report-editor { border-color:#c9d9eb; background:linear-gradient(180deg,#fbfdff 0%,#f3f8fd 100%); box-shadow:0 10px 28px rgba(28,60,94,.08); }.work-report-editor .todo-form { gap:16px; }.work-report-editor .form-grid > label,.work-report-editor .todo-form > label { padding:11px 12px 12px; border:1px solid #d6e2f0; border-radius:10px; background:#f7fbff; color:#264866; box-shadow:inset 0 1px 0 rgba(255,255,255,.9); }.work-report-editor .todo-form input,.work-report-editor .todo-form select,.work-report-editor .todo-form textarea { margin-top:1px; border-color:#b9cbe0; border-radius:8px; background:#fff; box-shadow:0 1px 2px rgba(28,60,94,.05); }.work-report-editor .todo-form textarea { min-height:82px; }.work-report-editor .todo-form textarea[name="action_taken"] { background:linear-gradient(180deg,#fff,#fbfdff); }.work-report-editor .todo-form input:focus,.work-report-editor .todo-form select:focus,.work-report-editor .todo-form textarea:focus { outline:0; border-color:#317bc5; box-shadow:0 0 0 3px rgba(49,123,197,.15); background:#fff; }
.work-report-editor .other-support-primary-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }.work-report-editor .other-support-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width:50%; }.work-report-editor .other-support-photo-box { margin-top:20px; padding:20px; border:1px solid #b9d1ea; border-radius:14px; background:#edf6ff; box-shadow:0 3px 10px rgba(32,82,130,.06); }
@media (max-width:760px){ .work-report-editor .other-support-primary-grid,.work-report-editor .other-support-secondary-grid { grid-template-columns:1fr 1fr; max-width:none; } }
.training-editor-grid > :nth-child(1) { grid-column:1 / -1; grid-row:1; }
.training-editor-grid > :nth-child(2) { grid-column:1; grid-row:2; }
.training-editor-grid > :nth-child(3) { grid-column:2; grid-row:2; }
.training-editor-grid > :nth-child(4) { grid-column:3; grid-row:2; }
.training-editor-grid > :nth-child(5) { grid-column:1; grid-row:3; }
.training-editor-grid > :nth-child(6) { grid-column:2; grid-row:3; }
.training-editor-grid > :nth-child(7) { grid-column:3; grid-row:3; }
.training-editor-grid > :nth-child(8) { grid-column:1; grid-row:4; }
.training-editor-grid > :nth-child(9) { grid-column:2; grid-row:4; }
.training-editor-grid > :nth-child(10) { grid-column:3; grid-row:4; }
.training-editor-grid > :nth-child(11) { grid-column:4; grid-row:4; }
@media (max-width:760px) { .training-editor-grid > * { grid-column:auto !important; grid-row:auto !important; } .training-editor-grid > :nth-child(1) { grid-column:1 / -1 !important; } }
.incident-photo-stage-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:16px; }.incident-editor .incident-photo-stage-grid > label,.other-support-photo-box .incident-photo-stage-grid > label { display:grid; gap:5px; min-height:124px; padding:15px; border:1px solid #b9d1ea; border-radius:11px; background:#fff; color:#1e4a72; }.incident-photo-stage-grid strong { font-size:14px; }.incident-photo-stage-grid small { min-height:30px; color:#6c8298; font-size:12px; font-weight:600; line-height:1.35; }.incident-editor .incident-photo-stage-grid input[type="file"],.other-support-photo-box .incident-photo-stage-grid input[type="file"] { margin-top:auto; padding:7px; font-size:12px; background:#f8fbff; }
.incident-photo-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 12px; margin: 18px 0; }.incident-photo-card { overflow: hidden; border: 1px solid #d9e2ee; border-radius: 12px; background: #fff; color: #304762; text-decoration: none; box-shadow: 0 3px 10px rgba(31,57,87,.06); }.incident-photo-card img { display:block; width:100%; height:130px; object-fit:cover; background:#e9eff6; }.incident-photo-card span { display:block; padding:9px 10px; font-size:12px; font-weight:700; }.incident-photo-card:hover { border-color:#6e9bdd; transform:translateY(-1px); }
.incident-photo-card > a { display:block; color:inherit; text-decoration:none; }.photo-delete-button { display:block; width:calc(100% - 16px); margin:0 8px 9px; padding:7px; border:1px solid #efb4b4; border-radius:7px; background:#fff7f7; color:#b42318; font-size:12px; font-weight:800; cursor:pointer; }.photo-delete-button:hover { background:#feecec; }
.work-photo-sheet { margin-top:20px; padding:18px; border:1px solid #cbdcf0; border-radius:12px; background:#f8fbff; }.work-photo-sheet h3 { margin:0 0 14px; color:#244867; font-size:16px; }.work-photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:14px; }.work-photo-grid a { overflow:hidden; display:block; border:1px solid #cddceb; border-radius:10px; background:#fff; color:#31506d; text-decoration:none; box-shadow:0 3px 10px rgba(28,60,94,.08); }.work-photo-grid img { display:block; width:100%; height:150px; object-fit:cover; background:#edf2f7; }.work-photo-grid span { display:block; padding:9px 10px; font-size:12px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.work-photo-grid a:hover { border-color:#5791c7; transform:translateY(-1px); }
.work-improvement-print-report { max-width:920px; margin:0 auto; padding:24px; }.work-improvement-print-paper { padding:38px 46px; border:1px solid #cbd5e1; background:#fff; color:#172336; }.work-improvement-print-paper header { position:relative; margin:0 0 26px; text-align:center; }.work-improvement-print-paper header p { margin:0 0 7px; color:#537597; font-size:12px; font-weight:800; letter-spacing:.14em; }.work-improvement-print-paper header h2 { margin:0; font-size:28px; letter-spacing:.16em; }.work-improvement-print-paper header span { position:absolute; right:0; bottom:0; color:#64748b; font-size:12px; }.work-improvement-print-paper table { width:100%; border-collapse:collapse; font-size:13px; }.work-improvement-print-paper th,.work-improvement-print-paper td { padding:10px 12px; border:1px solid #aebccc; text-align:left; }.work-improvement-print-paper th { width:112px; background:#edf3f8; color:#264764; }.work-improvement-print-paper section { margin-top:18px; border:1px solid #b9c6d4; }.work-improvement-print-paper section h3 { margin:0; padding:10px 13px; border-bottom:1px solid #b9c6d4; background:#edf3f8; color:#264764; font-size:14px; }.work-improvement-print-paper section > div:not(.work-improvement-print-photos > div),.work-improvement-print-paper section > ul { min-height:46px; margin:0; padding:14px; line-height:1.7; }.work-improvement-print-photos > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:14px; }.work-improvement-print-photos figure { margin:0; border:1px solid #d5dee8; padding:7px; }.work-improvement-print-photos img { display:block; width:100%; max-height:260px; object-fit:contain; background:#f7f9fb; }.work-improvement-print-photos figcaption { padding:7px 2px 0; font-size:12px; font-weight:700; }.work-improvement-print-popup .site-header,.work-improvement-print-popup .left-panel,.work-improvement-print-popup .page-title { display:none; }.work-improvement-print-popup .workspace { display:block; padding:0; }.work-improvement-print-popup .main-panel { padding:0; border:0; border-radius:0; background:transparent; }
.work-improvement-print-paper section > div { min-height:46px; margin:0; padding:14px; line-height:1.7; }.work-improvement-print-paper .work-improvement-print-photos > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; min-height:0; padding:14px; line-height:normal; }
.work-improvement-print-first-page { box-sizing:border-box; height:252mm; overflow:hidden; font-size:13px; line-height:1.6; }.work-improvement-print-first-page table { font-size:inherit; }.work-improvement-print-first-page section { margin-top:14px; }.work-improvement-print-first-page section > div { min-height:0; padding:11px 13px; line-height:inherit; }.work-improvement-print-first-page section h3 { padding:8px 12px; }.work-improvement-print-photos { break-before:page; page-break-before:always; }.work-improvement-print-photos > div { display:block !important; padding:8px 12px !important; }.work-improvement-print-photos figure { height:105mm; box-sizing:border-box; margin:0 0 10mm !important; break-inside:avoid; page-break-inside:avoid; }.work-improvement-print-photos figure:nth-child(odd):not(:first-child) { break-before:page; page-break-before:always; }.work-improvement-print-photos img { width:100%; height:96mm; max-height:none; object-fit:contain; }.work-improvement-print-photos figcaption { display:none; }
.work-improvement-print-first-page { display:flex; flex-direction:column; }.work-improvement-print-first-page section { flex:1 1 0; display:flex; flex-direction:column; margin:0 0 7mm; }.work-improvement-print-first-page section > div { flex:1 1 auto; }
.work-photo-card { overflow:hidden; border:1px solid #cddceb; border-radius:10px; background:#fff; box-shadow:0 3px 10px rgba(28,60,94,.08); }.work-photo-card .photo-delete-button { margin-top:8px; }
.work-improvement-print-photos figure { position:relative; padding:0 !important; border:1px solid #64748b; }.work-improvement-print-photos figure::before { content:'사진대지'; display:block; height:7mm; box-sizing:border-box; padding:1.5mm 3mm; border-bottom:1px solid #64748b; background:#edf3f8; color:#264764; font-size:11px; font-weight:800; }.work-improvement-print-photos img { height:88mm; margin:3mm auto 0; width:calc(100% - 6mm); }.work-improvement-print-photos figcaption { display:none; }
.work-improvement-print-photos figure::before { content:''; height:0; padding:0; border:0; }.work-improvement-print-photos figure:nth-child(odd)::before { content:'사진대지'; height:7mm; padding:1.5mm 3mm; border-bottom:1px solid #64748b; }.work-improvement-print-photos figure:nth-child(even) img { height:95mm; margin-top:4mm; }
.work-improvement-print-photos[data-paged="1"] { break-before:page; page-break-before:always; }.work-improvement-print-photos[data-paged="1"] > h3 { display:block; margin:0; padding:3mm 4mm; border:1px solid #64748b; border-bottom:0; background:#edf3f8; color:#264764; font-size:13px; }.work-improvement-photo-sheet-body { padding:5mm 6mm 6mm; border:1px solid #64748b; border-top:0; }.work-improvement-photo-sheet-body figure { height:103mm; margin:0 0 7mm !important; padding:0 !important; border:1px solid #64748b; }.work-improvement-photo-sheet-body figure:last-child { margin-bottom:0 !important; }.work-improvement-photo-sheet-body figure::before { display:none !important; }.work-improvement-photo-frame-title { height:7mm; box-sizing:border-box; padding:1.5mm 3mm; border-bottom:1px solid #64748b; background:#fff; color:#334155; font-size:11px; font-weight:800; }.work-improvement-photo-sheet-body img { display:block; width:calc(100% - 6mm) !important; height:91mm !important; margin:3mm auto 0 !important; }.work-improvement-photo-sheet-body figcaption { display:none !important; }
.work-improvement-print-paper { border:0; }
.other-support-print .work-improvement-print-photos { margin:18px 0 0; border:0; break-before:page; page-break-before:always; }
.other-support-print .work-improvement-print-photos > h3 { margin:0 0 14px; padding:0; border:0; background:transparent; color:#264764; font-size:14px; }
.other-support-print .work-improvement-print-photos > div { display:block !important; padding:0 !important; }
.other-support-print .work-improvement-print-photos figure { height:115mm !important; margin:0 0 5mm !important; padding:0 !important; border:1px solid #b9c6d4 !important; background:#fff; break-before:auto !important; page-break-before:auto !important; break-inside:avoid; page-break-inside:avoid; }
.other-support-print .work-improvement-print-photos figure:last-child { margin-bottom:0 !important; }
.other-support-print .work-improvement-print-photos figure[data-pair-first="1"] { margin-bottom:17mm !important; }
.other-support-print .other-support-photo-page-heading { display:block; margin:0 0 4mm; padding:0; border:0; background:transparent; color:#264764; font-size:14px; break-before:page; page-break-before:always; }
.other-support-print .work-improvement-print-photos figure::before { content:attr(data-photo-stage) !important; display:block !important; height:10mm !important; box-sizing:border-box; padding:2.2mm 3mm !important; border-bottom:1px solid #b9c6d4 !important; background:#edf3f8; color:#264764; font-size:13px; font-weight:800; text-align:center; }
.other-support-print .work-improvement-print-photos img { display:block; width:calc(100% - 6mm) !important; height:90mm !important; max-height:none !important; margin:3mm auto 0 !important; object-fit:contain; background:transparent; }
.other-support-print .work-improvement-print-photos figcaption { display:block !important; min-height:11mm; box-sizing:border-box; padding:3mm; color:#264764; font-size:13px; font-weight:800; text-align:center; }
.other-support-photo-grid .photo-caption-editor,.incident-caption-grid .photo-caption-editor,.standard-photo-editor-grid .photo-caption-editor { display:block; padding:8px 9px 0; color:#31506d; font-size:12px; font-weight:800; }
.other-support-photo-grid .photo-caption-editor textarea,.incident-caption-grid .photo-caption-editor textarea,.standard-photo-editor-grid .photo-caption-editor textarea { width:100%; min-height:54px; box-sizing:border-box; margin-top:4px; resize:vertical; border:1px solid #b9cbe0; border-radius:7px; padding:7px; font:inherit; font-weight:400; line-height:1.4; }
.other-support-print .work-improvement-print-photos figcaption { white-space:pre-wrap; word-break:break-word; }
.standard-photo-print .work-improvement-print-photos { margin:18px 0 0; border:0; break-before:page; page-break-before:always; }
.standard-photo-print .work-improvement-print-photos > h3,.standard-photo-print .standard-photo-page-heading { display:block; margin:0 0 4mm; padding:0; border:0; background:transparent; color:#264764; font-size:14px; }
.standard-photo-print .standard-photo-page-heading { break-before:page; page-break-before:always; }
.standard-photo-print .work-improvement-print-photos > div { display:block !important; padding:0 !important; }
.standard-photo-print .work-improvement-print-photos figure { height:115mm !important; margin:0 0 5mm !important; padding:0 !important; border:1px solid #b9c6d4 !important; background:#fff; break-before:auto !important; page-break-before:auto !important; }
.standard-photo-print .work-improvement-print-photos figure[data-pair-first="1"] { margin-bottom:17mm !important; }
.standard-photo-print .work-improvement-print-photos figure::before { content:attr(data-photo-stage) !important; display:block !important; height:10mm !important; box-sizing:border-box; padding:2.2mm 3mm !important; border-bottom:1px solid #b9c6d4 !important; background:#edf3f8; color:#264764; font-size:13px; font-weight:800; text-align:center; }
.standard-photo-print .work-improvement-print-photos img { display:block; width:calc(100% - 6mm) !important; height:90mm !important; max-height:none !important; margin:3mm auto 0 !important; object-fit:contain; background:transparent; }
.standard-photo-print .work-improvement-print-photos figcaption { display:block !important; min-height:11mm; box-sizing:border-box; padding:3mm; color:#264764; font-size:13px; font-weight:800; text-align:center; white-space:pre-wrap; word-break:break-word; }
.panel-head-actions { display:flex; gap:8px; align-items:center; }
.training-attendee-roster { max-width:900px; margin:0 auto; padding:24px; }.training-attendee-paper { padding:38px 44px; background:#fff; color:#111; }.training-attendee-paper h2 { margin:0 0 38px; text-align:center; font-family:"Batang","Malgun Gothic",serif; font-size:31px; letter-spacing:.18em; text-decoration:underline; text-underline-offset:8px; }.training-attendee-info { margin:0 0 22px; padding:0 0 12px; border-bottom:2px solid #111; }.training-attendee-info div { display:flex; gap:18px; margin:13px 0; font-family:"Batang","Malgun Gothic",serif; font-size:17px; }.training-attendee-info dt { width:145px; font-weight:800; }.training-attendee-info dd { margin:0; }.training-attendee-paper h3 { margin:0 0 10px; font-family:"Batang","Malgun Gothic",serif; font-size:18px; }.training-attendee-table { width:100%; border-collapse:collapse; table-layout:fixed; }.training-attendee-table th,.training-attendee-table td { height:48px; border:1px solid #5d6570; padding:4px 7px; text-align:center; }.training-attendee-table th { height:38px; background:#d9dde2; font-weight:800; }.training-attendee-table th:nth-child(1) { width:10%; }.training-attendee-table th:nth-child(2) { width:19%; }.training-attendee-table th:nth-child(3) { width:25%; }.training-attendee-table th:nth-child(4) { width:23%; }.training-attendee-table th:nth-child(5) { width:23%; }.training-attendee-table td input { width:100%; box-sizing:border-box; border:0; outline:0; background:transparent; text-align:center; font:inherit; }.training-attendee-table .signature-cell { background:#fff; }.attendee-row-delete { border:0; background:transparent; color:#b42318; cursor:pointer; }.training-attendee-popup .site-header,.training-attendee-popup .left-panel,.training-attendee-popup .page-title { display:none; }.training-attendee-popup .workspace { display:block; padding:0; }.training-attendee-popup .main-panel { padding:0; border:0; border-radius:0; background:transparent; }
/* Keep the two-photo A4 sheet visually full without spilling onto a third page. */
.work-improvement-photo-sheet-body { padding-bottom:7mm; }
.work-improvement-photo-sheet-body figure { height:110mm; margin-bottom:12mm !important; }
.work-improvement-photo-sheet-body img { height:94mm !important; }
/* Give each small photo sheet a calmer vertical breathing space inside its frame. */
.work-improvement-photo-sheet-body img { height:83mm !important; margin:10mm auto !important; }
/* Small photo tables stay plain; only their photo-sheet title cell carries color. */
.work-improvement-photo-sheet-body figure,
.work-improvement-photo-sheet-body img { background:transparent !important; }
.work-improvement-photo-frame-title { background:#edf3f8; color:#264764; }
.panel-head-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.incident-print-report { max-width:900px; margin:0 auto; padding:38px 46px; border:1px solid #d4dce7; background:#fff; color:#172336; }.incident-print-title { position:relative; margin-bottom:28px; text-align:center; }.incident-print-title p { margin:0 0 6px; color:#42688e; font-size:12px; font-weight:800; letter-spacing:.14em; }.incident-print-title h2 { margin:0; font-size:28px; letter-spacing:.32em; }.incident-print-title span { position:absolute; right:0; bottom:0; color:#64748b; font-size:12px; }
.incident-print-popup .site-header,.incident-print-popup .left-panel,.incident-print-popup .page-title { display:none; }.incident-print-popup .workspace { display:block; padding:0; }.incident-print-popup .main-panel { padding:0; border:0; border-radius:0; background:transparent; }.incident-print-popup .incident-print-report { margin:0 auto; }
.mcheck-print-popup .site-header,.mcheck-print-popup .left-panel,.mcheck-print-popup .page-title { display:none; }.mcheck-print-popup .workspace { display:block; padding:0; }.mcheck-print-popup .main-panel { padding:0; border:0; border-radius:0; background:transparent; }.mcheck-print-popup .report-preview { border:0; padding:0; background:#fff; }
.incident-print-info { width:100%; border-collapse:collapse; margin-bottom:22px; font-size:13px; }.incident-print-info th,.incident-print-info td { padding:10px 12px; border:1px solid #aebccc; text-align:left; }.incident-print-info th { width:130px; background:#edf3f8; color:#264764; }.incident-print-section { margin:18px 0; border:1px solid #b9c6d4; }.incident-print-section h3 { margin:0; padding:10px 13px; border-bottom:1px solid #b9c6d4; background:#edf3f8; font-size:14px; color:#264764; }.incident-print-section > div:not(.incident-print-photo-grid),.incident-print-section > p { min-height:64px; margin:0; padding:15px; line-height:1.7; white-space:normal; }.incident-print-photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:14px; }.incident-print-photo-grid figure { margin:0; border:1px solid #d5dee8; padding:7px; }.incident-print-photo-grid img { display:block; width:100%; max-height:260px; object-fit:contain; background:#f7f9fb; }.incident-print-photo-grid figcaption { padding:6px 2px 0; color:#264764; font-size:12px; font-weight:800; word-break:keep-all; }.incident-print-photo-grid figcaption span { color:#64748b; font-size:11px; font-weight:700; }
.incident-print-first-page { display:flex; flex-direction:column; }
@media (max-width: 720px) { .random-checklist-head { display: grid; } .random-checklist-actions { justify-content: flex-start; } }
.board-table td { padding: 12px 12px; border-bottom: 1px solid #e2e8f0; color: #334155; vertical-align: middle; }
.board-table tbody tr:nth-child(even) td { background: #fbfdff; }
.board-table tr:hover td { background: #edf7fb; }
.board-table td small { display: block; color: #64748b; font-size: 12px; margin-top: 3px; line-height: 1.35; }
.date-line { font-size: 13px; font-weight: 900; color: #1f2937; white-space: nowrap; }
.board-title-link { color: #1f2937; font-size: 13px; font-weight: 900; text-decoration: none; }
.board-title-link:hover { color: #1d4ed8; text-decoration: underline; }
.scope-pill, .status-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; border: 1px solid transparent; border-radius: 999px; padding: 6px 10px; font-size: 12px; line-height: 1.2; font-weight: 900; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.scope-pill.common { background: #eaf2ff; border-color: #bfdbfe; color: #1d4ed8; }
.scope-pill.personal { background: #dcfce7; border-color: #86efac; color: #166534; }
.status-pill.working { background: #fff7ed; border-color: #fdba74; color: #c2410c; }
.status-pill.done { background: #dcfce7; border-color: #86efac; color: #166534; }
.status-pill.draft { background: #fff7ed; border-color: #fdba74; color: #c2410c; }
.status-pill.missing { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.empty-cell { text-align: center; color: #94a3b8; padding: 28px 10px !important; }


.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; }
.pagination a { min-width: 30px; height: 30px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dbe3ee; border-radius: 7px; color: #475569; background: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.pagination a.active, .pagination a:hover { background: #2563eb; border-color: #2563eb; color: #fff; }


.board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.board-toolbar .board-summary { margin: 0; }


.mcheck-board .board-table { min-width: 1040px; font-size: 13px; line-height: 1.45; }
.mcheck-board .board-table th { padding: 11px 12px; font-size: 12px; color: #334155; background: #eef4f8; }
.mcheck-board .board-table td { padding: 12px 12px; min-height: 48px; border-bottom-color: #e2e8f0; }
.mcheck-board .board-table tbody tr:nth-child(even) td { background: #fbfdff; }
.mcheck-board .board-table tr:hover td { background: #edf7fb; }
.mcheck-board .board-title-link { font-size: 13px; font-weight: 900; }
.mcheck-board .date-line { font-size: 13px; font-weight: 900; color: #1f2937; }
.mcheck-board .scope-pill,
.mcheck-board .status-pill {
  min-width: 62px;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.mcheck-board .status-pill.done { background: #dcfce7; border-color: #86efac; color: #166534; }
.mcheck-board .status-pill.draft { background: #fff7ed; border-color: #fdba74; color: #c2410c; }
.mcheck-board .status-pill.missing,
.mcheck-board .status-pill.working { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }

@media (min-width: 1081px) {
  .mcheck-board .board-table { min-width: 1040px; font-size: 13px; line-height: 1.45; }
  .mcheck-board .board-table th { padding: 10px 12px; font-size: 12px; }
  .mcheck-board .board-table td { padding: 11px 12px; }
  .mcheck-board .board-title-link,
  .mcheck-board .date-line { font-size: 13px; }
  .mcheck-board .scope-pill,
  .mcheck-board .status-pill { padding: 6px 10px; font-size: 12px; }
}


/* FHD compact density */
@media (min-width: 1081px) {
  body { font-size: 13px; }
  .site-header { min-height: 56px; grid-template-columns: 205px 1fr auto; gap: 12px; padding: 7px 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 7px; font-size: 14px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 11px; margin-top: 1px; }
  .top-menu { gap: 3px; }
  .top-menu-group > button { height: 36px; padding: 0 11px; font-size: 13px; border-radius: 5px; }
  .submenu { top: 38px; width: 210px; padding: 6px; border-radius: 7px; }
  .submenu-item { padding: 7px 8px; }
  .submenu-item small { font-size: 11px; }
  .userbox { gap: 1px; font-size: 12px; }
  .userbox a { font-size: 12px; }
  .workspace { grid-template-columns: 240px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .left-panel { gap: 10px; }
  .side-section { padding: 12px; }
  .main-panel { padding: 12px; }
  .page-title { margin-bottom: 10px; }
  .page-title h1 { font-size: 21px; }
  .eyebrow { font-size: 10px; margin-bottom: 2px; }
  .side-section h2 { font-size: 15px; margin-bottom: 8px; }
  .side-title-row { margin-bottom: 7px; }
  .mini-action { width: 23px; height: 23px; }
  .search-panel { top: 70px; }
  .side-search-form { gap: 7px; }
  .side-search-form label { gap: 4px; font-size: 11px; }
  .side-search-form input, .side-search-form select { padding: 6px 8px; font-size: 12px; border-radius: 6px; }
  .search-actions { gap: 6px; }
  .search-actions button { padding: 7px 10px; }
  .todo-panel .compact-schedule-list { max-height: 300px; }
  .compact-schedule { padding: 5px 7px; }
  .board-panel, .todo-editor, .schedule-editor, .calendar-panel { padding: 12px; }
  .board-toolbar { margin-bottom: 8px; }
  .board-summary { font-size: 11px; }
  .month-nav-link { padding: 5px 8px; font-size: 12px; border-radius: 5px; }
  .board-table { min-width: 820px; font-size: 13px; line-height: 1.45; }
  .board-table th { padding: 10px 12px; font-size: 12px; }
  .board-table td { padding: 11px 12px; }
  .board-table td small { font-size: 12px; }
  .scope-pill, .status-pill { padding: 6px 10px; font-size: 12px; }
  .pagination { margin-top: 9px; gap: 4px; }
  .pagination a { min-width: 26px; height: 26px; padding: 0 7px; font-size: 11px; border-radius: 6px; }
  .todo-form { gap: 10px; }
  .form-grid { gap: 8px; }
  .todo-form label, .schedule-form label { gap: 4px; font-size: 12px; }
  .todo-form input, .todo-form select, .todo-form textarea, .schedule-form input, .schedule-form select, .schedule-form textarea { padding: 7px 8px; font-size: 13px; border-radius: 5px; }
  .form-actions button { padding: 8px 11px; }
  .panel-head { margin-bottom: 10px; }
  .calendar-grid { gap: 4px; }
  .labels span { font-size: 11px; padding-bottom: 4px; }
  .day { min-height: 92px; padding: 5px; border-radius: 5px; }
  .day b { margin-bottom: 3px; font-size: 12px; }
  .day span { margin-top: 3px; padding: 2px 4px; font-size: 10px; }
}


/* List readability */
@media (min-width: 1081px) {
  .board-table { font-size: 13px; line-height: 1.45; }
  .board-table th { padding: 10px 12px; font-size: 12px; }
  .board-table td { padding: 11px 12px; }
  .board-table td small { font-size: 12px; margin-top: 3px; }
  .date-line { font-size: 13px; }
  .board-title-link { font-size: 13px; }
  .scope-pill, .status-pill { padding: 6px 10px; font-size: 12px; }
}


.day.holiday { border-color: #f0b4aa; background: #fff7f6; }
.day.holiday b { color: #c24132; }
.day.holiday span { background: #fdecea; color: #9f3025; }
.day.saturday { border-color: #f0b4aa; }
.holiday-name { display: block; margin: -1px 0 4px; color: #c24132; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.day-head { display: flex; align-items: baseline; gap: 5px; min-width: 0; margin-bottom: 4px; }
.day-head b { margin-bottom: 0; flex: 0 0 auto; }
.day-head .holiday-name { margin: 0; min-width: 0; flex: 1 1 auto; }


.month-nav .today-link { width: 28px; padding: 0; display: inline-grid; place-items: center; }
.month-nav .today-link span { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 3px; position: relative; display: block; }
.month-nav .today-link span::before { content: ''; position: absolute; left: -2px; right: -2px; top: 3px; border-top: 2px solid currentColor; }
.month-nav .today-link span::after { content: ''; position: absolute; width: 4px; height: 4px; right: 2px; bottom: 2px; background: currentColor; border-radius: 50%; }
@media (min-width: 1081px) { .month-nav .today-link { width: 25px; } .month-nav .today-link span { width: 12px; height: 12px; } }

.day-head { display: flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; min-height: 18px; }
.day-head:hover b { text-decoration: underline; }
.office-shift-legend { display:inline-flex; align-items:center; gap:4px; color:#52667c; font-size:11px; font-weight:700; white-space:nowrap; }
.office-shift-icons { display:inline-flex; align-items:center; gap:2px; margin-left:2px; }
.office-shift-icon { display:inline-grid; width:16px; height:16px; place-items:center; border-radius:50%; color:#fff; font-size:10px; font-style:normal; font-weight:800; line-height:1; }
.office-shift-icon.early { background:#2784e8; }
.office-shift-icon.regular { background:#18a36b; }
.day.holiday .office-shift-icons { background:transparent; color:inherit; }
.schedule-chip { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 3px; padding: 2px 4px; border-radius: 4px; text-decoration: none; font-size: 11px; color: #334155; background: #eef6ff; }
.schedule-chip.personal { background: #f0fdf4; color: #166534; }
.schedule-chip.family { background: #fff1f2; color: #be123c; }
.schedule-chip.common { background: #eef6ff; color: #1d4ed8; }
.schedule-chip.maintenance { background: #fff7ed; color: #9a3412; }
.schedule-chip:hover { filter: brightness(.97); }


.calendar-head { align-items: center; }
.calendar-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.calendar-title-row h2 { margin: 0; }
.calendar-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.calendar-tabs a { padding: 5px 10px; font-size: 12px; color: #64748b; text-decoration: none; border-right: 1px solid var(--line); line-height: 1.2; }
.calendar-tabs a:last-child { border-right: 0; }
.calendar-tabs a.active { background: var(--brand); color: #fff; font-weight: 700; }
.stend-chip { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 3px; padding: 2px 4px; border-radius: 4px; text-decoration: none; font-size: 11px; color: #334155; background: #f8fafc; }
.stend-chip.normal { background: #ecfdf5; color: #047857; }
.stend-chip.alert { background: #fff1f2; color: #be123c; font-weight: 700; }
.stend-chip:hover { filter: brightness(.97); }
@media (min-width: 1081px) {
  .calendar-title-row { gap: 8px; }
  .calendar-tabs a { padding: 4px 8px; font-size: 11px; }
  .stend-chip { font-size: 10.5px; padding: 1px 4px; }
}


/* Calendar header and attendance wrapping fixes */
.page-heading-row { display: flex; flex-direction: column; gap: 4px; }
.title-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.title-line h1 { margin: 0; }
.page-mode-tabs { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.page-mode-tabs a { padding: 4px 9px; font-size: 12px; line-height: 1.2; color: #64748b; text-decoration: none; border-right: 1px solid var(--line); }
.page-mode-tabs a:last-child { border-right: 0; }
.page-mode-tabs a.active { background: var(--brand); color: #fff; font-weight: 700; }
.stend-chip { display: flex; align-items: flex-start; gap: 4px; width: 100%; box-sizing: border-box; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; word-break: keep-all; }
.stend-chip .stend-name { flex: 0 0 auto; }
.stend-chip .stend-status { flex: 1 1 auto; min-width: 0; }
@media (min-width: 1081px) {
  .page-mode-tabs a { padding: 3px 8px; font-size: 11px; }
}
@media (max-width: 700px) { .office-shift-legend { width:100%; font-size:10px; } .office-shift-icon { width:15px; height:15px; font-size:9px; } }

.side-nav-list { display: grid; gap: 6px; margin-top: 10px; }
.side-nav-list a { display: block; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; color: #334155; text-decoration: none; background: #fff; font-size: 12px; font-weight: 700; }
.side-nav-list a.active, .side-nav-list a:hover { border-color: var(--brand); color: var(--brand); background: #eef6ff; }
.inline-check { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 12px; font-weight: 700; }
.inline-check input { width: auto; }
.sub-board { margin-top: 14px; }
.link-button { border: 0; background: transparent; color: #dc2626; font-size: 11px; font-weight: 800; cursor: pointer; padding: 0; }
.board-title-text { font-weight: 800; color: #1f2937; }
.logo-preview-box { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.logo-preview-box img { max-width: 220px; max-height: 72px; object-fit: contain; }
.logo-preview-box span { color: var(--muted); font-size: 13px; font-weight: 700; }

.report-preview { background: #f8fafc; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.print-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.print-actions button, .print-actions a { border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #334155; padding: 7px 11px; text-decoration: none; font-weight: 800; font-size: 12px; cursor: pointer; }
.print-report { max-width: 820px; margin: 0 auto; min-height: 1000px; background: #fff; color: #111827; padding: 28px 30px; border: 0; box-shadow: none; font-size: 14px; line-height: 1.65; }
.print-report h1 { margin: 12px 0 20px; text-align: center; font-size: 25px; line-height: 1.5; color: #111827; }
.print-report .report-month { text-align: center; margin: 0 0 42px; font-size: 20px; font-weight: 800; }
.report-cover { position: relative; min-height: 1040px; padding: 28px 26px 54px; color: #3f3f46; }
.report-cover-top { position: absolute; top: 28px; left: 26px; right: 26px; display: flex; align-items: flex-start; min-height: 120px; }
.report-cover-top img { max-width: 285px; max-height: 88px; object-fit: contain; }
.report-cover-logo-fallback { font-size: 24px; font-weight: 800; color: #3f3f46; }
.report-cover-main { position: absolute; top: 250px; left: 26px; right: 26px; display: grid; gap: 64px; text-align: center; margin-top: 0; }
.report-cover-contract { margin: 0; font-size: 28px; line-height: 1.45; font-weight: 800; letter-spacing: 0; }
.report-cover-title-box { display: grid; gap: 28px; margin: 0 auto; width: min(590px, 100%); padding: 24px 18px; border: 1px solid #111; text-align: center; }
.report-cover-title-box strong { font-size: 36px; line-height: 1.25; font-weight: 900; letter-spacing: 0; }
.report-cover-title-box span { font-size: 34px; line-height: 1.25; font-weight: 900; letter-spacing: 0; }
.report-cover-bottom { position: absolute; left: 26px; right: 26px; bottom: 54px; display: grid; justify-items: center; gap: 46px; }
.report-cover-month { margin: 0; color: #000; font-size: 38px; line-height: 1; font-weight: 900; letter-spacing: 0; }
.report-cover-bottom img { display: block; max-width: 330px; max-height: 78px; object-fit: contain; }
.report-cover-ci-fallback { min-width: 240px; padding: 8px 16px; text-align: center; font-size: 22px; font-weight: 900; color: #dc2626; border-top: 4px solid #dc2626; }
.report-contract-page { padding: 0; margin-bottom: 18px; }
.print-report .report-contract-page h2 { margin: 0 0 10px; font-size: 17px; line-height: 1.45; font-weight: 900; color: #111827; }
.print-report .report-contract-line { margin: 5px 0 5px 16px; font-size: 14px; line-height: 1.65; color: #111827; }
.print-report .report-bullet-line { position: relative; margin-left: 18px; padding-left: 13px; }
.print-report .report-bullet-line::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 1px; background: #1f2937; }
.report-support-box { min-height: 150px; margin: 6px 0 0 10px; padding: 18px 16px; border: 1px solid #111; color: #333; font-size: 14px; line-height: 1.65; }
.print-report .report-support-box p { margin: 0 0 4px; }
.print-report h2 { margin: 28px 0 10px; font-size: 17px; color: #111827; }
.print-report p { margin: 5px 0; }
.print-report ul { margin: 4px 0 12px 18px; padding: 0; }
.print-report li { margin: 2px 0; }
.print-report table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 12px; }
.print-report th, .print-report td { border: 1px solid #9ca3af; padding: 6px 8px; text-align: center; }
.print-report th { background: #f3f4f6; }
.report-assets-table { table-layout: fixed; }
.report-assets-table th:nth-child(1), .report-assets-table td:nth-child(1) { width: 28%; }
.report-assets-table th:nth-child(2), .report-assets-table td:nth-child(2) { width: 39%; }
.report-assets-table th:nth-child(3), .report-assets-table td:nth-child(3),
.report-assets-table th:nth-child(4), .report-assets-table td:nth-child(4),
.report-assets-table th:nth-child(5), .report-assets-table td:nth-child(5) { width: 11%; }
.photo-paper { min-height: 180px; border: 1px solid #cbd5e1; padding: 14px; margin-top: 8px; color: #475569; }
.report-page-break { break-before: page; page-break-before: always; height: 1px; }
.report-image-grid { display: block; margin-top: 6px; }
.report-image-grid figure, .checksheet-image, .photo-paper-table { margin: 0 0 14px; break-inside: avoid; page-break-inside: avoid; }
.report-image-grid img, .checksheet-image img { width: 100%; max-height: 460px; object-fit: contain; border: 1px solid #cbd5e1; background: #fff; }
.report-image-grid figcaption, .checksheet-image figcaption { margin-top: 4px; color: #64748b; font-size: 11px; text-align: center; }
.checksheet-image { text-align: center; }
.checksheet-image img { display: block; max-height: none; border: 0; margin: 0 auto; }
.print-report .photo-paper-table { table-layout: fixed; border-collapse: collapse; width: 100%; margin-top: 6px; border: 1px solid #111; }
.print-report .photo-paper-table th { height: 34px; border: 1px solid #111; background: #cfcfcf; color: #333; font-size: 20px; font-weight: 900; text-align: center; vertical-align: middle; }
.print-report .photo-paper-table td { height: 126mm; padding: 12mm 8mm; border: 1px solid #111; background: #fff; text-align: center; vertical-align: middle; }
.print-report .photo-paper-table a { display: block; width: 100%; height: 100%; }
.print-report .photo-paper-table img { display: block; width: 100%; height: 100%; object-fit: fill; border: 0; background: #fff; }
.pdf-embed { width: 100%; min-height: 900px; border: 1px solid #cbd5e1; }
.pdf-progress-overlay { position: fixed; z-index: 9999; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .52); }
.pdf-progress-overlay.is-visible { display: flex; }
.pdf-progress-card { width: min(420px, 100%); padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 20px 55px rgba(15, 23, 42, .3); }
.pdf-progress-title { margin: 0 0 8px; color: #0f172a; font-size: 17px; font-weight: 800; }
.pdf-progress-text { margin: 0; color: #475569; font-size: 13px; }
.pdf-progress-track { height: 9px; margin-top: 16px; overflow: hidden; border-radius: 99px; background: #e2e8f0; }
.pdf-progress-bar { width: 0; height: 100%; border-radius: inherit; background: #1677ff; transition: width .2s ease; }

/* Incident photo sheets follow the work-report photo-sheet design. */
.incident-print-photos > h3 { margin:0 0 4mm; padding:0; border:0; background:transparent; }
.incident-photo-sheet-body { padding:0; border:0; }
.incident-photo-sheet-body figure { height:115mm !important; margin:0 0 5mm !important; border-color:#b9c6d4 !important; background:#fff !important; }
.incident-photo-sheet-body figure:nth-child(odd):not(:last-child) { margin-bottom:17mm !important; }
.incident-photo-frame-title { height:10mm; padding:2.2mm 3mm; border-bottom-color:#b9c6d4; text-align:center; font-size:13px; }
.incident-photo-sheet-body img { height:90mm !important; margin:3mm auto 0 !important; }
.incident-photo-sheet-body figcaption { display:block; min-height:11mm; box-sizing:border-box; padding:3mm; color:#264764; font-size:13px; font-weight:800; text-align:center; white-space:pre-wrap; word-break:break-word; }
.incident-print-photos { margin:0 !important; border:0 !important; break-before:page !important; page-break-before:always !important; }
.incident-print-photos > h3 { display:block; margin:0; padding:3mm 4mm; border:1px solid #64748b; border-bottom:0; background:#edf3f8; color:#264764; font-size:13px; }
.incident-photo-sheet-body { padding:5mm 6mm 7mm; border:1px solid #64748b; border-top:0; }
.incident-photo-sheet-body figure { height:110mm !important; margin:0 0 12mm !important; padding:0 !important; border:1px solid #64748b !important; box-sizing:border-box; display:block !important; overflow:hidden; break-inside:avoid; page-break-inside:avoid; background:transparent !important; }
.incident-photo-sheet-body figure:last-child { margin-bottom:0 !important; }
.incident-photo-frame-title { height:7mm; box-sizing:border-box; padding:1.5mm 3mm; border-bottom:1px solid #64748b; background:#edf3f8; color:#264764; font-size:11px; font-weight:800; }
.incident-photo-sheet-body img { display:block; width:calc(100% - 6mm) !important; height:83mm !important; max-height:none !important; margin:10mm auto !important; object-fit:contain; background:transparent !important; }
.incident-print-photos > h3 { margin:0 0 4mm; padding:0; border:0; background:transparent; }
.incident-photo-sheet-body { padding:0; border:0; }
.incident-photo-sheet-body figure { height:115mm !important; margin:0 0 5mm !important; border-color:#b9c6d4 !important; background:#fff !important; }
.incident-photo-sheet-body figure:nth-child(odd):not(:last-child) { margin-bottom:17mm !important; }
.incident-photo-frame-title { height:10mm; padding:2.2mm 3mm; border-bottom-color:#b9c6d4; text-align:center; font-size:13px; }
.incident-photo-sheet-body img { height:90mm !important; margin:3mm auto 0 !important; }
.incident-photo-sheet-body figcaption { display:block; min-height:11mm; box-sizing:border-box; padding:3mm; color:#264764; font-size:13px; font-weight:800; text-align:center; white-space:pre-wrap; word-break:break-word; }

/* Use the same type scale and report-section styling as function-improvement reports. */
.incident-print-title { margin:0 0 26px; }
.incident-print-title p { margin:0 0 7px; color:#537597; font-size:12px; font-weight:800; letter-spacing:.14em; }
.incident-print-title h2 { margin:0; font-size:28px; letter-spacing:.16em; }
.incident-print-title span { color:#64748b; font-size:12px; }
.incident-print-info { margin:0 0 18px; font-size:13px; }
.incident-print-info th,.incident-print-info td { padding:10px 12px; border-color:#aebccc; }
.incident-print-info th { width:112px; background:#edf3f8; color:#264764; }
.incident-print-section { margin-top:18px; border-color:#b9c6d4; }
.incident-print-section h3 { padding:10px 13px; border-bottom-color:#b9c6d4; background:#edf3f8; color:#264764; font-size:14px; }
.incident-print-section > div:not(.incident-photo-sheet-body) { min-height:46px; padding:14px; line-height:1.7; }

/* Keep incident narrative text identical to the function-improvement report in preview and print. */
.incident-print-first-page { font-size:13px; line-height:1.6; }
.incident-print-first-page .incident-print-section > div:not(.incident-photo-sheet-body) { font-size:inherit; line-height:inherit; }

/* Match the printed content inset used by the function-improvement report. */
@media print {
  .incident-print-report { padding:0 70px !important; }
}

/* Vacation management */
/* A4 print alignment refinements */
.a4-vacation-table tbody tr:nth-child(1) td,.a4-vacation-table tbody tr:nth-child(2) td:not(.a4-vacation-name),.a4-vacation-table tbody tr:nth-child(3) td{text-align:center!important}.a4-content-row .a4-multiline,.a4-contact-row .a4-multiline{padding-left:18px!important}
.a4-vacation-header{position:relative}.a4-company-ci{position:absolute;top:0;left:0;display:flex;align-items:center;width:43mm;height:10mm}.a4-company-ci img{display:block;max-width:100%;max-height:100%;object-fit:contain;object-position:left center}
/* A4 print density: fill the printable page without scaling down */
.a4-vacation-paper{width:182mm!important;min-height:269mm!important;padding:7mm 7mm 6mm!important}.a4-vacation-header{margin-bottom:8mm!important}.a4-vacation-header h1{font-size:31px!important}.a4-vacation-table{font-size:15px!important}.a4-vacation-table th,.a4-vacation-table td{padding:9px 11px!important}.a4-content-row th,.a4-content-row td{height:68mm!important}.a4-contact-row th,.a4-contact-row td{height:30mm!important}.a4-vacation-approval{min-height:24mm!important}.a4-vacation-footer{padding-top:10mm!important}.a4-vacation-footer p{margin-bottom:8mm!important;font-size:14px!important}.a4-vacation-footer h2{font-size:22px!important}.vacation-print-popup .print-toolbar{width:182mm!important}
.a4-vacation-table tbody tr:nth-child(1) th,.a4-vacation-table tbody tr:nth-child(1) td{height:16mm!important}.a4-vacation-table tbody tr:nth-child(4) th,.a4-vacation-table tbody tr:nth-child(4) td{height:17mm!important}
/* Keep the final vacation form within one A4 printable page. */
.a4-vacation-paper{height:269mm!important;min-height:0!important;overflow:hidden!important}.a4-content-row th,.a4-content-row td{height:58mm!important}.a4-contact-row th,.a4-contact-row td{height:26mm!important}.a4-vacation-approval{min-height:22mm!important}.a4-vacation-footer{padding-top:8mm!important}.a4-vacation-footer p{margin-bottom:6mm!important;font-size:13px!important}.a4-vacation-footer h2{font-size:21px!important}
.a4-vacation-table td.a4-vacation-period{padding-left:18px!important}
.inline-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 18px}.inline-filter input{min-height:36px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px}.inline-filter a{padding:8px 10px;color:#47617c}.vacation-reason{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inline-delete{display:inline}.inline-delete button,.table-action{border:0;background:transparent;color:#2f6ea9;text-decoration:none;cursor:pointer;font:inherit;padding:0 0 0 8px}.inline-delete button{color:#b44343}.vacation-editor small{display:block;color:#6b7f92;margin-top:4px}.vacation-print-shell{max-width:900px;margin:0 auto}.print-toolbar{display:flex;justify-content:flex-end;gap:10px;margin:0 0 16px}.print-toolbar a,.print-toolbar button{border:1px solid #bdcddd;border-radius:8px;padding:9px 14px;background:#fff;color:#264764;text-decoration:none}.print-toolbar .primary{background:#1e6091;color:#fff;border-color:#1e6091}.vacation-paper{width:min(100%,760px);margin:0 auto;background:#fff;border:1px solid #b9c6d4;padding:18mm 16mm;box-sizing:border-box;color:#152b3f}.vacation-paper header{text-align:center;border-bottom:2px solid #264764;margin-bottom:10mm;padding-bottom:5mm}.vacation-paper header p{margin:0 0 4px;font-weight:700;letter-spacing:.12em;color:#55738d;font-size:12px}.vacation-paper h1{margin:0;font-size:27px}.vacation-paper table{width:100%;border-collapse:collapse}.vacation-paper th,.vacation-paper td{border:1px solid #9eafbe;padding:10px 12px;text-align:left;vertical-align:middle}.vacation-paper th{width:19%;background:#edf3f8;font-weight:700}.vacation-paper .print-multiline{height:90px;vertical-align:top}.vacation-print-days{margin-top:14px;border:1px solid #b9c6d4;padding:10px 12px}.vacation-print-days h3{margin:0 0 6px;font-size:14px}.vacation-print-days p{margin:0;line-height:1.6}.vacation-paper footer{text-align:center;margin-top:18mm;font-weight:700}
.vacation-print-popup .site-header,.vacation-print-popup .left-panel,.vacation-print-popup .page-title{display:none}.vacation-print-popup .workspace{display:block;padding:0}.vacation-print-popup .main-panel{padding:0;border:0;border-radius:0;background:transparent}.vacation-print-popup .vacation-print-shell{max-width:none;margin:0}
.legacy-vacation-print{max-width:900px;margin:0 auto}.legacy-vacation-paper{width:668px;margin:0 auto;padding:18px 0 24px;background:#fff;color:#374151;font-family:"Malgun Gothic","맑은 고딕",sans-serif}.legacy-vacation-paper h1{margin:0 0 42px;text-align:center;font-size:38px;font-weight:500;letter-spacing:4px}.legacy-vacation-table{width:100%;border-collapse:collapse;border:1px solid #111;font-size:18px;letter-spacing:4px}.legacy-vacation-table th,.legacy-vacation-table td{height:54px;border:1px solid #111;padding:10px 16px;vertical-align:middle;box-sizing:border-box}.legacy-vacation-table th{width:20%;background:#ccc;text-align:center;font-weight:700;line-height:1.45}.legacy-vacation-table td{background:#fff;text-align:left}.legacy-vacation-name{position:relative;text-align:center!important}.legacy-vacation-name span{display:inline-block}.legacy-vacation-name img{width:62px;height:62px;object-fit:contain;vertical-align:middle;margin-left:12px}.legacy-content-row th,.legacy-content-row td{height:200px}.legacy-contact-row th,.legacy-contact-row td{height:108px}.legacy-multiline{white-space:pre-line;line-height:2.05}.legacy-approval-row td{height:130px!important;background:#ccc;text-align:center;font-size:17px;font-weight:700;letter-spacing:0}.legacy-manager{margin:75px 0 30px;text-align:right;font-size:19px;letter-spacing:4px}.legacy-department{margin:0;text-align:center;font-size:27px;letter-spacing:1px}.vacation-print-popup .legacy-vacation-paper{margin:0 auto}.vacation-print-popup .print-toolbar{width:668px;margin:12px auto 16px}
.a4-vacation-print{max-width:210mm;margin:0 auto}.a4-vacation-paper{width:190mm;min-height:257mm;margin:0 auto;padding:12mm 10mm 10mm;background:#fff;color:#1d2b3a;font-family:"Malgun Gothic","맑은 고딕",sans-serif;box-sizing:border-box}.a4-vacation-header{margin:0 0 10mm;text-align:center}.a4-vacation-header p{margin:0 0 3mm;color:#698094;font-size:10px;font-weight:800;letter-spacing:.2em}.a4-vacation-header h1{margin:0;color:#1f3f5b;font-size:29px;letter-spacing:.2em;font-weight:700}.a4-vacation-table{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid #7890a2;font-size:14px}.a4-vacation-table .label{width:18%}.a4-vacation-table .value{width:32%}.a4-vacation-table th,.a4-vacation-table td{border:1px solid #9babb8;padding:8px 10px;vertical-align:middle}.a4-vacation-table th{background:#e8eef2;color:#28455d;text-align:center;font-weight:800;line-height:1.35;letter-spacing:.04em}.a4-vacation-table th small{font-size:11px;font-weight:700}.a4-vacation-table td{background:#fff;line-height:1.55}.a4-vacation-name{text-align:center!important;font-size:17px;font-weight:800}.a4-vacation-name span{display:inline-block;vertical-align:middle}.a4-vacation-name img{width:48px;height:48px;margin-left:8px;object-fit:contain;vertical-align:middle}.a4-vacation-period{font-size:15px;letter-spacing:.05em}.a4-vacation-period strong{margin-left:12px;color:#285d85;font-size:13px}.a4-content-row th,.a4-content-row td{height:54mm}.a4-contact-row th,.a4-contact-row td{height:25mm}.a4-multiline{white-space:pre-line;line-height:1.9}.a4-vacation-approval{margin:0;border:1px solid #9babb8;border-top:0;background:#f2f5f7;min-height:23mm;display:flex;align-items:center;justify-content:center;padding:0 12mm;box-sizing:border-box}.a4-vacation-approval p{margin:0;text-align:center;color:#274861;font-size:13px;font-weight:800;line-height:1.7}.a4-vacation-footer{padding-top:15mm;text-align:center}.a4-vacation-footer p{margin:0 4mm 7mm;text-align:right;font-size:13px;color:#41576b}.a4-vacation-footer p strong{margin:0 7px;color:#1f3f5b}.a4-vacation-footer h2{margin:0;color:#243f56;font-size:21px;letter-spacing:.05em}.vacation-print-popup .a4-vacation-paper{margin:0 auto}.vacation-print-popup .print-toolbar{width:190mm;margin:10px auto 12px}@media print{.a4-vacation-paper{width:190mm;min-height:257mm;padding:10mm 8mm 8mm}.a4-vacation-header{margin-bottom:8mm}.a4-content-row th,.a4-content-row td{height:50mm}.a4-contact-row th,.a4-contact-row td{height:23mm}.a4-vacation-footer{padding-top:11mm}}
@media print{body{background:#fff}.sidebar,.topbar,.no-print,.main-panel>.page-title{display:none!important}.main-panel{padding:0!important}.vacation-print-shell{max-width:none;margin:0}.vacation-paper{width:100%;border:0;padding:0;margin:0;box-shadow:none}@page{size:A4 portrait;margin:14mm}}

@media print {
  @page { size: A4 portrait; margin: 8mm; }
  body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .left-panel, .page-title, .print-actions { display: none !important; }
  .workspace { display: block; padding: 0; }
  .main-panel { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
  .report-preview { border: 0; padding: 0; background: #fff; }
  .print-report { box-shadow: none; border: 0; max-width: none; min-height: 0; padding: 0; }
  .report-cover { height: 260mm; min-height: 0; padding: 0; box-sizing: border-box; overflow: hidden; break-inside: avoid; page-break-inside: avoid; }
  .report-cover-top { top: 0; left: 0; right: 0; min-height: 82px; }
  .report-cover-top img { max-width: 285px; max-height: 78px; }
  .report-cover-main { top: 62mm; left: 0; right: 0; gap: 42px; margin-top: 0; }
  .report-cover-title-box { gap: 20px; padding: 20px 18px; }
  .report-cover-bottom { left: 0; right: 0; bottom: 5mm; gap: 18px; }
  .report-cover-bottom img { display: block; max-width: 330px; max-height: 70px; visibility: visible !important; }
  .report-cover { break-after: page; page-break-after: always; }
  .report-contract-page { min-height: 0; padding: 0; margin-bottom: 8mm; box-sizing: border-box; break-after: auto; page-break-after: auto; }
  .print-report .report-contract-page h2 { margin-top: 0; font-size: 17px; }
  .print-report .report-contract-line { font-size: 14px; }
  .report-support-box { min-height: 42mm; font-size: 14px; }
  .report-page-break { height: 0; }
  .report-image-grid { display: block; }
  /* Use the page's lower area for the inspection summary and photo sheet. */
  .print-report .report-bullet-line { margin-top: 8px; margin-bottom: 8px; line-height: 1.85; }
  .print-report .photo-paper-table td { height: 178mm; }
  .checksheet-image { margin: 0; break-before: page; page-break-before: always; }
  .checksheet-image:first-of-type { break-before: auto; page-break-before: auto; }
  /* Keep the section heading and first checksheet image on the same A4 page. */
  .checksheet-image img { width: 100%; max-height: 246mm; object-fit: contain; border: 0; }
  @page { size: A4 portrait; margin: 12mm 6mm; }
  .work-improvement-print-report { max-width:none; margin:0; padding:0; }
  .work-improvement-print-paper { padding:0 70px; border:0; }
  .work-improvement-print-first-page { height:273mm; }
  .work-improvement-print-first-page.has-following-pages { break-after:page; page-break-after:always; }
  .work-improvement-print-first-page section { margin:0 0 7mm; }
  .training-attendee-roster { max-width:none; margin:0; padding:0; }.training-attendee-roster .print-actions,.training-attendee-roster .screen-only,.training-attendee-roster .alert,.training-attendee-roster .notice { display:none !important; }.training-attendee-paper { padding:7mm 9mm; }.training-attendee-paper h2 { margin:0 0 11mm; font-size:25px; }.training-attendee-info { margin-bottom:6mm; padding-bottom:4mm; }.training-attendee-info div { margin:3.5mm 0; font-size:15px; }.training-attendee-info dt { width:40mm; }.training-attendee-paper h3 { margin-bottom:3mm; font-size:16px; }.training-attendee-table th,.training-attendee-table td { height:16mm; padding:2mm; }.training-attendee-table th { height:10mm; }.training-attendee-table td input { color:#111; -webkit-text-fill-color:#111; }.training-attendee-table tr { break-inside:avoid; page-break-inside:avoid; }
  .incident-print-report { max-width:none; margin:0; padding:0; border:0; }.incident-print-first-page { height:273mm; box-sizing:border-box; overflow:hidden; break-after:page; page-break-after:always; }.incident-print-title { margin:2mm 0 16mm; }.incident-print-info { margin-bottom:8mm; }.incident-print-first-page .incident-print-section { flex:1 1 0; display:flex; flex-direction:column; margin:0 0 7mm; }.incident-print-first-page .incident-print-section > div { flex:1 1 auto; font-size:13px; }.incident-print-first-page.dense .incident-print-title { margin-bottom:9mm; }.incident-print-first-page.dense .incident-print-info th,.incident-print-first-page.dense .incident-print-info td { padding:7px 9px; }.incident-print-first-page.dense .incident-print-section { margin-bottom:4mm; }.incident-print-first-page.dense .incident-print-section > div { padding:10px; font-size:11px; line-height:1.5; }.incident-print-first-page.very-dense .incident-print-title { margin-bottom:5mm; }.incident-print-first-page.very-dense .incident-print-title h2 { font-size:23px; }.incident-print-first-page.very-dense .incident-print-info { margin-bottom:4mm; font-size:11px; }.incident-print-first-page.very-dense .incident-print-info th,.incident-print-first-page.very-dense .incident-print-info td { padding:5px 7px; }.incident-print-first-page.very-dense .incident-print-section { margin-bottom:3mm; }.incident-print-first-page.very-dense .incident-print-section h3 { padding:6px 9px; font-size:12px; }.incident-print-first-page.very-dense .incident-print-section > div { padding:8px; font-size:9px; line-height:1.35; }.incident-print-section { break-inside:avoid; page-break-inside:avoid; }.incident-print-photos { break-before:auto; page-break-before:auto; margin:0 0 2mm; border:0; }.incident-print-photo-grid { grid-template-columns:1fr; gap:7mm; padding:1mm 2mm; align-items:start; }.incident-print-photo-grid figure { height:118mm; padding:0; border:1px solid #9caec0; box-sizing:border-box; display:flex; flex-direction:column; align-items:stretch; justify-content:stretch; break-inside:avoid; page-break-inside:avoid; break-after:auto; page-break-after:auto; background:#f7f9fb; overflow:hidden; }.incident-print-photos.photo-count-2 .incident-print-photo-grid figure { height:122mm; }.incident-print-photo-grid figcaption { flex:0 0 8mm; box-sizing:border-box; padding:2.1mm 3mm; border-bottom:1px solid #b9c6d4; background:#edf3f8; color:#264764; font-size:12px; font-weight:800; line-height:1.3; }.incident-print-photo-grid figcaption span { color:#526f8c; font-size:11px; font-weight:700; }.incident-print-photo-grid img { flex:1 1 auto; min-height:0; width:100%; height:auto; max-height:none; object-fit:contain; }
}
.work-report-editor .training-evidence-inputs { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }.work-report-editor .training-evidence-card { min-height:132px; align-content:start; padding:12px; border:1px solid #c9dced; border-radius:12px; background:#f7fbff; }.work-report-editor .training-evidence-card > label { display:grid; gap:7px; color:#183b57; font-weight:800; }.training-inline-attachments { margin-top:10px; padding-top:8px; border-top:1px solid #d7e4ef; }.training-inline-attachments .work-attachment-item { margin:5px 0; font-size:12px; }.training-inline-attachments .attachment-delete-button { padding:4px 7px; font-size:11px; } @media (max-width:900px){.work-report-editor .training-evidence-inputs{grid-template-columns:1fr;}}

.work-improvement-print-paper.training-standard-print header { padding-bottom:11px; border-bottom:2px solid #2c668f; }.work-improvement-print-paper.training-standard-print header h2 { color:#173f5c; letter-spacing:2px; }.training-preview-meta { display:flex; gap:0; margin:8px 0 11px; border:1px solid #b9c9d8; background:#f7fafc; }.training-preview-meta span { flex:1; min-width:0; padding:8px 10px; font-size:13px; }.training-preview-meta span + span { border-left:1px solid #d1dce6; }.training-preview-meta b { display:block; margin-bottom:3px; color:#345a78; font-size:11px; }
.work-improvement-print-paper.training-standard-print table th:nth-child(3) { width:24%; white-space:nowrap; }.training-attendance-preview { break-before:page; page-break-before:always; }.training-attendance-preview > h3 { margin:0; }.training-attendance-preview > div { padding:8mm 4mm; }.training-attendance-preview .training-attendance-image-wrap { height:238mm; margin:0; border:1px solid #9caec0; box-sizing:border-box; display:flex; align-items:center; justify-content:center; overflow:hidden; }.training-attendance-preview .training-attendance-image-wrap img { display:block; width:100%; height:100%; object-fit:contain; }.training-attendance-preview figcaption { display:none !important; }
@media print { .training-preview-meta { margin:5px 0 7px; }.training-preview-meta span { padding:5px 7px; font-size:11px; } }
.work-attachment-item { display:flex; align-items:center; gap:8px; margin:6px 0; }.work-attachment-item > a { flex:1 1 auto; min-width:0; }.attachment-delete-button { flex:0 0 auto; padding:5px 9px; border:1px solid #efb4b4; border-radius:7px; background:#fff7f7; color:#b42318; font-size:12px; font-weight:800; cursor:pointer; }.attachment-delete-button:hover { background:#feecec; } @media (max-width:600px){.work-attachment-item{align-items:flex-start; flex-direction:column; gap:4px;}.attachment-delete-button{align-self:flex-end;}}

/* Incident photo sheets use the same plain outer layout as other support. */
.incident-print-report .incident-print-photos { margin:18px 0 0 !important; border:0 !important; }
.incident-print-report .incident-print-photos > h3 { margin:0 0 4mm; padding:0; border:0; background:transparent; color:#264764; font-size:14px; }
.incident-print-report .incident-photo-sheet-body { width:100%; box-sizing:border-box; padding:0; border:0; }
.incident-print-report .incident-photo-sheet-body figure { width:100%; box-sizing:border-box; }
/* The generic report-section body adds 15px padding.  Photo sheets must not
   inherit it, otherwise their tables are narrower than the first-page table. */
.incident-print-report .incident-print-photos > .incident-photo-sheet-body { min-height:0 !important; padding:0 !important; }

/* Work-report photo sheets: the outer 4. 사진대지 container is a plain heading,
   while each photograph keeps its own framed table.  Kept in the shared CSS so
   it is effective even when PHP OPcache is serving the prior view template. */
.work-improvement-print-paper .work-improvement-print-photos { margin:18px 0 0; border:0 !important; break-before:page; page-break-before:always; }
.work-improvement-print-paper .work-improvement-print-photos > h3 { display:block; margin:0 0 4mm; padding:0; border:0 !important; background:transparent !important; color:#264764; font-size:14px; }
.work-improvement-print-paper .work-improvement-print-photos > div { display:block !important; min-height:0 !important; padding:0 !important; border:0 !important; background:transparent !important; }
.work-improvement-print-paper .work-improvement-print-photos figure { height:115mm !important; margin:0 0 5mm !important; padding:0 !important; border:1px solid #b9c6d4 !important; background:#fff !important; break-before:auto !important; page-break-before:auto !important; }
.work-improvement-print-paper .work-improvement-print-photos figure:nth-child(odd):not(:last-child) { margin-bottom:17mm !important; }
.work-improvement-print-paper .work-improvement-print-photos figure::before { content:'사진대지' !important; display:block !important; height:10mm !important; box-sizing:border-box; padding:2.2mm 3mm !important; border-bottom:1px solid #b9c6d4 !important; background:#edf3f8 !important; color:#264764; font-size:13px; font-weight:800; text-align:center; }
.work-improvement-print-paper .work-improvement-print-photos img { display:block; width:calc(100% - 6mm) !important; height:90mm !important; max-height:none !important; margin:3mm auto 0 !important; object-fit:contain; background:transparent !important; }
.work-improvement-print-paper .work-improvement-print-photos figcaption { display:block !important; min-height:11mm; box-sizing:border-box; padding:3mm; color:#264764; font-size:13px; font-weight:800; text-align:center; white-space:pre-wrap; word-break:break-word; }
/* Repeated headings are injected inside the photo wrapper.  Reset every
   table/title visual property so page 2+ exactly matches the plain heading
   on page 1. */
.work-improvement-print-paper .standard-photo-page-heading {
  display:block !important;
  margin:0 0 4mm !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#264764 !important;
  font-size:14px !important;
  line-height:normal !important;
  break-before:page;
  page-break-before:always;
}

/* Monthly incident report is a read-only reporting surface; it does not alter
   the existing incident board or its records. */
.monthly-incident-report { max-width:1120px; margin:0 auto; color:#19324a; }
.monthly-report-actions { align-items:center; flex-wrap:wrap; }
.monthly-report-actions .primary { background:#176b8f; color:#fff; border-color:#176b8f; }
.monthly-month-picker input { height:32px; padding:0 8px; border:1px solid #c3d3df; border-radius:6px; background:#fff; color:#24435c; font:inherit; font-size:12px; font-weight:800; }
.monthly-report-hero { display:flex; align-items:center; justify-content:space-between; min-height:150px; padding:29px 34px; border-radius:16px; background:linear-gradient(125deg,#143852,#1c6582 58%,#2b8a9e); box-shadow:0 14px 30px rgba(17,63,87,.18); color:#fff; }
.monthly-report-hero p { margin:0 0 7px; color:#bfe5ec; font-size:11px; font-weight:800; letter-spacing:.18em; }.monthly-report-hero h2 { margin:0 0 9px; font-size:30px; letter-spacing:-.04em; }.monthly-report-hero span { color:#d9f0f1; font-size:13px; font-weight:700; }.monthly-report-mark { display:grid; place-items:center; width:76px; height:76px; border:1px solid rgba(255,255,255,.42); border-radius:50%; background:rgba(255,255,255,.1); font-size:26px; line-height:.72; font-weight:900; text-align:center; }.monthly-report-mark small { margin-top:5px; color:#c8e8ec; font-size:10px; letter-spacing:.22em; }
.monthly-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin:18px 0; }.monthly-summary-grid article { min-height:112px; padding:18px; border:1px solid #d6e2e8; border-radius:12px; background:#fff; box-shadow:0 5px 14px rgba(23,65,88,.06); }.monthly-summary-grid article span { display:block; margin-bottom:9px; color:#5c7488; font-size:12px; font-weight:800; }.monthly-summary-grid article strong { display:block; color:#153c57; font-size:28px; letter-spacing:-.04em; }.monthly-summary-grid article small { display:block; margin-top:7px; color:#7890a1; font-size:11px; font-weight:700; }.monthly-summary-grid .resolved { border-top:4px solid #25a178; }.monthly-summary-grid .open { border-top:4px solid #e88d40; }.monthly-summary-grid .time { border-top:4px solid #3a82c5; }.monthly-summary-grid .resolved strong { color:#167958; }.monthly-summary-grid .open strong { color:#b8611f; }.monthly-summary-grid .time strong { font-size:21px; color:#266fae; }
.monthly-report-insights { display:grid; grid-template-columns:1.45fr .8fr; gap:15px; margin:18px 0; }.monthly-category-card,.monthly-note-card,.monthly-detail-section { padding:19px; border:1px solid #d6e2e8; border-radius:12px; background:#fff; box-shadow:0 5px 14px rgba(23,65,88,.06); }.monthly-section-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:15px; padding-bottom:10px; border-bottom:1px solid #e4edf1; }.monthly-section-heading span { color:#244d68; font-size:15px; font-weight:900; }.monthly-section-heading small { color:#7890a1; font-size:11px; font-weight:700; }.monthly-category-row { display:grid; grid-template-columns:96px 1fr 40px; gap:10px; align-items:center; margin:10px 0; font-size:12px; font-weight:800; }.monthly-category-row > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.monthly-category-row > div { height:9px; overflow:hidden; border-radius:20px; background:#edf3f5; }.monthly-category-row i { display:block; height:100%; border-radius:20px; background:linear-gradient(90deg,#347da0,#49a5a8); }.monthly-category-row strong { text-align:right; color:#28647e; }.monthly-note-card { border-color:#cde1e5; background:linear-gradient(150deg,#f4fbfb,#edf7f9); }.monthly-note-card > span { display:block; color:#2b7b8a; font-size:11px; font-weight:900; letter-spacing:.12em; }.monthly-note-card strong { display:block; margin:9px 0; color:#1c596d; font-size:22px; }.monthly-note-card p { margin:0; color:#567386; font-size:12px; font-weight:700; line-height:1.7; }.monthly-empty { margin:4px 0; color:#7890a1; font-size:13px; }
.monthly-detail-section { margin-top:18px; }.monthly-detail-table th { white-space:nowrap; }.monthly-detail-table td { font-size:12px; }.monthly-report-footer { padding:17px 3px 4px; color:#7c91a0; font-size:11px; font-weight:700; text-align:right; }
.monthly-incident-print-popup .site-header,.monthly-incident-print-popup .left-panel,.monthly-incident-print-popup .page-title { display:none; }.monthly-incident-print-popup .workspace { display:block; padding:0; }.monthly-incident-print-popup .main-panel { padding:0; border:0; border-radius:0; background:transparent; }.monthly-incident-print-popup .monthly-incident-report { margin:0 auto; }
@media (max-width:800px) { .monthly-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.monthly-report-insights { grid-template-columns:1fr; }.monthly-report-hero { min-height:120px; padding:24px; }.monthly-report-hero h2 { font-size:24px; }.monthly-report-mark { width:60px; height:60px; font-size:20px; } }
@media print { .monthly-incident-report { max-width:none; padding:0; }.monthly-report-hero { min-height:0; padding:13mm 12mm; border-radius:0; box-shadow:none; }.monthly-summary-grid { gap:5mm; margin:6mm 0; }.monthly-summary-grid article { min-height:0; padding:5mm; box-shadow:none; }.monthly-report-insights { gap:5mm; margin:6mm 0; }.monthly-category-card,.monthly-note-card,.monthly-detail-section { padding:5mm; box-shadow:none; }.monthly-detail-table { font-size:10px; }.monthly-detail-table th,.monthly-detail-table td { padding:2.2mm 2mm; }.monthly-detail-table tr { break-inside:avoid; page-break-inside:avoid; }.monthly-report-footer { padding-top:5mm; } }

/* Batch printing keeps every incident report independent while reusing the
   established incident-report table and evidence structure. */
.incident-batch-print-report { max-width:900px; margin:0 auto; padding:34px 42px; border:1px solid #d4dce7; background:#fff; color:#172336; }.incident-batch-actions { align-items:center; flex-wrap:wrap; }.incident-batch-actions .primary { background:#176b8f; color:#fff; border-color:#176b8f; }.incident-batch-cover { margin:4px 0 30px; padding:28px 30px; border-radius:12px; background:linear-gradient(125deg,#143852,#25738d); color:#fff; text-align:center; }.incident-batch-cover p,.incident-batch-title p { margin:0 0 7px; color:#bfe5ec; font-size:11px; font-weight:900; letter-spacing:.18em; }.incident-batch-cover h2 { margin:0 0 8px; font-size:29px; letter-spacing:.04em; }.incident-batch-cover span { color:#e0f2f4; font-size:12px; font-weight:800; }.incident-batch-record { position:relative; margin:0; padding:0; }.incident-batch-record + .incident-batch-record { margin-top:44px; padding-top:44px; border-top:2px dashed #98b2c3; }.incident-batch-title { position:relative; margin:0 0 22px; padding-bottom:12px; border-bottom:2px solid #2e6b91; text-align:center; }.incident-batch-title p { color:#42688e; }.incident-batch-title h2 { margin:0; color:#193d5b; font-size:26px; letter-spacing:.22em; }.incident-batch-title span { position:absolute; right:0; bottom:13px; color:#64748b; font-size:12px; font-weight:700; }.incident-batch-record .incident-print-info { margin-bottom:18px; }.incident-batch-record .incident-print-section { margin:14px 0; }.incident-batch-photo-section { margin:22px 0; break-inside:avoid; page-break-inside:avoid; }.incident-batch-photo-section h3 { margin:0 0 10px; padding:10px 13px; border:1px solid #b9c6d4; background:#edf3f8; color:#264764; font-size:14px; }.incident-batch-photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.incident-batch-photo-grid figure { margin:0; padding:7px; border:1px solid #c6d3df; background:#f8fafc; break-inside:avoid; page-break-inside:avoid; }.incident-batch-photo-grid img { display:block; width:100%; height:230px; object-fit:contain; background:#fff; }.incident-batch-photo-grid figcaption { min-height:30px; padding:7px 2px 0; color:#46657c; font-size:12px; font-weight:700; line-height:1.45; white-space:pre-wrap; }.incident-batch-print-popup .site-header,.incident-batch-print-popup .left-panel,.incident-batch-print-popup .page-title { display:none; }.incident-batch-print-popup .workspace { display:block; padding:0; }.incident-batch-print-popup .main-panel { padding:0; border:0; border-radius:0; background:transparent; }.incident-batch-print-popup .incident-batch-print-report { margin:0 auto; }
@media (max-width:700px) { .incident-batch-print-report { padding:20px; }.incident-batch-photo-grid { grid-template-columns:1fr; }.incident-batch-title h2 { font-size:21px; }.incident-batch-title span { position:static; display:block; margin-top:8px; } }
@media print { .incident-batch-cover { margin:0 !important; break-after:page; page-break-after:always; } }
@media print { .incident-batch-print-report { max-width:none; margin:0; padding:0; border:0; }.incident-batch-cover { min-height:0; margin:0 0 12mm; padding:12mm; border-radius:0; }.incident-batch-record + .incident-batch-record { margin:0; padding:0; border:0; break-before:page; page-break-before:always; }.incident-batch-title { margin:0 0 7mm; padding-bottom:4mm; }.incident-batch-title h2 { font-size:25px; }.incident-batch-record .incident-print-info { margin-bottom:6mm; }.incident-batch-record .incident-print-section { margin:0 0 5mm; break-inside:avoid; page-break-inside:avoid; }.incident-batch-record .incident-print-section > div { min-height:0; padding:4mm; font-size:12px; }.incident-batch-photo-section { margin:0 0 7mm; break-before:page; page-break-before:always; }.incident-batch-photo-section h3 { margin:0 0 4mm; padding:0; border:0; background:transparent; }.incident-batch-photo-grid { grid-template-columns:1fr; gap:6mm; }.incident-batch-photo-grid figure { height:120mm; padding:0; }.incident-batch-photo-grid img { height:108mm; }.incident-batch-photo-grid figcaption { min-height:12mm; padding:2mm 3mm; border-top:1px solid #c6d3df; font-size:11px; } }

/* Vacation list: compact, high-contrast administrative ledger. */
.vacation-list-surface { overflow:hidden; border:1px solid #cbdde6; border-radius:16px; background:linear-gradient(180deg,#f4fbfd 0,#fff 230px); box-shadow:0 12px 30px rgba(21,65,91,.08); }
.vacation-toolbar { align-items:center; min-height:116px; margin:-1px -1px 20px; padding:24px 28px; border:0; background:linear-gradient(118deg,#123d59,#1d6e87 62%,#36a19f); color:#fff; }
.vacation-contact-cell { min-width:165px; }.vacation-contact-cell > div { display:flex; align-items:baseline; gap:7px; min-height:18px; white-space:nowrap; }.vacation-contact-cell b { flex:0 0 50px; color:#52738a; font-size:10px; }.vacation-contact-cell span { overflow:hidden; text-overflow:ellipsis; color:#28465b; font-size:12px; }
.vacation-year-select { min-width:112px; min-height:36px; padding:0 10px; border:1px solid #b8d8f3; border-radius:8px; background:#eef6ff; color:#12324f; font-weight:800; letter-spacing:.03em; }
.vacation-usage-summary { margin:18px 24px 22px; padding:20px; border:1px solid #dbe9f5; border-radius:18px; background:linear-gradient(135deg,#f8fbff 0%,#f2f9ff 100%); box-shadow:0 10px 25px rgba(30,84,126,.06); }.vacation-usage-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:14px; }.vacation-usage-head .eyebrow { margin:0 0 4px; color:#4f86b7; font-size:11px; font-weight:800; letter-spacing:.12em; }.vacation-usage-head h3 { margin:0; color:#183b5a; font-size:18px; }.vacation-usage-head>span { color:#6d8194; font-size:11px; font-weight:800; letter-spacing:.08em; }.vacation-usage-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(185px,1fr)); gap:10px; }.vacation-usage-card { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 15px; border:1px solid #dceaf5; border-radius:13px; background:#fff; }.vacation-usage-card strong,.vacation-usage-card small { display:block; }.vacation-usage-card strong { color:#1e3e5d; font-size:15px; }.vacation-usage-card small { margin-top:3px; color:#8293a3; font-size:11px; }.vacation-usage-metrics { display:flex; align-items:baseline; gap:8px; white-space:nowrap; }.vacation-usage-metrics b { color:#186aa5; font-size:18px; }.vacation-usage-metrics span { color:#37875d; font-size:14px; font-weight:800; }.vacation-usage-empty { padding:15px; border:1px dashed #c8d9e8; border-radius:12px; color:#7890a4; font-size:12px; font-weight:700; text-align:center; }
.vacation-toolbar .eyebrow { color:#b7edf0; letter-spacing:.18em; }.vacation-toolbar h2 { margin:2px 0 5px; color:#fff; font-size:26px; letter-spacing:-.04em; }.vacation-toolbar span { color:#d7f2f1; font-size:12px; font-weight:700; }.vacation-create-link { border-color:#fff!important; background:#fff!important; color:#15516a!important; font-weight:900!important; box-shadow:0 5px 12px rgba(0,0,0,.15); }
.vacation-filter { margin:0 24px 18px; padding:12px; border:1px solid #d6e6eb; border-radius:11px; background:#fff; box-shadow:0 3px 10px rgba(30,74,96,.04); }.vacation-filter input { min-width:140px; border-color:#c4d8e1; background:#f9fcfd; }.vacation-filter input[name="vacation_q"] { min-width:230px; }.vacation-filter .primary { min-height:36px; padding:0 16px; border-radius:8px; background:#18738c; }
.vacation-table-wrap { margin:0 24px 24px; border:1px solid #d4e1e7; border-radius:12px; box-shadow:0 4px 12px rgba(22,71,96,.05); }.vacation-table { min-width:920px; }.vacation-table thead th { padding:13px 11px; border:0; background:#e7f2f5; color:#31566d; font-size:11px; letter-spacing:.04em; white-space:nowrap; }.vacation-table tbody tr { transition:background .15s ease,transform .15s ease; }.vacation-table tbody tr:nth-child(even) { background:#f9fcfd; }.vacation-table tbody tr:hover { background:#edf8f8; }.vacation-table tbody td { padding:14px 11px; border-color:#e1ebef; color:#2b4559; vertical-align:middle; font-size:12px; }.vacation-table .vacation-date-cell { min-width:156px; }.vacation-period { display:block; color:#163f5a; font-weight:900; letter-spacing:-.02em; }.vacation-date-cell small { display:block; margin-top:4px; color:#7a93a3; font-size:10px; }.vacation-kind { display:inline-block; padding:5px 9px; border-radius:999px; background:#dff1f0; color:#18706e; font-size:11px; font-weight:900; }.vacation-person { color:#173f5a; font-size:13px; }.vacation-day-count { display:inline-flex; min-width:35px; justify-content:center; padding:5px 8px; border-radius:7px; background:#e7f0fa; color:#245f95; font-size:12px; }.vacation-table .vacation-reason { max-width:210px; color:#526d80; }.vacation-action-cell { white-space:nowrap; }.vacation-action-cell .table-action,.vacation-action-cell .inline-delete button { display:inline-block; margin-right:4px; padding:6px 8px; border:1px solid #c8d9e1; border-radius:6px; background:#fff; color:#2c6688; font-size:11px; font-weight:800; text-decoration:none; }.vacation-action-cell .inline-delete button { border-color:#f0c8c8; color:#ad4343; }.vacation-action-cell .inline-delete { margin:0; }
@media (max-width:800px) { .vacation-toolbar { min-height:0; padding:20px; }.vacation-toolbar span { display:none; }.vacation-create-link { margin-top:12px; }.vacation-filter,.vacation-table-wrap { margin-left:14px; margin-right:14px; }.vacation-filter input,.vacation-filter input[name="vacation_q"] { width:100%; min-width:0; }.vacation-filter .primary { flex:1; }.vacation-table-wrap { overflow-x:auto; }.vacation-table tbody td { padding:12px 10px; } }
.vacation-dashboard{margin:18px 24px 24px;border:1px solid #d8e8f2;border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#f7fbff 0%,#fff 42%,#f6fcfa 100%);box-shadow:0 14px 32px rgba(27,83,118,.08)}.vacation-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 25px 20px;background:linear-gradient(110deg,#eff8ff,#f8fbff 56%,#effaf4)}.vacation-dashboard .eyebrow{margin:0 0 5px;color:#4881ac;font-size:10px;font-weight:900;letter-spacing:.14em}.vacation-dashboard h3,.vacation-dashboard h4{margin:0;color:#163d5e;letter-spacing:-.035em}.vacation-dashboard h3{font-size:21px}.vacation-dashboard h4{font-size:15px}.vacation-dashboard-head span{display:block;margin-top:6px;color:#71869a;font-size:12px;font-weight:700}.vacation-dashboard-year{display:flex;align-items:center;gap:6px;color:#246b99;font-size:25px;font-weight:900;letter-spacing:-.05em}.vacation-dashboard-year small{padding-top:7px;color:#7b98ad;font-size:10px;letter-spacing:.1em}.vacation-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 25px 20px}.vacation-kpi{position:relative;min-height:102px;padding:17px 18px;border:1px solid #dfebf2;border-radius:15px;background:#fff;overflow:hidden}.vacation-kpi:after{content:'';position:absolute;right:-20px;bottom:-28px;width:92px;height:92px;border-radius:50%;background:rgba(58,134,185,.08)}.vacation-kpi-days:after{background:rgba(42,153,106,.1)}.vacation-kpi-people:after{background:rgba(119,93,190,.09)}.vacation-kpi span,.vacation-kpi em{display:block;position:relative;z-index:1}.vacation-kpi span{color:#71869a;font-size:11px;font-weight:800}.vacation-kpi strong{position:relative;z-index:1;display:block;margin:5px 0;color:#17679a;font-size:29px;line-height:1;font-weight:900}.vacation-kpi strong small{margin-left:3px;font-size:13px}.vacation-kpi-days strong{color:#208765}.vacation-kpi-people strong{color:#7257ad}.vacation-kpi em{color:#8ca0b0;font-size:10px;font-style:normal;font-weight:700}.vacation-dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr;border-top:1px solid #e1ecf1;background:#fff}.vacation-category-panel,.vacation-person-panel{padding:20px 25px}.vacation-category-panel{border-right:1px solid #e1ecf1}.vacation-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.vacation-panel-title>span{padding:5px 8px;border-radius:999px;background:#edf6fb;color:#63849b;font-size:10px;font-weight:900;letter-spacing:.04em}.vacation-category-list,.vacation-person-list{display:grid;gap:9px}.vacation-category-row{display:grid;grid-template-columns:9px minmax(46px,auto) minmax(76px,1fr) 34px 38px;align-items:center;gap:8px}.vacation-category-dot{width:8px;height:8px;border-radius:50%;background:#318dbb}.vacation-category-dot.type-1{background:#39a875}.vacation-category-dot.type-2{background:#8d6ec4}.vacation-category-dot.type-3{background:#e18a4c}.vacation-category-dot.type-4{background:#dc6680}.vacation-category-row strong{color:#294960;font-size:12px;white-space:nowrap}.vacation-category-bar{height:8px;border-radius:999px;background:#edf3f6;overflow:hidden}.vacation-category-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4199c3,#5ab3c0)}.vacation-category-row b{color:#38637c;font-size:11px;text-align:right}.vacation-category-row em{color:#1f8a67;font-size:11px;font-style:normal;font-weight:900;text-align:right}.vacation-person-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px dashed #e3edf2}.vacation-person-row:last-child{border-bottom:0}.vacation-person-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#e7f4fb;color:#2879a7;font-size:12px;font-weight:900}.vacation-person-row strong,.vacation-person-row small{display:block}.vacation-person-row strong{color:#294960;font-size:12px}.vacation-person-row small{margin-top:2px;color:#8294a3;font-size:10px}.vacation-person-metrics{display:flex;align-items:baseline;gap:7px;margin-left:auto;white-space:nowrap}.vacation-person-metrics b{color:#286c98;font-size:12px}.vacation-person-metrics span{color:#258263;font-size:12px;font-weight:900}.vacation-dashboard .vacation-usage-empty{grid-column:1/-1}.vacation-board>.vacation-usage-summary{display:none}@media(max-width:850px){.vacation-dashboard-grid{grid-template-columns:1fr}.vacation-category-panel{border-right:0;border-bottom:1px solid #e1ecf1}.vacation-dashboard-head{align-items:flex-start}.vacation-kpi-grid{grid-template-columns:1fr}.vacation-kpi{min-height:82px}}@media(max-width:560px){.vacation-dashboard{margin-left:14px;margin-right:14px}.vacation-dashboard-head,.vacation-kpi-grid,.vacation-category-panel,.vacation-person-panel{padding-left:16px;padding-right:16px}.vacation-dashboard-head span{display:none}.vacation-category-row{grid-template-columns:8px minmax(40px,auto) 1fr 30px 34px;gap:6px}}
.vacation-dashboard-person-filter{margin-left:auto}.vacation-dashboard-person-filter label{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 14px;border:1px solid #c9dfed;border-radius:12px;background:#fff;box-shadow:0 5px 14px rgba(39,103,143,.08);color:#52728a;font-size:11px;font-weight:900;letter-spacing:.02em}.vacation-dashboard-person-filter label:before{content:'👤';display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#e9f6fb;font-size:12px}.vacation-dashboard-person-filter select{min-width:150px;padding:8px 30px 8px 10px;border:0;border-left:1px solid #dbe8ef;border-radius:0;background-color:transparent;color:#194966;font-family:inherit;font-size:12px;font-weight:900;outline:0;cursor:pointer}.vacation-dashboard-person-filter select:focus{color:#126a9e}@media(max-width:700px){.vacation-dashboard-head{flex-wrap:wrap}.vacation-dashboard-person-filter{order:3;width:100%;margin:0}.vacation-dashboard-person-filter label{justify-content:space-between}.vacation-dashboard-person-filter select{flex:1;min-width:0}.vacation-dashboard-year{margin-left:auto}}
.vacation-period-cell{white-space:nowrap}.vacation-period-range{color:#365e77;font-weight:700}.vacation-day-badge{display:inline-flex;align-items:center;justify-content:center;min-width:38px;margin-left:7px;padding:5px 8px;border-radius:999px;background:#e5f4ee;color:#167653;font-size:12px;font-weight:900;box-shadow:inset 0 0 0 1px #bde5d4}.vacation-table tbody tr:hover .vacation-day-badge{background:#d5f0e3;color:#0d6948}@media(max-width:800px){.vacation-period-cell{min-width:155px}.vacation-day-badge{margin-left:5px}}

/* Other support photo headings use the saved stage, not the generic photo-sheet label. */
.work-improvement-print-paper.other-support-print .work-improvement-print-photos figure::before { content:attr(data-photo-stage) !important; }
