/* synced from headdee_font_uploads/hd-ui@9a03b4a fonts-licensed/fonts.css */
/* HEAD DEE UI · @font-face FC Vision (Fontcraft) — owner ยืนยัน 2 ต.ค. 2569: license ของ หจก.เฮ็ดดี มีเดีย โซลูชันส์ ครอบคลุมทุกเว็บของบริษัท
 * วางไว้ใน repo ของแต่ละระบบเท่านั้น (same-origin) ห้าม link ข้ามเว็บ · ห้ามแจกไฟล์ฟอนต์ให้คนนอก (เงื่อนไข Fontcraft) */
@font-face{font-family:'FC Vision';src:url('fcvision-thin.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-extralight.woff2') format('woff2');font-weight:200;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-light.woff2') format('woff2');font-weight:300;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-semibold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-extrabold.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-heavy.woff2') format('woff2');font-weight:850;font-display:swap}
@font-face{font-family:'FC Vision';src:url('fcvision-black.woff2') format('woff2');font-weight:900;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-thincondensed.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-extralightcondensed.woff2') format('woff2');font-weight:200;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-lightcondensed.woff2') format('woff2');font-weight:300;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-condensed.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-mediumcondensed.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-semiboldcondensed.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-boldcondensed.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-extraboldcondensed.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-heavycondensed.woff2') format('woff2');font-weight:850;font-display:swap}
@font-face{font-family:'FC Vision Condensed';src:url('fcvision-blackcondensed.woff2') format('woff2');font-weight:900;font-display:swap}

/* ชื่อเดิมที่ธีม Hub/headdee.co.th ใช้ ('Headdee Thai Vision') ชี้ไฟล์เดียวกัน — หน้าเดิมได้ FC Vision ทันทีไม่ต้องแก้ทีละที่ */
@font-face FC Vision (Fontcraft) — owner ยืนยัน 2 ต.ค. 2569: license ของ หจก.เฮ็ดดี มีเดีย โซลูชันส์ ครอบคลุมทุกเว็บของบริษัท
 * วางไว้ใน repo ของแต่ละระบบเท่านั้น (same-origin) ห้าม link ข้ามเว็บ · ห้ามแจกไฟล์ฟอนต์ให้คนนอก (เงื่อนไข Fontcraft) */
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-thin.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-extralight.woff2') format('woff2');font-weight:200;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-light.woff2') format('woff2');font-weight:300;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-semibold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-extrabold.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-heavy.woff2') format('woff2');font-weight:850;font-display:swap}
@font-face{font-family:'Headdee Thai Vision';src:url('fcvision-black.woff2') format('woff2');font-weight:900;font-display:swap}

/* ใช้ฟอนต์แบรนด์ทั้งหน้า (ยกมาจาก headdee-system-font.css เดิมบน headdee.co.th — เดิมทุกระบบดึงข้ามเว็บ) */
:root{--headdee-ui-font:"Headdee Thai Vision","FC Vision",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--hd-font:"FC Vision","Headdee Thai Vision",system-ui,sans-serif}
html,body,button,input,select,textarea,h1,h2,h3,h4,h5,h6,p,small,label,span,a,li,th,td,blockquote,.brand,.brand-name,.page-title,.panel-title,.headline,.label,.value,.metric,.eyebrow{font-family:var(--headdee-ui-font)!important}

/* HEAD DEE UI · ลำดับน้ำหนักตัวอักษร (owner สั่ง 2 ต.ค. 69 "แก้ให้หมด") — ใช้ร่วมทุกระบบ ต่อท้าย fonts.css ตอน sync
 * เดิมทุกระบบตั้ง 800–900 แทบทุกจุด (หัวข้อ ปุ่ม ป้าย เมนู หนาเท่ากัน) → ไล่น้ำหนักตามบทบาท
 * selector ขึ้นต้น "html " ให้ชนะ class เดี่ยวในธีมเดิมโดยไม่ต้อง !important — หน้าไหนตั้งเฉพาะเจาะจงกว่า (เช่น .hw ...) ยังชนะได้ */

/* ชื่อหน้า: ตัวใหญ่ บาง (จุดเด่น FC Vision) */
html .page-title{font-size:clamp(24px,2.2vw,30px);font-weight:300;line-height:1.2;letter-spacing:-.005em}
html .page-title b,html .page-title strong{font-weight:700}
/* หัวการ์ด/หัวส่วน */
html .panel h3,html .hd-section,html .panel-title{font-weight:600}
html .hd-section span{font-weight:400}
/* แบรนด์มุมเมนู */
html .hd-brand,html .sidebar-head .brand{font-weight:800}
/* เมนู: ปกติ Medium · ที่เลือกอยู่ Bold */
html .hd-nav a,html .side-item,html .vp-mode a,html .side-sub a{font-weight:500}
html .hd-nav a.on,html .hd-nav a.active,html .side-item.active,html .side-sub a.active,html .vp-mode a.on,html .vp-mode a.active{font-weight:700}
/* ป้ายกำกับ/หัวตาราง/หัวกลุ่มเมนู: SemiBold ตัวเล็ก เว้นระยะ */
html .side-section,html .side-sub-cap,html .stat .label,html .field label,html .hd-modal label,html thead th,html .hd-table th,html .role-tag,html .label,html .eyebrow{font-weight:600;letter-spacing:.03em}
/* ปุ่ม/ป้ายสถานะ: SemiBold (เดิม 800–900 หนาเกิน) */
html .btn,html .line-btn,html .logout-btn,html .hd-submit-box{font-weight:600}
html .badge,html .pill,html .system-status-chip{font-weight:600}
html .user-badge,html .hd-user,html .company-switcher select{font-weight:600}
html .flash,html .hd-flash{font-weight:500}
/* ตัวเลข/ยอดเงิน/KPI: แบบแคบ หนา ตัวเลขตรงคอลัมน์ */
html .stat .num,html .metric,html .value.num,html .kpi,html .hd-num{font-family:'FC Vision Condensed','FC Vision','Headdee Thai Vision',system-ui,sans-serif!important;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:0}
html td.num,html td.amount,html .amount,html .money{font-variant-numeric:tabular-nums}
/* ขั้นตอน (stepper) */
html .step .stxt{font-weight:500}html .step .stxt.active{font-weight:700}
