.pf-dlg{width:min(980px,96vw);max-height:92dvh;padding:0;border:1px solid #b9c2bc;border-radius:16px;background:#fff;color:#1f2c28;overflow:hidden}
.pf-dlg[open]{display:flex;flex-direction:column}.pf-dlg::backdrop{background:rgba(10,20,16,.55)}
.pf-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 16px;border-bottom:1px solid #d9ded9}.pf-head h2{margin:0;font-size:1.1rem;flex:1 1 auto;color:inherit}
.pf-dlg button{min-height:44px}.pf-body{padding:14px 16px 28px;overflow:auto;overscroll-behavior:contain}
.pf-body>.gq-button{margin:0 8px 10px 0}.pf-sheet h3{margin:0;font-size:1.15rem;line-height:1.5;color:inherit}.pf-sheet h4{margin:18px 0 6px;font-size:1.05rem;color:inherit}.pf-sheet h5{margin:14px 0 6px;font-size:1rem;color:inherit}
.pf-st{margin:4px 0 10px;font-size:.92rem}.pf-full{color:#126447}.pf-part,.pf-ask,.pf-warn{color:#8f3b00}
.pf-dl{margin:0;display:grid;grid-template-columns:150px 1fr;gap:0}.pf-dl dt,.pf-dl dd{padding:8px 0;margin:0;border-top:1px solid #e3e7e3;line-height:1.65}.pf-dl dt{font-weight:700}
.pf-ask{margin-top:12px;padding:10px 14px;border-radius:12px;background:#fdf1e6}.pf-ask h4,.pf-ask h5{margin:0 0 4px;color:inherit}.pf-ask ul,.pf-notes{margin:0;padding-left:20px;line-height:1.7}
.pf-views{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:12px}.pf-views figure{margin:0;padding:8px;border:1px solid #e3e7e3;border-radius:12px;background:#fff}.pf-views svg{width:100%;height:auto;max-height:340px;display:block}.pf-views figcaption{text-align:center;font-size:.92rem;color:#3d4a45}
.pf-scroll{overflow-x:auto}.pf-t{border-collapse:collapse;width:100%;font-size:.92rem;font-variant-numeric:tabular-nums}.pf-t th,.pf-t td{border:1px solid #d5dbd6;padding:6px 8px;text-align:left;white-space:nowrap}.pf-t th{background:#eef2ee;color:inherit}.pf-t td svg{width:150px;height:auto;display:block}
.pf-src{margin-top:12px}.pf-src summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.pf-src td{white-space:normal}
.pf-find{width:100%;min-height:48px;margin:0 0 8px;padding:0 12px;border:1px solid #9aa69f;border-radius:10px;background:#fff;color:inherit;font:inherit}.pf-list{display:grid;gap:6px}.pf-row{text-align:left;padding:10px 12px;border:1px solid #dbe1dc;border-radius:12px;background:#fff;color:inherit;display:grid;gap:2px;font:inherit;cursor:pointer}.pf-row small{color:#4a5a53}.pf-row small.gq-estimate-ink{color:#8f3b00}.pf-count{margin:2px 0 8px;color:#4a5a53}
.pf-open{min-height:44px;background:none;border:0;padding:0 4px;color:#126447;text-decoration:underline;font:inherit;cursor:pointer}
@media(max-width:560px){.pf-dl{grid-template-columns:1fr}.pf-dl dd{border-top:0;padding-top:0}.pf-dlg{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0}}
@media(prefers-color-scheme:dark){.pf-dlg{background:#16211c;color:#e9f0ec;border-color:#3a4a42}.pf-head,.pf-dl dt,.pf-dl dd{border-color:#314039}.pf-full,.pf-open{color:#8fd8b5}.pf-part,.pf-ask,.pf-warn,.pf-row small.gq-estimate-ink{color:#ffcf9f}.pf-ask{background:#3a2818}.pf-views figure{background:#fbfbf8;border-color:#314039}.pf-t th{background:#22312a}.pf-t td,.pf-t th{border-color:#3a4a42}.pf-t td svg{background:#fbfbf8;border-radius:6px}.pf-row,.pf-find{background:#1d2a24;border-color:#3a4a42}.pf-row small,.pf-count{color:#b9c9c0}}
.pf-print{margin:0;background:#fff;color:#111;font-family:Tahoma,"Noto Sans Thai",sans-serif;font-size:10.5pt}.pf-print .pf-sheet{padding:0}.pf-print .pf-sheet+.pf-sheet{break-before:page}.pf-mark{font-size:9pt;color:#555;margin:0 0 4mm}.pf-print figure,.pf-print table{break-inside:avoid}.pf-print{font-size:9pt}.pf-print .pf-views{grid-template-columns:repeat(3,1fr);gap:3mm}.pf-print .pf-views figure{padding:1.5mm}.pf-print .pf-views svg{max-height:48mm}.pf-print .pf-dl dt,.pf-print .pf-dl dd{padding:1.2mm 0;line-height:1.45}.pf-print .pf-ask{padding:2mm 3mm;margin-top:2mm}.pf-print .pf-ask ul,.pf-print .pf-notes{line-height:1.4}.pf-print .pf-sheet h4{margin:3mm 0 1mm}.pf-print .pf-sheet h5{margin:2.5mm 0 1mm}.pf-print .pf-t th,.pf-print .pf-t td{padding:.7mm 1.5mm}.pf-print .pf-t td svg{width:26mm;max-height:12mm}.pf-print .pf-src summary{min-height:0}.pf-print *{box-sizing:border-box}.pf-print .pf-sheet{padding:0 .6mm}.pf-print .pf-scroll{overflow:visible}
@media print{@page{size:A4;margin:12mm}.pf-print .pf-ask{background:none;border:1px solid #8f3b00}}
.gd-dlg{width:min(1500px,98vw)}.gd-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.gd-nav button:disabled{opacity:.45}.gd-title{margin:0 0 8px;font-weight:700}.gd-box{overflow:auto;border:1px solid #b9c2bc;background:#dfe4df;max-height:calc(92dvh - 200px);overscroll-behavior:contain}.gd-paper svg{display:block;width:100%;height:auto;background:#fff}.gd-paper.gd-big{width:1900px}
@media(max-width:560px){.gd-dlg{width:100vw}}
