@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=Mitr:wght@400;500;600&display=swap";*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:#f5f7fa;color:#173042;font-family:IBM Plex Sans Thai,sans-serif;font-size:16px;line-height:1.55}button,input{font-family:inherit}.app{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}aside{background:#0c2940;color:#d9e7ee;padding:28px 20px}.brand{display:flex;gap:13px;align-items:center;margin-bottom:38px}.brand b{display:block;font-family:Mitr,sans-serif;font-size:18px;font-weight:500;color:#fff}.brand small{display:block;margin-top:2px;font-size:14px;opacity:.75}.mark{width:52px;height:52px;flex:0 0 52px;border-radius:14px;background:#16a6a1;display:grid;place-items:center;font-family:Mitr,sans-serif;font-size:17px;font-weight:600;color:#fff}nav{display:grid;gap:8px}nav span{padding:13px 15px;border-radius:9px;font-size:17px;cursor:default}nav .active{background:#123d58;color:#fff;border-left:3px solid #28c4bd}main{padding:32px 34px;min-width:0}header{display:flex;justify-content:space-between;align-items:center;gap:20px}header p{margin:0;color:#168a88;font-size:17px;font-weight:700}h1{font-family:Mitr,sans-serif;font-weight:500;margin:4px 0;font-size:30px;line-height:1.35}header small{font-size:15px;color:#657985}header button,.print{border:1px solid #d6e0e5;background:#fff;border-radius:10px;padding:10px 15px;display:flex;gap:7px;align-items:center;font-size:15px;cursor:pointer}.cards{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;margin:26px 0}.cards article{background:#fff;border:1px solid #e3e9ed;border-radius:15px;padding:21px 22px;display:flex;gap:15px;align-items:center}.cards article svg{color:#168a88}.cards b{display:block;font-size:29px;line-height:1.2}.cards span{display:block;margin-top:4px;color:#647785;font-size:16px}.cards .warn{background:#fffaf0}.cards .warn svg{color:#c58a16}.panel{background:#fff;border:1px solid #e1e8ec;border-radius:15px;overflow:hidden}.toolbar,.tablehead{padding:19px 21px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #edf1f3}.toolbar h2{font-family:Mitr,sans-serif;font-size:23px;font-weight:500;margin:0}.toolbar p{margin:3px 0 0;color:#70818d;font-size:15px}.search{display:flex;align-items:center;gap:8px;border:1px solid #dce4e8;border-radius:10px;padding:9px 12px;background:#fff}.search input{border:0;outline:0;width:280px;font-size:15px;color:#173042}.groups{display:flex;flex-wrap:wrap;gap:9px;padding:16px 20px;border-bottom:1px solid #edf1f3}.groups button{white-space:nowrap;border:1px solid #dce4e8;background:#fff;border-radius:24px;padding:8px 14px;display:flex;gap:9px;align-items:center;font-size:15px;cursor:pointer}.groups button b{font-size:15px}.groups button:hover{border-color:#16a6a1}.groups button.selected{background:#e6f7f6;border-color:#16a6a1;color:#08736f}.groups button.waiting{background:#fff8e8}.tablehead>div{display:flex;align-items:baseline;gap:10px}.tablehead b{font-family:Mitr,sans-serif;font-size:19px;font-weight:500}.tablehead span{color:#71818d;font-size:15px}.print{background:#0f7f7c;color:#fff;border:0;font-weight:600}.print:hover{background:#0c706d}.print:disabled{opacity:.35;cursor:not-allowed}.tablewrap{overflow:auto;max-height:65vh}table{border-collapse:collapse;width:100%;font-size:15px}th,td{padding:12px 11px;border-bottom:1px solid #e6ecef;text-align:left;vertical-align:top}th{position:sticky;top:0;background:#f4f8fa;z-index:1;color:#102e42;font-weight:700;white-space:nowrap}tbody tr:hover{background:#f9fcfd}td:nth-child(1){text-align:center;width:55px}td:nth-child(2){white-space:nowrap;font-weight:600;color:#123d58}td:nth-child(3){white-space:nowrap}td:nth-child(5){text-align:center;white-space:nowrap}.check{white-space:nowrap;line-height:1.8}.loading,.error{padding:26px;font-size:16px}.error{background:#fff1f1;color:#9b2c2c;margin-bottom:15px}@media(max-width:1000px){.app{grid-template-columns:230px minmax(0,1fr)}main{padding:24px}}@media(max-width:900px){.app{grid-template-columns:1fr}aside{display:none}main{padding:16px}.cards{grid-template-columns:1fr}.toolbar{align-items:flex-start;gap:12px;flex-direction:column}.search,.search input{width:100%}}@media print{@page{size:A4 landscape;margin:8mm 7mm 9mm}html,body{margin:0!important;padding:0!important;background:#fff!important;color:#000!important}body{font-family:TH Sarabun New,TH SarabunPSK,Sarabun,IBM Plex Sans Thai,sans-serif!important;font-size:14pt!important;line-height:1.15!important}.app{display:block!important;min-height:0!important}aside,header,.cards,.toolbar,.groups,.tablehead .print{display:none!important}main{padding:0!important;margin:0!important;width:100%!important}.panel{border:0!important;border-radius:0!important;overflow:visible!important;background:#fff!important}.tablehead{display:block!important;padding:0 0 5mm!important;margin:0!important;border:0!important;text-align:center!important}.tablehead>div{display:block!important;text-align:center!important}.tablehead>div:before{content:"แบบตรวจสอบครุภัณฑ์ประจำปีงบประมาณ พ.ศ. 2569";display:block;font-size:20pt;line-height:1.15;font-weight:700;margin:0 0 1mm}.tablehead>div:after{content:"โรงเรียนหล่มเก่าพิทยาคม";display:block;font-size:18pt;line-height:1.15;font-weight:700;margin:0 0 2mm}.tablehead b{display:inline!important;font-family:TH Sarabun New,TH SarabunPSK,sans-serif!important;font-size:16pt!important;font-weight:700!important}.tablehead b:before{content:"กลุ่มสาระ/กลุ่มงาน : "}.tablehead span{display:inline!important;margin-left:8mm!important;color:#000!important;font-size:15pt!important}.tablewrap{max-height:none!important;height:auto!important;overflow:visible!important;width:100%!important}table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;font-family:TH Sarabun New,TH SarabunPSK,Sarabun,sans-serif!important;font-size:12.5pt!important;line-height:1.12!important}thead{display:table-header-group!important}tbody{display:table-row-group!important}tr{page-break-inside:avoid!important;break-inside:avoid!important}th,td{position:static!important;border:.7pt solid #000!important;padding:2.2mm 1.5mm!important;vertical-align:middle!important;color:#000!important;background:#fff!important;overflow-wrap:anywhere}th{text-align:center!important;font-weight:700!important;font-size:12.5pt!important;white-space:normal!important}th:nth-child(1),td:nth-child(1){width:4.5%!important;text-align:center!important}th:nth-child(2),td:nth-child(2){width:9.5%!important;white-space:nowrap!important;text-align:center!important}th:nth-child(3),td:nth-child(3){width:10.5%!important;white-space:normal!important}th:nth-child(4),td:nth-child(4){width:21%!important}th:nth-child(5),td:nth-child(5){width:5%!important;text-align:center!important}th:nth-child(6),td:nth-child(6){width:12%!important}th:nth-child(7),td:nth-child(7){width:13.5%!important}th:nth-child(8),td:nth-child(8){width:7%!important;white-space:nowrap!important}th:nth-child(9),td:nth-child(9){width:7.5%!important;white-space:nowrap!important}th:nth-child(10),td:nth-child(10){width:9.5%!important;min-height:12mm!important}td:nth-child(1),td:nth-child(5){text-align:center!important}td:nth-child(2){font-weight:600!important}.check{font-size:11.5pt!important;line-height:1.45!important;white-space:nowrap!important}*,*:before,*:after{box-shadow:none!important;text-shadow:none!important}}
