/* =====================================================================
   ระบบแจ้งซ่อม — CSS เฉพาะระบบ (ต่อยอดจากธีม VS Kit: vs-app.css)
   ===================================================================== */

a.hero-btn, a.hero-btn:hover { text-decoration: none; }
a.hero-btn:hover { color: var(--ac-ink); }
a.hero-btn.ghost:hover { color: #fff; }

/* ---------- ธีมสีประจำระบบ: ส่วนของ kit ที่ vs-themes.css ยังไม่ครอบคลุม ---------- */
.step { border-color: var(--ac-line); background: var(--ac-head); }
.step:hover { border-color: color-mix(in srgb, var(--ac) 45%, #fff); background: var(--ac-soft); }
.step > b { background: linear-gradient(135deg, var(--ac), var(--ac-2)); }
.tg-item:hover { border-color: var(--ac-line); background: var(--ac-head); }
.tg-item:hover .tg-box { border-color: color-mix(in srgb, var(--ac) 45%, #fff); }
.tg-item.is-on { border-color: color-mix(in srgb, var(--ac) 45%, #fff); background: linear-gradient(90deg, var(--ac-soft), #ffffff 85%); box-shadow: inset 3px 0 0 var(--ac); }
.tg-item.is-on .tg-box { background: linear-gradient(135deg, var(--ac), var(--ac-2)); box-shadow: 0 4px 10px -4px var(--ac); }
.tg-item.is-on .tg-name { color: var(--ac-ink); }
.tg-item.is-on .tg-meta { color: var(--ac-ink); background: var(--ac-line); }
.tg-item input:focus-visible + .tg-box { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 25%, transparent); }
.form-check-input:checked { background-color: var(--ac); border-color: var(--ac); }
.form-check-input:focus { border-color: var(--ac); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--ac) 18%, transparent); }
.panel--theme { --pa: var(--ac); --pb: var(--ac-2); }
.swal2-popup .swal2-icon.swal2-question { border-color: var(--ac-line); color: var(--ac); }

/* ---------- หน้าที่ไม่มีเมนู (เข้าสู่ระบบ / แจ้งผ่าน QR / ติดตั้ง) ---------- */
.bare-shell {
    min-height: 100vh;
    background:
        radial-gradient(1200px 500px at 0% -10%, color-mix(in srgb, var(--ac) 20%, transparent), transparent 60%),
        radial-gradient(900px 480px at 100% 0%, color-mix(in srgb, var(--ac-2) 16%, transparent), transparent 60%),
        radial-gradient(900px 500px at 50% 110%, rgba(0, 199, 190, .14), transparent 60%),
        var(--page-bg);
}
.bare-main { max-width: 1040px; margin: 0 auto; padding: 28px 16px 48px; }
.bare-main.narrow { max-width: 720px; }
.auth-wrap { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: center; }
.auth-hero { border-radius: 26px; padding: 34px 32px; color: #fff; background: linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 48%, var(--hero-3) 100%); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.auth-hero::before { content: ''; position: absolute; inset: -40% -12% auto auto; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 65%); }
.auth-hero > * { position: relative; }
.auth-hero .hero-icon { margin-bottom: 18px; }
.auth-hero h1 { font-size: 1.85rem; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
.auth-hero p { color: rgba(255, 255, 255, .86); margin: 0 0 18px; }
.auth-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.auth-feats li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .93rem; }
.auth-feats li i { width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .16); }
.auth-card .panel-body { padding: 24px; }
.auth-card h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 4px; }
.auth-card .lead-sm { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.demo-accounts { display: grid; gap: 8px; margin-top: 4px; }
.demo-acc { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, background .15s, transform .15s; }
.demo-acc:hover { border-color: color-mix(in srgb, var(--ac) 45%, #fff); background: var(--ac-soft); transform: translateY(-1px); }
.demo-acc b { display: block; font-size: .92rem; }
.demo-acc small { display: block; color: var(--muted); font-size: .78rem; }
.demo-acc .code { margin-left: auto; }
.divider-text { display: flex; align-items: center; gap: 10px; color: #94a3b8; font-size: .8rem; font-weight: 700; margin: 18px 0 12px; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.bare-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--ink); text-decoration: none; }
.bare-brand .ic-box { width: 46px; height: 46px; border-radius: 15px; }
.bare-brand b { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.bare-brand small { color: var(--muted); font-weight: 600; }

/* ---------- เมนูซ้าย: การ์ดผู้ใช้ ---------- */
.sb-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.sb-user .avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.sb-user-text { min-width: 0; flex: 1 1 auto; line-height: 1.3; }
.sb-user-text b { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user-text small { display: block; font-size: .72rem; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-logout { width: 36px; height: 36px; border: 0; border-radius: 11px; color: #fff; background: rgba(255, 255, 255, .16); }
.sb-logout:hover { background: rgba(255, 69, 58, .5); }

/* ---------- แถบบน: กระดิ่งแจ้งเตือน ---------- */
.tb-icon-btn { position: relative; width: 40px; height: 40px; border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ac-ink); background: var(--ac-soft); font-size: 1.02rem; }
.tb-icon-btn:hover { background: var(--ac-line); }
.tb-dot { position: absolute; top: -4px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #FF375F; color: #fff; font-size: .68rem; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.notif-wrap { position: relative; }
.notif-pop { position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 50px rgba(15, 23, 42, .18); overflow: hidden; z-index: 1050; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.notif-head b { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.notif-head b i { color: var(--ac); }
.notif-list { max-height: min(60vh, 420px); overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #f1f5f9; color: var(--ink); text-decoration: none; font-size: .86rem; line-height: 1.5; }
.notif-item:hover { background: var(--ac-head); color: var(--ink); }
.notif-item.unread { background: var(--ac-soft); }
.notif-item.unread:hover { background: color-mix(in srgb, var(--ac) 14%, #fff); }
.notif-item .ic-box { width: 34px; height: 34px; border-radius: 11px; font-size: .82rem; }
.notif-item small { display: block; color: var(--muted); font-size: .74rem; margin-top: 2px; }
.notif-empty { text-align: center; color: var(--muted); padding: 26px 12px; font-size: .88rem; }
.notif-empty i { display: block; font-size: 1.5rem; color: #cbd5e1; margin-bottom: 6px; }
.notif-foot { display: block; text-align: center; padding: 10px; font-weight: 800; font-size: .84rem; color: var(--ac-ink); text-decoration: none; background: var(--ac-head); }
.notif-foot:hover { background: var(--ac-soft); }

/* ---------- ตาราง: แถวกดได้ ---------- */
.dt.tk td { white-space: nowrap; }
.dt.tk td.t-title { white-space: normal; min-width: 230px; }
.dt.tk td small { white-space: nowrap; }
.dt.tk.full { min-width: 1000px; }
.dt tr[data-href] { cursor: pointer; }
.dt .t-title b { font-weight: 700; color: var(--ink); }
.dt .t-title a { text-decoration: none; }
.dt .t-title small { display: block; color: var(--muted); font-size: .78rem; }
.dt a.code { text-decoration: none; }
.dt a.code:hover { background: var(--ac-soft); color: var(--ac-ink); }
.table-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line-2); }
.pager-info { font-size: .82rem; color: var(--muted); font-weight: 600; }
.pager { display: flex; gap: 4px; flex-wrap: wrap; }
.pager-btn { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .84rem; color: var(--ac-ink); background: var(--ac-soft); text-decoration: none; }
.pager-btn:hover { background: var(--ac-line); }
.pager-btn.is-on { color: #fff; background: linear-gradient(135deg, var(--ac), var(--ac-2)); }
.pager-btn.is-off { opacity: .4; }
.pager-gap { padding: 0 4px; color: #94a3b8; align-self: center; }

/* ---------- แถบตัวกรอง ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-bar .form-select, .filter-bar .form-control { width: auto; min-width: 150px; }
.filter-bar .search-box { flex: 1 1 240px; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 700; font-size: .84rem; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s; }
.chip:hover { border-color: color-mix(in srgb, var(--ac) 45%, #fff); color: var(--ac-ink); }
.chip.active { border-color: transparent; background: linear-gradient(135deg, var(--ac), var(--ac-2)); color: #fff; box-shadow: 0 8px 18px -10px var(--ac); }
.chip .cnt { min-width: 20px; padding: 0 6px; border-radius: 999px; font-size: .72rem; line-height: 18px; text-align: center; background: var(--ac-soft); color: var(--ac-ink); }
.chip.active .cnt { background: rgba(255, 255, 255, .25); color: #fff; }
.chip i { font-size: .8rem; }

/* ---------- ฟอร์มแจ้งซ่อม ---------- */
.cat-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cat-opt { position: relative; margin: 0; cursor: pointer; }
.cat-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cat-opt > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; font-weight: 700; font-size: .88rem; line-height: 1.3; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.cat-opt > span .ic-box { width: 44px; height: 44px; border-radius: 14px; }
.cat-opt:hover > span { border-color: var(--ac-line); transform: translateY(-1px); }
.cat-opt input:checked + span { border-color: var(--ac); background: var(--ac-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 16%, transparent); color: var(--ac-ink); }
.cat-opt input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 35%, transparent); }
.prio-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.prio-opt { position: relative; margin: 0; cursor: pointer; }
.prio-opt input { position: absolute; opacity: 0; pointer-events: none; }
.prio-opt > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: .9rem; color: var(--c, #475569); transition: all .15s; }
.prio-opt input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.prio-opt input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 35%, transparent); }
.photo-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-slot { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; border: 2px dashed var(--ac-line); background: var(--ac-head); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ac-ink); font-weight: 700; font-size: .82rem; cursor: pointer; overflow: hidden; transition: background .15s, border-color .15s; }
.photo-slot:hover { background: var(--ac-soft); border-color: color-mix(in srgb, var(--ac) 45%, #fff); }
.photo-slot i { font-size: 1.4rem; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot .ph-del { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 10px; background: rgba(15, 23, 42, .65); color: #fff; z-index: 2; display: inline-flex; align-items: center; justify-content: center; }
.photo-slot.has-img { border-style: solid; border-color: transparent; }
.form-section { padding: 18px 0; border-bottom: 1px dashed var(--ac-line); }
.form-section:first-child { padding-top: 0; }
.form-section:last-child { border-bottom: 0; padding-bottom: 0; }
.form-section > .form-label.big { font-size: .98rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.form-section > .form-label.big .step-no { width: 26px; height: 26px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; background: linear-gradient(135deg, var(--ac), var(--ac-2)); }
.req { color: #e11d48; }
.qr-loc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(90deg, #ecfdf5, #f0f9ff); border: 1.5px solid #a7f3d0; }
.qr-loc b { display: block; font-size: 1rem; }
.qr-loc small { color: #0f766e; font-weight: 700; }
.submit-bar { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding-top: 16px; }

/* ---------- รายละเอียดงาน ---------- */
.ticket-head { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.ticket-head .ic-box { width: 54px; height: 54px; border-radius: 17px; font-size: 1.35rem; }
.ticket-head h2 { font-size: 1.35rem; font-weight: 800; margin: 2px 0 6px; line-height: 1.35; }
.ticket-head .th-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ticket-head .th-main { flex: 1 1 220px; min-width: 0; }
.ticket-head .th-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.kv > div { min-width: 0; }
.kv dt { font-size: .76rem; font-weight: 800; color: var(--muted); margin-bottom: 2px; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
.kv .full { grid-column: 1 / -1; }
.desc-box { white-space: pre-line; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 14px; padding: 12px 14px; line-height: 1.7; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.gallery a { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #f1f5f9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .g-del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 9px; background: rgba(15, 23, 42, .65); color: #fff; font-size: .75rem; }
.g-label { font-size: .78rem; font-weight: 800; color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }

/* แถบความคืบหน้าสถานะ */
.track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 4px 0 2px; counter-reset: trk; }
.track-step { position: relative; text-align: center; padding-top: 44px; font-size: .78rem; font-weight: 700; color: #94a3b8; line-height: 1.35; }
.track-step::before { content: ''; position: absolute; top: 17px; left: -50%; right: 50%; height: 4px; background: #e2e8f0; z-index: 0; }
.track-step:first-child::before { display: none; }
.track-step .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: #eef2f7; color: #94a3b8; z-index: 1; font-size: .9rem; border: 3px solid #fff; }
.track-step small { display: block; font-weight: 600; font-size: .7rem; color: #94a3b8; }
.track-step.is-done { color: var(--ink-2); }
.track-step.is-done::before { background: linear-gradient(90deg, #30D158, #00C7BE); }
.track-step.is-done .dot { background: linear-gradient(135deg, #30D158, #00C7BE); color: #fff; }
.track-step.is-now { color: var(--ac-ink); }
.track-step.is-now::before { background: linear-gradient(90deg, #30D158, var(--a, var(--ac))); }
.track-step.is-now .dot { background: linear-gradient(135deg, var(--a, var(--ac)), var(--b, var(--ac-2))); color: #fff; box-shadow: 0 8px 18px -6px var(--a, var(--ac)); }
.track.is-cancel .track-step .dot { background: #f1f5f9; color: #cbd5e1; }

/* ไทม์ไลน์ */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--ac-line), #f1f5f9); }
.tl-item { position: relative; display: flex; gap: 12px; padding: 0 0 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .ic-box { width: 36px; height: 36px; border-radius: 12px; font-size: .82rem; z-index: 1; box-shadow: 0 0 0 4px #fff, 0 8px 18px -8px var(--a); }
.tl-body { flex: 1 1 auto; min-width: 0; padding-top: 2px; }
.tl-body b { font-weight: 800; font-size: .92rem; }
.tl-who { font-size: .78rem; color: var(--muted); font-weight: 600; }
.tl-note { margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #eef2f7; font-size: .88rem; white-space: pre-line; line-height: 1.6; }

/* โครงหน้ารายละเอียดงาน: จอเล็กเรียง "ดำเนินการ" ขึ้นก่อน */
.tk-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tk-col { min-width: 0; }
@media (max-width: 1199.98px) {
    .tk-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .tk-col { display: contents; }
    .tk-actions { order: 1; } .tk-details { order: 2; } .tk-result { order: 3; } .tk-timeline { order: 4; }
}
.g-label .ms-auto { margin-left: auto; }
.g-label { flex-wrap: wrap; }

/* คะแนนดาว */
.stars { display: inline-flex; gap: 2px; color: #f59e0b; }
.stars .off { color: #e2e8f0; }
.rate-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.rate-input input { position: absolute; opacity: 0; pointer-events: none; }
.rate-input label { font-size: 2.1rem; color: #e2e8f0; cursor: pointer; transition: color .12s, transform .12s; margin: 0; line-height: 1; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { color: #f59e0b; }
.rate-input label:hover { transform: scale(1.12); }
.rate-hint { text-align: center; font-weight: 800; color: #b45309; min-height: 1.4em; margin-top: 4px; }

/* แถบปุ่มทำงาน */
.act-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.act-grid .btn-x { width: 100%; justify-content: flex-start; min-height: 46px; white-space: normal; text-align: left; line-height: 1.25; }
.act-btn-st { --a: var(--ac); --b: var(--ac-2); color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 8px 18px -10px var(--a); }
.cost-total { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-weight: 800; background: var(--ac-head); border-top: 2px solid var(--ac-line); }

/* ---------- การ์ดงาน (หน้าช่าง / มือถือ) ---------- */
.job-list { display: grid; gap: 10px; }
.job-card { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.job-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--a), var(--b)); }
.job-main { display: flex; gap: 12px; padding: 14px 14px 12px 18px; color: var(--ink); text-decoration: none; }
.job-main:hover { color: var(--ink); background: #fcfcff; }
.job-text { min-width: 0; flex: 1 1 auto; }
.job-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.job-text > b { display: block; font-size: .98rem; font-weight: 800; line-height: 1.4; margin-bottom: 3px; }
.job-text small { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; font-weight: 600; line-height: 1.5; }
.job-text small i { width: 14px; text-align: center; color: #94a3b8; }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 14px 14px 18px; }
.job-actions .btn-x { flex: 0 1 auto; }
.job-list.cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); align-items: start; }
@media (max-width: 767.98px) { .job-actions .btn-x { flex: 1 1 auto; } }
.section-title { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; font-weight: 800; font-size: 1.02rem; }
.section-title .cnt { padding: 1px 9px; border-radius: 999px; background: var(--ac-soft); color: var(--ac-ink); font-size: .78rem; }

/* ---------- กราฟแท่งแบบเบา (ไม่ใช้ไลบรารี) ---------- */
.vbars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; align-items: end; height: 220px; padding: 8px 4px 0; }
.vbar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.vbar-stack { width: min(46px, 70%); display: flex; flex-direction: column-reverse; border-radius: 10px 10px 4px 4px; overflow: hidden; background: #f1f5f9; }
.vbar-stack span { display: block; width: 100%; }
.vbar-num { font-size: .8rem; font-weight: 800; color: var(--ink-2); margin-bottom: 4px; }
.vbar-lbl { margin-top: 6px; font-size: .74rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; font-weight: 700; color: var(--muted); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.hbars { display: grid; gap: 10px; }
.hbar-row { display: grid; grid-template-columns: minmax(110px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.hbar-row .hb-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.hbar-row .hb-name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-row .bar { height: 10px; }
.hbar-row .bar > span { background: linear-gradient(90deg, var(--a, var(--ac)), var(--b, var(--ac-2))); }
.hbar-row .hb-num { font-weight: 800; min-width: 44px; text-align: right; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-kpi { padding: 12px; border-radius: 14px; background: var(--ac-head); border: 1px solid var(--ac-line); text-align: center; }
.mini-kpi b { display: block; font-size: 1.3rem; font-weight: 800; }
.mini-kpi span { font-size: .76rem; font-weight: 700; color: var(--muted); }
.status-list { display: grid; gap: 8px; }
.status-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.status-row:hover { border-color: var(--ac-line); background: var(--ac-head); color: var(--ink); }
.status-row .ic-box { width: 34px; height: 34px; border-radius: 11px; font-size: .82rem; }
.status-row b { margin-left: auto; font-size: 1.15rem; font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.grid-2 > * { min-width: 0; }
.grid-2.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.grid-3 > * { min-width: 0; }

/* ---------- QR ---------- */
.qr-tree { display: grid; gap: 12px; }
.qr-bld { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.qr-bld-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ac-head); border-bottom: 1px solid var(--line-2); font-weight: 800; }
.qr-bld-head .btn-x { margin-left: auto; }
.qr-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; padding: 10px; }
.qr-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.qr-card { border: 1.5px solid var(--ac-line); border-radius: 18px; background: #fff; overflow: hidden; text-align: center; break-inside: avoid; }
.qr-card-head { padding: 10px 10px 8px; color: #fff; background: linear-gradient(135deg, var(--sb-a), var(--sb-b)); }
.qr-card-head b { display: block; font-size: .95rem; font-weight: 800; line-height: 1.3; }
.qr-card-head small { display: block; font-size: .72rem; opacity: .9; }
.qr-card-body { padding: 12px 10px 10px; }
.qr-img { width: 150px; height: 150px; margin: 0 auto; }
.qr-img img, .qr-img canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }
.qr-card-body .room { font-size: 1.1rem; font-weight: 800; margin-top: 8px; line-height: 1.3; }
.qr-card-body .bld { color: var(--muted); font-size: .8rem; font-weight: 700; }
.qr-card-body .asset { font-size: .78rem; font-weight: 700; color: #b45309; }
.qr-card-foot { padding: 7px 10px; background: var(--ac-soft); color: var(--ac-ink); font-weight: 800; font-size: .8rem; }
.qr-url { font-size: .62rem; color: #94a3b8; word-break: break-all; padding: 0 8px 6px; }

/* ---------- หน้าตั้งค่า ---------- */
.tab-links { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.form-switch .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }
.form-switch .form-check-label { padding-left: 4px; font-weight: 700; cursor: pointer; }
.form-switch .form-check-label small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.set-row { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.set-row:last-child { border-bottom: 0; }
.log-box { background: #0f172a; color: #e2e8f0; border-radius: 14px; padding: 12px 14px; font-size: .78rem; white-space: pre-wrap; max-height: 260px; overflow: auto; }
.icon-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.icon-pick label { margin: 0; cursor: pointer; }
.icon-pick input { position: absolute; opacity: 0; pointer-events: none; }
.icon-pick span { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); color: #475569; }
.icon-pick input:checked + span { border-color: var(--ac); background: var(--ac-soft); color: var(--ac-ink); }
.color-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.color-pick label { margin: 0; cursor: pointer; }
.color-pick input { position: absolute; opacity: 0; pointer-events: none; }
.color-pick span { display: block; width: 32px; height: 32px; border-radius: 10px; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); }
.color-pick input:checked + span { box-shadow: 0 0 0 2.5px var(--ink); }
.room-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.room-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 11px; border-radius: 999px; background: #f1f5f9; border: 1px solid #e2e8f0; font-size: .84rem; font-weight: 700; }
.room-chip.off { opacity: .5; text-decoration: line-through; }
.room-chip button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; color: #475569; font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; }
.room-chip button:hover { background: var(--sb-a); color: #fff; }

/* ---------- ติดตามสถานะ (ผู้แจ้งไม่ล็อกอิน) ---------- */
.done-hero { text-align: center; padding: 26px 18px 18px; }
.done-hero .ic-box { width: 72px; height: 72px; border-radius: 22px; font-size: 1.9rem; margin: 0 auto 14px; }
.done-hero h2 { font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; }
.ticket-no-big { display: inline-block; font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; padding: 6px 18px; border-radius: 14px; background: var(--ac-soft); color: var(--ac-ink); margin: 6px 0 12px; }
.empty-state p { margin: 0 auto 0; max-width: 460px; }
.empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* ---------- จอแท็บเล็ต/มือถือ ---------- */
@media (max-width: 1199.98px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
    .grid-2, .grid-2.even, .grid-3 { grid-template-columns: minmax(0, 1fr); }
    .auth-wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .auth-hero { padding: 24px 22px; }
    .auth-hero h1 { font-size: 1.45rem; }
    .auth-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tb-term { display: none !important; }
}
@media (max-width: 767.98px) {
    .kv { grid-template-columns: minmax(0, 1fr); }
    .cat-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .cat-opt > span { min-height: 88px; font-size: .8rem; padding: 10px 4px; }
    .cat-opt > span .ic-box { width: 38px; height: 38px; }
    .track-step { font-size: .68rem; padding-top: 40px; }
    .track-step small { display: none; }
    .track-step .dot { width: 34px; height: 34px; font-size: .8rem; }
    .track-step::before { top: 15px; }
    .filter-bar .form-select, .filter-bar .form-control, .filter-bar .search-box { min-width: 0; flex: 1 1 100%; width: 100%; }
    .filter-bar .btn-x { flex: 1 1 auto; }
    .chip-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 14px; padding: 0 14px 4px; scrollbar-width: none; }
    .chip-row::-webkit-scrollbar { display: none; }
    .ticket-head h2 { font-size: 1.15rem; }
    .ticket-head .th-tools { width: 100%; }
    .ticket-head .th-tools .btn-x { flex: 1 1 auto; }
    .mini-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .mini-kpi b { font-size: 1.05rem; }
    .vbars { height: 180px; gap: 6px; }
    .hbar-row { grid-template-columns: minmax(90px, 38%) 1fr auto; }
    .submit-bar .btn-x { flex: 1 1 100%; }
    .act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .auth-feats { grid-template-columns: minmax(0, 1fr); }
    .bare-main { padding-top: 16px; }
    .qr-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .qr-img { width: 120px; height: 120px; }
    .table-pager { justify-content: center; }
}
@media (max-width: 767.98px) {
    /* ตารางสั้น (≤ 4 คอลัมน์) ไม่ต้องบังคับกว้าง 640px ให้พอดีจอได้ */
    .dt-wrap > .dt.dt-compact { min-width: 0; }
    .dt-wrap > .dt.dt-compact td { white-space: normal; }
    .dt-wrap > .dt.dt-compact td.num { white-space: nowrap; }
}
@media (max-width: 420px) {
    .cat-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-pick { gap: 8px; }
}

/* ---------- พิมพ์แผ่น QR (A4) ---------- */
@page { size: A4; margin: 0; }
/* ประกาศหน้าแนวนอนซ้ำหลัง @page ด้านบน: Chrome ให้ @page ไม่มีชื่อในไฟล์ที่โหลดทีหลังทับขนาดของ @page landscape ใน official-print.css
   (ตรวจด้วย PDF จริง: ไม่ประกาศซ้ำ = หน้าแนวนอนออกเป็นแนวตั้งและย่อทั้งเอกสาร) */
@page landscape { size: A4 landscape; margin: 0; }
@media print {
    html, body { background: #fff !important; }
    body > *:not(#print-root):not(.vsd-wm) { display: none !important; }  /* .vsd-wm = ลายน้ำ "ฉบับทดลองใช้" ของ vs-demo.js */
    #print-root { display: block !important; }
    /* 1 หน้า A4 = 3×3 ป้าย (เล็ก) หรือ 2×2 ป้าย (ใหญ่) — ใช้หน่วย mm/pt ให้พอดีกระดาษเสมอ */
    .qr-print-page { box-sizing: border-box; height: 296mm; overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6mm; padding: 9mm; }
    .qr-print-page.cols-2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10mm; padding: 12mm; }
    .qr-print-page .qr-card { display: flex; flex-direction: column; min-height: 0; overflow: hidden; border: 1.2pt solid var(--sb-a); border-radius: 4mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .qr-print-page .qr-card-head { padding: 2mm 2mm 1.6mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .qr-print-page .qr-card-head b { font-size: 12pt; }
    .qr-print-page .qr-card-head small { font-size: 7.5pt; }
    .qr-print-page .qr-card-body { flex: 1 1 auto; padding: 2.5mm 2mm 1mm; display: flex; flex-direction: column; justify-content: center; }
    .qr-print-page .qr-img { width: 40mm; height: 40mm; }
    .qr-print-page .qr-card-body .room { font-size: 13pt; margin-top: 1.5mm; }
    .qr-print-page .qr-card-body .bld, .qr-print-page .qr-card-body .asset { font-size: 8pt; }
    .qr-print-page .qr-url { font-size: 6pt; padding: 0 2mm 1mm; }
    .qr-print-page .qr-card-foot { padding: 1.6mm 2mm; font-size: 7.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .qr-print-page.cols-2 .qr-img { width: 72mm; height: 72mm; }
    .qr-print-page.cols-2 .qr-card-head b { font-size: 18pt; }
    .qr-print-page.cols-2 .qr-card-head small { font-size: 10pt; }
    .qr-print-page.cols-2 .qr-card-body .room { font-size: 20pt; }
    .qr-print-page.cols-2 .qr-card-body .bld, .qr-print-page.cols-2 .qr-card-body .asset { font-size: 11pt; }
    .qr-print-page.cols-2 .qr-url { font-size: 8pt; }
    .qr-print-page.cols-2 .qr-card-foot { font-size: 11pt; padding: 3mm; }
    .qr-print-break { break-after: page; page-break-after: always; }
}

/* โหมดทดลองใช้ (vs-demo.js): ปุ่มไอคอนขนาดเล็กแสดงกุญแจเป็นป้ายที่มุม แทนการต่อท้ายจนไอคอนเบียด */
html.vs-demo .icon-btn[data-demo-lock] { position: relative; }
html.vs-demo .icon-btn[data-demo-lock]::after {
    position: absolute; top: -5px; right: -5px; margin: 0; width: 16px; height: 16px; border-radius: 50%;
    display: grid; place-items: center; font-size: 8px; background: #fff7ed; color: #b45309; box-shadow: 0 0 0 1px #fcd34d;
}

/* ---------- ตัวอย่างเอกสารราชการบนจอ (assets/js/doc-preview.js + official-print.css) ----------
   หน้าต่างเต็มจอพื้นเทา · แผ่น A4 เต็มแผ่นเสมอแม้เนื้อหาสั้น (aspect-ratio 210/297, แนวนอน 297/210) · มือถือย่อทั้งแผ่น (transform)
   ตั้ง text-align:left เองทุกบรรทัดหัวเรื่อง/เนื้อความ กันรับค่ากึ่งกลางจากกรอบที่ครอบ (เช่น SweetAlert) */
html.docpv-open, html.docpv-open body { overflow: hidden; }
.docpv { position: fixed; inset: 0; z-index: 1050; display: flex; flex-direction: column; background: #d3d7de; color: var(--ink); text-align: left; outline: none; }
.docpv-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(15, 23, 42, .1); }
.docpv-title { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; min-width: 0; }
.docpv-title > div { min-width: 0; }
.docpv-title b { display: block; font-size: 1rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docpv-title small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.docpv-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg, var(--ac), var(--ac-2)); box-shadow: 0 6px 14px -6px var(--ac); }
.docpv-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.docpv-tools .form-select { width: auto; min-width: 200px; }
.docpv-x { width: 40px; height: 40px; flex: 0 0 auto; border: 0; border-radius: 11px; background: #f1f5f9; color: #334155; font-size: 1.15rem; display: grid; place-items: center; }
.docpv-x:hover { background: #e2e8f0; color: var(--ink); }
.docpv-x:focus-visible { outline: 3px solid color-mix(in srgb, var(--ac) 35%, transparent); outline-offset: 1px; }
.docpv-note { flex: 0 0 auto; display: flex; gap: 8px; align-items: flex-start; padding: 7px 16px; background: #fffbeb; border-bottom: 1px solid #fde68a; color: #78350f; font-size: .82rem; line-height: 1.45; }
.docpv-note i { margin-top: 3px; color: #d97706; }
.docpv-stage { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.docpv-pages { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 28px 24px 56px; }
.docpv-msg { margin: 16vh auto 0; padding: 14px 22px; border-radius: 14px; background: #fff; color: #334155; font-weight: 600; box-shadow: var(--shadow-sm); }
.docpv-msg.is-bad { color: #b91c1c; }
.docpv-sheet { flex: 0 0 auto; position: relative; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .2), 0 14px 34px rgba(15, 23, 42, .24); }
.docpv .gov-page { position: relative; margin: 0; box-shadow: none; width: 210mm; height: auto; min-height: 0; aspect-ratio: 210 / 297; overflow: hidden; transform-origin: 0 0; text-align: left; }
.docpv .gov-page.landscape { width: 297mm; min-height: 0; aspect-ratio: 297 / 210; }
.docpv .gov-flow { display: flow-root; text-align: left; }
.docpv .gov-flow p { white-space: pre-wrap; overflow-wrap: anywhere; }
.docpv .gov-field, .docpv .gov-to, .docpv .gov-body, .docpv .gov-head, .docpv .gov-check, .docpv .gov-note { text-align: left; }
.docpv .gov-memo-head { justify-items: start; text-align: left; }
.docpv .gov-memo-head h1 { justify-self: center; text-align: center; font-family: inherit; color: #000; letter-spacing: 0; }
.docpv .gov-title { font-family: inherit; color: #000; line-height: 1.1; letter-spacing: 0; }
.docpv .gov-field-2 { display: flex; flex-wrap: wrap; }
.docpv .gov-field-2 > span:first-child { min-width: 50%; padding-right: 4mm; }
.docpv .gov-head { margin-top: 2mm; }
.docpv .gov-check { padding-left: 10mm; }
.docpv .gov-box { margin-right: 10mm; }
.docpv .gov-box::before { font-family: 'Segoe UI Symbol', 'Apple Symbols', 'DejaVu Sans', sans-serif; font-size: .9em; }
.docpv .gov-opinions { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6mm; break-inside: avoid; }
.docpv .gov-opinions.one { grid-template-columns: 1fr; }
.docpv .gov-op { min-width: 0; }
.docpv .gov-op-boxes { padding-left: 5mm; margin: 1mm 0; }
.docpv .gov-op-sign { margin-top: 2mm; text-align: center; }
.docpv .gov-opinions.one .gov-op-sign { margin-left: 65mm; }
.docpv .gov-flow .gov-dotfill { white-space: nowrap; overflow: hidden; overflow-wrap: normal; letter-spacing: 0; }
.docpv .gov-sign { margin: 0 0 0 65mm; }
.docpv .gov-signs { margin-top: 0; }
.docpv .gov-table { margin-top: 1mm; table-layout: fixed; }
.docpv .gov-table td { overflow-wrap: anywhere; }
.docpv .gov-total td { font-weight: 700; }
.docpv .gov-note { font-size: 14pt; }
/* โหมดทดลองใช้: หัวกระดาษแบบเดียวกับ .docx + ลายน้ำเอียงกลางหน้า */
.docpv-demo-h { position: absolute; left: 0; right: 0; top: 9mm; text-align: center; font-size: 12pt; font-weight: 700; color: #c0392b; }
.docpv-wm { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%) rotate(-32deg); text-align: center; white-space: nowrap; font-size: 76pt; font-weight: 700; color: rgba(220, 38, 38, .13); pointer-events: none; user-select: none; }
.docpv .landscape .docpv-wm { transform: translateY(-50%) rotate(-22deg); font-size: 96pt; }
/* ฉบับปกติ: Ctrl+P ขณะเปิดตัวอย่าง = พิมพ์แผ่น A4 ตามที่เห็น (ไม่ใช่หน้าว่าง) · โหมดทดลองไม่เข้ากฎนี้ (html.vs-demo) — vs-demo.js พิมพ์ได้แค่หน้าแจ้งเตือน
   specificity (1,3,2) ชนะกฎซ่อนทุกอย่างนอก #print-root ของ app.css/official-print.css (1,1,1) */
@media print {
    html.docpv-open, html.docpv-open body { overflow: visible !important; height: auto !important; }
    html.docpv-open:not(.vs-demo) body > #docpv.docpv { display: block !important; position: static; background: #fff; }
    html.docpv-open:not(.vs-demo) #print-root { display: none !important; }
    .docpv-bar, .docpv-note { display: none !important; }
    .docpv-stage, .docpv-pages { display: contents; }   /* แผ่นเป็นลูกตรงของหน้าต่าง — ไม่มีหน้าว่างท้ายเอกสาร */
    .docpv-sheet { width: auto !important; height: auto !important; box-shadow: none; overflow: visible; break-after: page; page-break-after: always; }
    .docpv-sheet:last-child { break-after: auto; page-break-after: auto; }
    .docpv-sheet.is-land { page: landscape; }
    /* สูงน้อยกว่ากระดาษเล็กน้อย (แบบหน้าพิมพ์ป้าย QR) กันล้นเป็นหน้าว่าง — เนื้อหาแบ่งหน้าไว้แล้ว ส่วนที่หายคือขอบล่างเพียง 1 มม. */
    .docpv .gov-page { transform: none !important; aspect-ratio: auto; height: 296mm; overflow: visible; }
    .docpv .gov-page.landscape { height: 209mm; }
}
@media (max-width: 767.98px) {
    .docpv-bar { padding: 8px 10px; gap: 8px; }
    .docpv-title { flex-basis: 0; }
    .docpv-title small { display: none; }
    .docpv-ic { width: 34px; height: 34px; }
    .docpv-x { order: 2; }
    .docpv-tools { order: 3; flex: 1 1 100%; }
    .docpv-tools > * { flex: 1 1 auto; }
    .docpv-tools .form-select { min-width: 0; }
    .docpv-note { padding: 6px 10px; font-size: .78rem; }
    .docpv-pages { gap: 14px; padding: 14px 12px 40px; }
}
