@font-face { font-family: "Noto Sans Thai"; src: url("./fonts/noto-sans-thai.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Thai"; src: url("./fonts/noto-sans-thai-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
:root { --bg: #f5f7f7; --surface: #fff; --ink: #202d2b; --muted: #72807d; --line: #e1e8e5; --accent: #176b52; --accent-dark: #10513e; --accent-soft: #eaf4ee; --danger: #b84242; --sidebar: 248px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 6px; color: #fff; background: #243c31; box-shadow: 0 5px 24px #0002; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body { margin: 0; font-family: "Noto Sans Thai", sans-serif; font-size: 14px; line-height: 1.6; letter-spacing: 0; background: var(--bg); color: var(--ink); }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, .button { transition: background .16s, border-color .16s, box-shadow .16s; }
:focus-visible { outline: 3px solid #84bba5; outline-offset: 3px; }
button:disabled { opacity: .55; cursor: wait; }
button, a.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 16px; border: 1px solid transparent; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; line-height: 1.5; cursor: pointer; text-decoration: none; }
button:hover, a.button:hover { background: var(--accent-dark); }
button.secondary, a.button.secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
button.secondary:hover, a.button.secondary:hover { background: #f0f4f2; border-color: #b7c9bf; }
button.danger { color: var(--danger); background: #fff1f0; }
button.danger:hover { background: #fbe1df; }
button.small, a.button.small { min-height: 34px; padding: 6px 10px; font-size: 12px; }
button.icon-button, a.icon-button { width: 36px; min-height: 36px; flex: 0 0 36px; padding: 8px; }
.icon, [data-lucide] { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.icon { stroke-width: 1.7; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 100; padding: 10px 16px; background: #fff; border: 1px solid var(--accent); }
.skip-link:focus { top: 12px; }
.topbar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar); display: flex; flex-direction: column; padding: 30px 18px 18px; border-right: 1px solid var(--line); background: #fff; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { font-size: 11px; color: var(--muted); }
.nav-label { margin: 42px 14px 12px; color: #8b9791; font-size: 11px; font-weight: 600; }
.mainnav { display: flex; flex-direction: column; gap: 6px; }
.mainnav a { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 6px; color: #64716c; text-decoration: none; font-size: 13px; font-weight: 500; }
.mainnav a:hover { background: #f4f7f5; color: var(--accent); }
.mainnav a.active { color: var(--accent); background: var(--accent-soft); font-weight: 650; }
.sidebar-footer { margin-top: auto; padding-top: 24px; }
.workspace-label { display: flex; align-items: center; gap: 9px; margin: 0 10px 20px; color: var(--muted); font-size: 11px; }
.account { display: flex; align-items: center; gap: 10px; padding: 16px 6px 0; border-top: 1px solid var(--line); }
.account-avatar { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #f0ede4; color: #7c6941; }
.account-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.account-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.account-info small { font-size: 10px; }
.account button { border: 0; color: var(--muted); }
main { margin: 0 0 0 var(--sidebar); padding: 30px 40px 48px; max-width: 1840px; min-width: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 11px; }
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb .icon { width: 14px; height: 14px; }
.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px; }
.page-heading h1 { margin: 0 0 4px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.heading-actions { display: flex; gap: 8px; flex-wrap: wrap; }
h1 { margin: 0 0 24px; font-size: 26px; font-weight: 650; line-height: 1.5; }
h2 { margin: 0; font-size: 16px; font-weight: 600; }
p { overflow-wrap: anywhere; }
.card { display: flex; flex-direction: column; gap: 20px; margin: 0 0 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; gap: 10px; }
.section-heading > .icon { color: var(--accent); }
.menu-management .toolbar { align-items: flex-end; }
.menu-management .toolbar label { width: min(100%, 600px); }
.menu-management .section-heading { flex-wrap: wrap; }
.menu-management .section-heading h2, .menu-management .alert { overflow-wrap: anywhere; }
.menu-management .form-actions { position: static; flex-wrap: wrap; }
table.menu-permissions { table-layout: fixed; min-width: 0; }
table.menu-permissions th { white-space: normal; overflow-wrap: anywhere; }
table.menu-permissions th:first-child { width: 48%; }
table.menu-permissions th:last-child { width: 20%; }
table.menu-permissions .check { min-height: 32px; justify-content: center; }
.section-number { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--accent); background: #fff; }
.muted, small { color: var(--muted); }
.req { color: var(--danger); }
label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 12px; font-weight: 500; }
input[type=text], input[type=password], input[type=search], input[type=date], input[type=number], select, textarea { width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid #d8e2dc; border-radius: 6px; background: #fff; color: var(--ink); font-size: 13px; transition: border-color .16s, box-shadow .16s; }
input::placeholder, textarea::placeholder { color: #929c98; }
input:focus, select:focus, textarea:focus { border-color: #69a38b; box-shadow: 0 0 0 3px #176b5210; }
textarea { min-height: 88px; resize: vertical; }
input[type=file] { max-width: 100%; color: var(--muted); font-size: 12px; }
input[type=file]::file-selector-button { margin-right: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--accent); font: inherit; cursor: pointer; }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); }
label.check { flex-direction: row; align-items: center; font-weight: 400; }
form.inline { display: flex; align-items: center; }
.alert { padding: 13px 16px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; }
.alert.ok { border-color: #cce5d4; background: #edf8f0; color: #236540; }
.alert.error { border-color: #f2cfc9; background: #fff1ee; color: #a13d32; }
.alert ul { margin: 0; padding-left: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; border-block: 1px solid var(--line); }
.stat { padding: 22px 24px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 8px; background: #e8f2ed; color: #348061; }
.stat:nth-child(2) .stat-icon { background: #edf0fc; color: #6974ad; }
.stat:nth-child(3) .stat-icon { background: #faf0da; color: #ac8638; }
.stat-copy { display: flex; flex-direction: column; min-width: 0; }
.stat-copy small { font-size: 11px; }
.stat-copy strong { font-size: 24px; font-weight: 600; line-height: 1.5; }
.stat-copy strong span { color: var(--muted); font-size: 11px; font-weight: 400; margin-left: 6px; }
.upload-panel { margin-bottom: 30px; padding: 22px; border: 1px dashed #afcbbb; border-radius: 8px; background: #f0f7f3; }
.upload-content { display: flex; align-items: center; gap: 20px; }
.upload-symbol { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border: 1px solid #d5e7db; border-radius: 8px; color: var(--accent); background: #fff; }
.upload-symbol .icon { width: 25px; height: 25px; }
.upload-fields { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.upload-fields label { font-size: 14px; }
.upload-fields small { font-size: 11px; }
.upload-panel.drag-over { border-color: var(--accent); background: #e0efe5; }
.upload-selection { margin: 12px 0 0; font-size: 12px; color: var(--accent); overflow-wrap: anywhere; }
.tabs { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 16px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 12px; white-space: nowrap; }
.tabs a:first-child { padding-left: 0; }
.tabs a:hover { color: var(--accent); }
.tabs a.active { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.tabs .count { margin-left: auto; padding: 12px 0; color: var(--muted); font-size: 11px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.item { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: border-color .16s, box-shadow .16s; }
.item:hover { border-color: #bdcec3; box-shadow: 0 5px 16px #24392b08; }
.thumb { display: flex; align-items: center; justify-content: center; height: 168px; overflow: hidden; background-color: #f0f3f2; background-image: linear-gradient(45deg, #e9eeeb 25%, transparent 25%), linear-gradient(-45deg, #e9eeeb 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e9eeeb 75%), linear-gradient(-45deg, transparent 75%, #e9eeeb 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; text-decoration: none; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.document { background: #f0f3f7; }
.file-symbol { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #7b8ba0; }
.file-symbol .icon { width: 42px; height: 42px; stroke-width: 1.2; }
.thumb .ext { font-size: 11px; font-weight: 700; }
.item-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 550; }
.meta { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.item-footer { display: flex; gap: 6px; align-items: center; padding-top: 10px; margin-top: 3px; border-top: 1px solid #edf1ee; }
.item-footer .link { flex: 1; min-height: 34px; padding: 6px 8px; background: #f8faf9; font-size: 10px; color: var(--muted); }
.item-footer form { margin: 0; }
.empty-state { grid-column: 1 / -1; padding: 56px 20px; text-align: center; color: var(--muted); }
.empty-state > .icon { width: 40px; height: 40px; margin-bottom: 12px; color: #9bb0a4; stroke-width: 1.2; }
.empty-state h2 { margin-bottom: 6px; color: #58675f; font-size: 15px; }
.empty-state p { margin: 0; font-size: 12px; }
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.pager a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--muted); text-decoration: none; }
.pager a.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .search { display: flex; gap: 8px; flex: 1; max-width: 460px; min-width: 0; }
.toolbar .search.position-search { max-width: 760px; flex-wrap: wrap; }
.toolbar .search select { width: auto; flex: 0 1 260px; min-width: 0; }
.toolbar .search > button { flex: 0 0 auto; }
.pager a:has(.icon) { display: inline-flex; gap: 4px; }
.pager .result-count { margin-left: 6px; }
.toolbar .per-page { margin-left: auto; }
.per-page label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.per-page select { width: auto; min-height: 36px; padding: 6px 10px; }
.search-field { position: relative; flex: 1; min-width: 0; }
.search-field > .icon { position: absolute; top: 13px; left: 12px; width: 16px; height: 16px; color: var(--muted); }
.search-field input { padding-left: 37px; }
.result-count { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
table.data th, table.data td { padding: 16px; border-bottom: 1px solid #edf1ee; text-align: left; vertical-align: middle; }
table.data th { padding-block: 12px; background: #fafcfb; color: var(--muted); font-size: 11px; font-weight: 500; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafcfb; }
#personnel-table .personnel-group th { padding-block: 15px; border-bottom: 2px solid #b8cbbd; background: #e3eee6; color: #173d2b; font-size: 16px; font-weight: 800; }
td.avatar { width: 62px; }
td.avatar img { display: block; width: 36px; height: 44px; border-radius: 5px; object-fit: cover; }
.avatar-placeholder { display: grid; place-items: center; width: 36px; height: 44px; border-radius: 5px; background: #ecf2ef; color: #91a397; }
.person-name { font-weight: 600; text-decoration: none; color: var(--ink); }
.person-name:hover { color: var(--accent); }
.row-actions { display: flex; align-items: center; gap: 5px; }
.row-actions form { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
.person-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
.photo-box { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.photo-box img { width: 160px; height: 200px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #eaf0ec; }
.photo-box input[type=file] { font-size: 10px; width: 180px; }
.photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 160px; height: 200px; border: 1px dashed #bbcdc0; border-radius: 6px; color: #849b8c; background: #edf3ef; font-size: 12px; }
.photo-placeholder .icon { width: 42px; height: 42px; stroke-width: 1.2; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 18px; }
table.rows { width: 100%; border-collapse: collapse; }
table.rows th { padding: 0 5px 10px; text-align: left; font-size: 11px; font-weight: 500; color: var(--muted); }
table.rows td { padding: 6px 5px; vertical-align: top; }
table.rows td:last-child { width: 46px; }
table.rows input, table.rows textarea, table.rows select { font-size: 12px; padding: 9px; }
@media (min-width: 961px) {
	table.rows[data-section=position] { table-layout: fixed; min-width: var(--position-table-min-width, 1100px); }
	table.rows[data-section=position] th { white-space: nowrap; }
	table.rows[data-section=position] th:nth-child(4) { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 960px) {
	table.rows[data-section=position] colgroup { display: none; }
}
table.rows .copy-field select { padding-right: 52px; }
.copy-field:has(select) button.copy-prev { right: 24px; }
.head-check { display: flex; align-items: center; gap: 6px; min-height: 40px; font-size: 11px; color: var(--muted); cursor: pointer; }
.head-check input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--accent); }
.head-check:has(input:checked) { color: var(--accent); font-weight: 600; }
input.combo { padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2372807d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
input.combo::-webkit-calendar-picker-indicator { opacity: 0; }
input.combo { cursor: pointer; }
input.combo:focus { cursor: text; }
.combo-menu { position: fixed; z-index: 60; max-width: 360px; overflow-y: auto; padding: 4px 0; border: 1px solid #d8e2dc; border-radius: 6px; background: #fff; box-shadow: 0 8px 28px #0002; font-size: 13px; }
.combo-group { position: sticky; top: -4px; padding: 7px 12px 3px; background: #f6f9f7; color: var(--muted); font-size: 11px; font-weight: 600; }
.combo-item { padding: 7px 12px; cursor: pointer; }
.combo-item:hover, .combo-item.active { background: var(--accent-soft); color: var(--accent-dark); }
.combo-item.selected { font-weight: 600; }
.combo-empty { padding: 9px 12px; color: var(--muted); font-size: 12px; }
.check-stack { display: flex; flex-direction: column; justify-content: center; min-height: 40px; }
.check-stack .head-check { min-height: 22px; }
.head-check.acting:has(input:checked) { color: #9a6700; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.inline-form label { display: flex; flex-direction: column; gap: 6px; min-width: 220px; font-size: 12px; }
.inline-form label.grow { flex: 1; }
.group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.group-heading .section-heading { margin: 0; }
table.data tr.wg-row td, table.data tr.wg-add td { padding-block: 8px; background: #fbfcfc; }
.wg-indent { display: inline-flex; align-items: center; gap: 6px; padding-left: 18px; }
.wg-indent [data-lucide], .wg-indent svg { width: 14px; height: 14px; color: var(--muted); }
form.wg-indent, details.wg-indent { display: block; }
details.wg-indent summary { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; cursor: pointer; }
details.wg-indent[open] summary { margin-bottom: 8px; }
@media (min-width: 961px) {
    .rows-scroll { overflow-x: auto; }
}
.mobile-field-label { display: none; }
.copy-field { position: relative; display: block; }
table.rows .copy-field input, table.rows .copy-field textarea { padding-right: 30px; }
table.rows tbody tr:not(:last-child) .copy-field input { padding-right: 9px; }
button.copy-prev { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 24px; min-height: 24px; padding: 4px; border: 0; background: transparent; color: var(--muted); }
button.copy-prev:hover { background: var(--accent-soft); color: var(--accent); }
button.copy-prev [data-lucide], button.copy-prev svg { width: 14px; height: 14px; }
table.rows tbody tr:first-child .copy-prev, table.rows tbody tr:not(:last-child) .copy-prev { display: none; }
.row-tools { display: flex; gap: 4px; justify-content: flex-end; }
table.rows td:last-child:has(.row-move) { width: 124px; }
table.rows td:last-child:has(.insert-row) { width: 86px; }
table.rows tbody tr:first-child .row-move[data-dir=up], table.rows tbody tr:last-child .row-move[data-dir=down] { visibility: hidden; }
.add-row { align-self: flex-start; }
.badge.danger { background: #fff1f0; color: var(--danger); }
.badge.alt { background: #eef2fb; color: #3b5bab; }
td.nowrap { white-space: nowrap; }
.remark-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 18px; margin: 0; }
.remark-meta dt { margin-bottom: 4px; font-size: 11px; color: var(--muted); }
.remark-meta dd { margin: 0; font-size: 13px; }
.remark-managers { display: flex; flex-wrap: wrap; gap: 6px; }
.audit-remark .button { align-self: flex-start; }
.form-actions { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: flex-end; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); background: #f5f7f7f2; backdrop-filter: blur(8px); }
.form-actions .save-note { margin-right: auto; align-self: center; font-size: 11px; color: var(--muted); }
body.center { display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 32px 20px; background: #edf3ef; background-image: linear-gradient(#648b7010 1px, transparent 1px), linear-gradient(90deg, #648b7010 1px, transparent 1px); background-size: 48px 48px; }
.login-shell { width: 100%; max-width: 420px; }
.login-brand { justify-content: center; margin-bottom: 30px; }
.login { width: 100%; margin: 0; padding: 36px; gap: 24px; border: 1px solid #dce6df; border-radius: 8px; background: #fff; box-shadow: 0 12px 48px #294d3510; }
.login h1 { margin: 0 0 6px; font-size: 22px; }
.login p { margin: 0; color: var(--muted); font-size: 12px; }
.login .alert { margin: 0; }
.login input { min-height: 46px; }
.login button[type=submit] { min-height: 46px; }
.login label { gap: 8px; }
.password-field { position: relative; }
.password-field input { padding-right: 46px; }
.password-toggle { position: absolute; right: 5px; top: 5px; border: 0; background: transparent; color: var(--muted); }
.password-toggle:hover { background: #eef4f0; }
.login-footer { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 24px; color: var(--muted); font-size: 11px; }
.login-footer .icon { width: 14px; height: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; }
a.kpi:hover { border-color: #b7c9bf; }
.kpi-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 8px; background: #e8f2ed; color: #348061; }
.kpi.warn .kpi-icon { background: #faf0da; color: #ac8638; }
.kpi-copy { display: flex; flex-direction: column; min-width: 0; }
.kpi-copy small { font-size: 11px; }
.kpi-copy strong { font-size: 26px; font-weight: 650; line-height: 1.4; }
.kpi-copy span { color: var(--muted); font-size: 11px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; margin-bottom: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.panel h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.panel h2 > .icon { color: var(--accent); }
.panel h2 small { font-size: 11px; font-weight: 400; }
.panel p { margin: 0; }
.panel > .button { align-self: flex-start; }
.panel .table-wrap { border-radius: 6px; }
.bar-list, .fact-list, .recent-list { margin: 0; padding: 0; list-style: none; }
.bar-list { display: flex; flex-direction: column; gap: 12px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: 12px; }
.bar-label strong { white-space: nowrap; font-weight: 600; }
.bar-label small { font-weight: 400; }
.bar-track { height: 8px; overflow: hidden; border-radius: 4px; background: #edf2ef; }
.bar-track span { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.fact-list { border-top: 1px solid var(--line); }
.fact-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf1ee; font-size: 12px; }
.fact-list li:last-child { border-bottom: 0; }
.recent-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf1ee; }
.recent-list img { width: 32px; height: 40px; flex-shrink: 0; border-radius: 5px; object-fit: cover; }
.recent-list .avatar-placeholder { width: 32px; height: 40px; flex-shrink: 0; }
.recent-list .person-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.recent-list small { font-size: 11px; white-space: nowrap; }
.site-footer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-align: center; }
.login-shell .site-footer { margin-top: 16px; padding-top: 0; border-top: 0; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
main, .login-shell { animation: enter .3s ease-out both; }
@media (min-width: 1800px) { main { padding-inline: 64px; } }
@media (max-width: 1180px) { :root { --sidebar: 220px; } main { padding: 26px 26px 40px; } .topbar { padding-inline: 12px; } table.data th, table.data td { padding: 12px 10px; } }
@media (max-width: 960px) {
	.topbar { position: static; width: 100%; padding: 16px 24px 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
	.brand { padding: 0; }
	.nav-label, .workspace-label { display: none; }
	.sidebar-footer { margin-left: auto; margin-top: 0; padding: 0; }
	.account { border: 0; padding: 0; }
	.mainnav { order: 3; width: 100%; min-width: 0; flex-direction: row; overflow-x: auto; }
	.mainnav a { flex: 0 0 auto; white-space: nowrap; border-radius: 6px 6px 0 0; padding: 11px 16px; }
	main { margin: 0; padding: 24px; }
	.person-grid { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
	.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dash-grid { grid-template-columns: 1fr; gap: 0; }
	table.rows, table.rows tbody { display: block; }
	table.rows thead { display: none; }
	table.rows tr { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 48px 18px 0; border-bottom: 1px solid var(--line); }
	table.rows td { display: block; padding: 0; }
	table.rows td:last-child { position: absolute; top: 18px; right: 0; width: 36px; }
	table.rows td:last-child:has(.row-move) { width: 36px; }
	table.rows td:last-child:has(.insert-row) { width: 36px; }
	.row-tools { flex-direction: column; }
	.mobile-field-label { display: block; margin-bottom: 6px; font-size: 11px; color: var(--muted); }
}
@media (max-width: 600px) {
	body { font-size: 13px; }
	.topbar { padding: 14px 16px 0; gap: 14px; }
	.brand-mark { width: 36px; height: 36px; flex-basis: 36px; font-size: 11px; }
	.brand { gap: 9px; }
	.brand-copy strong { font-size: 13px; }
	.brand-copy small { font-size: 9px; }
	.account-avatar, .account-info { display: none; }
	.mainnav { gap: 4px; }
	.mainnav a { flex: 0 0 auto; justify-content: center; gap: 7px; padding: 11px 12px; font-size: 11px; }
	.mainnav .icon { width: 16px; height: 16px; }
	main { padding: 20px 16px 28px; }
	.breadcrumb { margin-bottom: 16px; font-size: 10px; }
	.page-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
	h1 { font-size: 23px; }
	.stats { margin-bottom: 22px; }
	.stat { padding: 14px 10px; gap: 7px; flex-direction: column; align-items: flex-start; }
	.stat-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 6px; }
	.stat-icon .icon { width: 16px; height: 16px; }
	.stat-copy small { font-size: 10px; }
	.stat-copy strong { font-size: 20px; }
	.stat-copy strong span { display: block; margin-left: 0; font-size: 10px; }
	.upload-panel { padding: 16px; }
	.upload-content { flex-wrap: wrap; gap: 12px; }
	.upload-symbol { display: none; }
	.upload-fields { flex-basis: 100%; }
	.upload-content > button { width: 100%; }
	.tabs { gap: 0; }
	.tabs a { padding: 12px 9px; font-size: 11px; }
	.tabs .count { font-size: 10px; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.thumb { height: 128px; }
	.item-body { padding: 10px; gap: 6px; }
	.name { font-size: 11px; }
	.item-footer { flex-wrap: wrap; }
	.item-footer .link { flex-basis: 100%; }
	.item-footer .delete-form { margin-left: auto; }
	.toolbar .search { max-width: no
	.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.kpi { flex-direction: column; gap: 8px; padding: 14px; }
	.kpi-icon { width: 32px; height: 32px; flex-basis: 32px; }
	.kpi-copy strong { font-size: 21px; }
	.panel { padding: 16px; }ne; width: 100%; flex-basis: 100%; }
	table.data { min-width: 720px; }
	table.menu-permissions { min-width: 0; }
	.person-grid { grid-template-columns: 1fr; }
	.photo-box { padding-bottom: 6px; }
	.fields { grid-template-columns: 1fr; gap: 16px; }
	.card { padding-block: 20px; margin-bottom: 12px; gap: 18px; }
	table.rows tr { grid-template-columns: 1fr; }
	.form-actions { padding: 12px 0; }
	.form-actions .save-note { display: none; }
	.login { padding: 28px 24px; gap: 22px; }
}
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } .tabs .count { width: 100%; padding-top: 6px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.plain-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.plain-fieldset:disabled .remove-row, .plain-fieldset:disabled .row-move, .plain-fieldset:disabled input[type=file], .plain-fieldset:disabled .photo-box label { display: none; }

/* System (D-HR / D-FIN / D-GEN) workspaces */
.system-switch { display: flex; flex-direction: column; gap: 6px; margin: 22px 6px 0; }
.system-switch label { color: #8b9791; font-size: 11px; font-weight: 600; }
.system-switch select { min-height: 36px; padding: 6px 10px; font-size: 12px; }
.system-switch button { align-self: flex-start; }
form.card > fieldset > legend { padding: 0; font-weight: 600; font-size: 13px; }
.system-groups { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.system-group { margin: 0; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 8px; }
.system-group-toggle { align-items: flex-start; font-weight: 600; }
.system-group-toggle span { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.system-group-toggle small { color: var(--muted); font-size: 11px; font-weight: 400; }
.system-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; border: 0; }
.system-choices > small { grid-column: 1 / -1; color: var(--muted); }
.system-choice { align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.system-choice span { display: flex; flex-direction: column; }
.system-choice small { color: var(--muted); font-size: 11px; font-weight: 400; }
.system-choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.system-group:has(.system-choice input:checked) { border-color: #b7d4c6; }
.duty-systems { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.duty-line { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.duty-line small { max-width: 28rem; }
form.kpi { flex-wrap: wrap; }
form.kpi > button, form.kpi > .badge { margin-left: auto; align-self: center; }
.kpi.current { border-color: var(--accent); }

/* อุปกรณ์ลงลายมือชื่อ */
.badge.muted-badge { background: #f1f3f2; color: var(--muted); }
.signpad-token { border-color: #cce5d4; background: #f6fbf8; }
.signpad-config { margin: 0; padding: 14px 16px; overflow-x: auto; border-radius: 6px; background: #1f2b28; color: #e6f2ec; font-size: 13px; line-height: 1.7; user-select: all; }
.signpad-thumb { display: block; max-width: 160px; max-height: 48px; }
.signpad-steps { margin: 0 0 14px; padding-left: 20px; font-size: 13px; line-height: 1.8; }

/* การจองห้องประชุม */
.badge.warn { background: #fff6e8; color: #8a5a00; }
.meeting-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr); gap: 18px; align-items: start; }
.meeting-day { position: sticky; top: 18px; }
.meeting-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meeting-nav h2 { margin: 0; font-size: 18px; }
.meeting-nav-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.meeting-cal-wrap { overflow-x: auto; }
.meeting-cal { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.meeting-cal th { padding: 2px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.meeting-cal abbr { text-decoration: none; }
.meeting-cal td { height: 96px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; vertical-align: top; }
.meeting-cal a.day { display: flex; flex-direction: column; gap: 3px; height: 100%; min-height: 96px; padding: 6px; border-radius: 8px; color: inherit; text-decoration: none; }
.meeting-cal a.day:hover { background: #f6faf8; }
.meeting-cal td.out { background: #f8faf9; }
.meeting-cal td.out .day-num, .meeting-cal td.past .day-num { color: #9aa7a1; }
.meeting-cal td.today { border-color: #9ec9b6; }
.meeting-cal td.selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.meeting-cal td.selected a.day { background: var(--accent-soft); }
.meeting-cal .day-num { font-size: 13px; font-weight: 650; line-height: 1.4; }
.meeting-cal td.today .day-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; }
.meeting-chip { display: block; overflow: hidden; padding: 1px 5px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-dark); font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.meeting-chip.pending { background: #fff6e8; color: #8a5a00; }
.meeting-more { color: var(--muted); font-size: 10px; }
.meeting-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 2px 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.meeting-legend li { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 3px; background: var(--accent-soft); border: 1px solid #b7d4c6; }
.swatch.pending { background: #fff6e8; border-color: #efd3a4; }
.swatch.today { border-radius: 50%; background: var(--accent); border-color: var(--accent); }
.meeting-form { display: flex; flex-direction: column; gap: 14px; }
.meeting-form > button { align-self: flex-start; }
.meeting-slot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meeting-schedule, .meeting-request { margin: 0; }
.meeting-schedule { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.meeting-schedule li, .meeting-request { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.meeting-request + .meeting-request { margin-top: 10px; }
.meeting-schedule-top, .meeting-request header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.meeting-purpose { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
td.meeting-purpose { max-width: 360px; }
.meeting-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.meeting-actions form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 0; }
.meeting-note { min-width: min(100%, 240px); }
.meeting-note input { min-height: 34px; }
.panel form.grid .meeting-actions { grid-column: 1 / -1; }
@media (max-width: 960px) {
	.meeting-layout { grid-template-columns: 1fr; }
	.meeting-day { position: static; }
	.meeting-nav { align-items: flex-start; }
	.meeting-slot { grid-template-columns: 1fr; }
}
.alert.note { border-color: #d7e3f0; background: #f2f7fc; color: #3b5876; }
.alert.note a { font-weight: 600; }
.toolbar .search.meeting-search { max-width: 860px; }
.toolbar .search.meeting-search input[type=date] { width: auto; flex: 0 0 auto; }
.meeting-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.meeting-actions form { margin: 0; }
form.meeting-decide { display: inline-flex; gap: 6px; align-items: center; }
form.meeting-decide input[type=text] { width: 150px; min-height: 34px; padding: 6px 8px; font-size: 12px; }
.badge.warn { background: #faf0da; color: #8a6a22; }
.meeting-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr); gap: 22px; align-items: start; }
.meeting-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meeting-nav h2 { margin: 0; font-size: 16px; }
.meeting-nav-actions { display: flex; gap: 8px; }
.meeting-cal-wrap { overflow-x: auto; }
.meeting-cal { width: 100%; min-width: 520px; border-collapse: collapse; table-layout: fixed; }
.meeting-cal th { padding: 8px 4px; color: var(--muted); font-size: 11px; font-weight: 600; text-align: center; }
.meeting-cal td { height: 78px; padding: 4px; border: 1px solid var(--line); vertical-align: top; background: #fff; }
.meeting-cal td.out { background: #f7f8f7; }
.meeting-cal td.today { box-shadow: inset 0 0 0 2px var(--accent); }
.meeting-cal td.selected { background: var(--accent-soft); }
.meeting-cal a.day { display: flex; flex-direction: column; gap: 3px; min-height: 68px; padding: 4px; border-radius: 4px; color: inherit; text-decoration: none; }
.meeting-cal td.past a.day { color: #9aa59f; }
.meeting-cal a.day:hover { background: #f3f7f4; }
.day-num { font-size: 12px; font-weight: 700; }
.meeting-chip { display: block; overflow: hidden; padding: 1px 4px; border-radius: 3px; background: var(--accent-soft); color: var(--accent-dark); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.meeting-chip.pending { background: #faf0da; color: #8a6a22; }
.meeting-more { font-size: 10px; color: var(--muted); }
.meeting-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 11px; }
.meeting-legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--accent-soft); }
.swatch.pending { background: #faf0da; }
.swatch.today { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.meeting-schedule { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.meeting-schedule li, .meeting-schedule-item { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.meeting-schedule li:last-child, .meeting-schedule-item:last-child { padding-bottom: 0; border-bottom: 0; }
.meeting-schedule-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.meeting-purpose { margin: 4px 0 0; white-space: pre-wrap; }
.meeting-form, .meeting-day { display: flex; flex-direction: column; gap: 14px; }
.meeting-slot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { margin: 0; color: var(--muted); font-size: 12px; }
.check { flex-direction: row; align-items: center; gap: 8px; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
@media (max-width: 960px) { .meeting-layout { grid-template-columns: 1fr; } }
.meeting-chip { background: color-mix(in srgb, var(--room, var(--accent)) 22%, #fff); color: #1a2a24; box-shadow: inset 3px 0 0 var(--room, var(--accent)); }
.meeting-chip.pending { background-color: color-mix(in srgb, var(--room, #c2410c) 14%, #fff); background-image: repeating-linear-gradient(-45deg, transparent, transparent 2px, color-mix(in srgb, var(--room, #c2410c) 34%, #fff) 2px, color-mix(in srgb, var(--room, #c2410c) 34%, #fff) 4px); color: #1a2a24; box-shadow: inset 3px 0 0 var(--room, var(--accent)); }
.swatch.room { background: var(--room, var(--accent)); border-color: transparent; }
.meeting-schedule li, .meeting-schedule-item { border-left: 4px solid var(--room, var(--line)); padding-left: 12px; }
.room-colors { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.room-colors legend { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.room-color-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.room-color-option { flex-direction: row; align-items: center; gap: 6px; width: auto; margin: 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.room-color-option:has(input:checked) { border-color: var(--room, var(--accent)); box-shadow: inset 0 0 0 1px var(--room, var(--accent)); background: color-mix(in srgb, var(--room, var(--accent)) 12%, #fff); }
.room-color-option input { width: 16px; height: 16px; accent-color: var(--room, var(--accent)); }
.room-color-name { display: inline-flex; align-items: center; gap: 6px; }
.swatch.pending { background: repeating-linear-gradient(-45deg, #f3f1ec, #f3f1ec 2px, #e4ddd2 2px, #e4ddd2 4px); }

.audience-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.audience-field legend { margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.audience-options { display: flex; flex-direction: column; gap: 8px; }
.announce-photos { display: flex; flex-wrap: wrap; gap: 12px; }
.announce-photo { display: flex; flex-direction: column; gap: 6px; width: 148px; margin: 0; font-weight: 400; }
.announce-photo img { width: 148px; height: 100px; object-fit: cover; border-radius: 6px; background: #eef3f0; }
td .delete-form { display: inline; margin-left: 6px; }

.loan-span { grid-column: 1 / -1; }
.loan-filter { width: min(100%, 460px); }
.loan-pledge { align-items: flex-start; gap: 10px; margin-top: 16px; font-weight: 400; line-height: 1.7; }
.loan-pledge input { flex: 0 0 auto; margin-top: 4px; }
.loan-picker input[type=number], .loan-picker input[type=text] { min-height: 36px; padding: 6px 8px; }
.loan-picker input[type=number] { width: 88px; }
.loan-overdue { color: var(--danger); font-weight: 600; }
.loan-receive { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.loan-receive select, .loan-receive input[type=text] { width: min(100%, 220px); min-height: 34px; padding: 6px 8px; font-size: 12px; }
.loan-sheet { max-width: 860px; margin: 0 auto 24px; padding: 32px 36px 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #1c1c1c; box-shadow: 0 8px 28px #00000014; }
.loan-org { margin: 0; text-align: center; font-weight: 700; }
.loan-sheet h2 { margin: 4px 0 0; text-align: center; font-size: 22px; font-weight: 700; }
.loan-no { margin: 8px 0 12px; text-align: right; color: var(--muted); font-size: 12px; }
.loan-banner { margin: 0 0 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; text-align: center; font-weight: 600; }
.loan-banner.warn { background: #fff8ee; border-color: #ead7b0; }
.loan-banner.ok { background: #f1f8f4; border-color: #cfe3d6; }
.loan-banner.bad { background: #fff1f0; border-color: #f0d0d0; }
.loan-prose { margin: 0 0 12px; text-align: justify; line-height: 1.85; }
.loan-fill { border-bottom: 1px dotted #222; padding: 0 3px; overflow-wrap: anywhere; }
.loan-note { margin: 0 0 12px; font-size: 13px; }
.loan-table-wrap { overflow-x: auto; margin: 8px 0 16px; }
.loan-grid { width: 100%; border-collapse: collapse; }
.loan-grid th, .loan-grid td { border: 1px solid #222; padding: 6px 8px; vertical-align: top; font-size: 13px; }
.loan-grid th { font-weight: 600; text-align: center; }
.loan-grid tbody td { height: 28px; }
.loan-grid .qty { width: 16%; text-align: center; white-space: nowrap; }
.loan-grid th:nth-child(3) { width: 24%; }
.loan-grid th:nth-child(4) { width: 20%; }
.loan-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; margin: 18px 0; }
.loan-sign { text-align: center; line-height: 1.7; }
.loan-sign .who { margin-top: 2px; }
.loan-sign small { display: block; color: var(--muted); }
.loan-screen-only { margin-top: 8px; }
@media (max-width: 720px) {
	.loan-sheet { padding: 16px; }
	.loan-signs { grid-template-columns: 1fr; }
}
@media print {
	body.loan-print { background: #fff; }
	body.loan-print .topbar,
	body.loan-print .skip-link,
	body.loan-print .breadcrumb,
	body.loan-print .page-heading,
	body.loan-print .site-footer,
	body.loan-print .loan-screen-only,
	body.loan-print .alert,
	body.loan-print .kpis { display: none !important; }
	body.loan-print main { margin: 0 !important; padding: 0 !important; max-width: none !important; }
	body.loan-print .loan-sheet { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
	body.loan-print .loan-banner { background: #fff !important; color: #000 !important; }
	body.loan-print .loan-grid th,
	body.loan-print .loan-grid td { border-color: #000; }
	body.loan-print .loan-sign small,
	body.loan-print .loan-no { color: #000; }
}
