@font-face{font-family:K2D;src:url('fonts/K2D-Regular.ttf') format('truetype');font-weight:100 500;font-display:swap}
@font-face{font-family:K2D;src:url('fonts/K2D-Bold.ttf') format('truetype');font-weight:600 900;font-display:swap}
@font-face{font-family:'TH Sarabun New';src:url('fonts/THSarabunNew.ttf') format('truetype');font-weight:100 500;font-display:swap;size-adjust:125%}
@font-face{font-family:'TH Sarabun New';src:url('fonts/THSarabunNew-Bold.ttf') format('truetype');font-weight:600 900;font-display:swap;size-adjust:125%}
@font-face{font-family:Prompt;src:url('fonts/Prompt-Regular.ttf') format('truetype');font-weight:100 500;font-display:swap}
@font-face{font-family:Prompt;src:url('fonts/Prompt-Bold.ttf') format('truetype');font-weight:600 900;font-display:swap}
body{font-family:var(--site-font,'Sarabun',Tahoma,sans-serif)}.art-swal{font-family:var(--site-font,'Sarabun',Tahoma,sans-serif)!important}
/* The selectors occupy the right edge; keep a readable identity at the left. */
.context-bar>div:first-child{flex:1 1 auto;min-width:120px}.context-bar label{flex:0 1 auto;min-width:0;white-space:nowrap;gap:14px}.context-bar select{width:215px;max-width:100%;min-width:0}.context-bar>.context-home-link{flex:0 0 auto;text-align:right;max-width:130px}.context-home-link a{display:inline-block;color:#fff;text-decoration:underline;text-underline-offset:4px;line-height:1.8}
.style-hero{padding:28px;background:linear-gradient(110deg,#f4edfa,#edf6fb);border-bottom:1px solid var(--line)}.style-hero h3{font-size:25px;margin:12px 0 8px;color:var(--navy)}.style-hero p{margin-bottom:10px}.style-grid{display:grid;grid-template-columns:minmax(190px,1fr) minmax(250px,1.25fr);gap:26px}.style-grid .field{display:flex;flex-direction:column;gap:9px;margin-bottom:20px}.style-preview-shell{padding:20px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;min-width:0}.style-preview-shell h3{font-size:17px}.style-preview-shell iframe{width:100%;height:355px;border:1px solid var(--line);border-radius:12px;background:#fff;display:block}.style-targets{margin:24px 0;border:1px solid var(--line);border-radius:14px;padding:18px}.style-targets legend{font-weight:700;padding:0 8px}.style-zone-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px}.style-zone-grid label{padding:15px;border:1px solid var(--line);border-radius:12px;display:flex;gap:12px;align-items:center;background:#fff;cursor:pointer}.style-zone-grid input{height:18px;width:18px;flex:0 0 auto}.style-zone-grid small{display:block;color:var(--muted);margin-top:4px}.style-zone-grid label:has(input:checked){border-color:var(--blue);background:var(--cyan)}#styleForm .actions{flex-wrap:wrap}#styleCustomColors input{height:44px;width:100%;padding:3px}
@media(max-width:1100px){.context-bar{flex-wrap:wrap;gap:16px}.context-bar>div:first-child{flex-basis:100%}.context-bar label:first-of-type{margin-left:auto}.style-grid{grid-template-columns:1fr}.style-preview-shell iframe{height:370px}}
@media(max-width:800px){.context-bar label{flex:1 1 180px;white-space:normal;align-items:stretch}.context-bar select{width:100%}.context-bar>.context-home-link{flex:1 1 100%;max-width:none;text-align:right}.style-zone-grid{grid-template-columns:1fr}.style-targets{padding:14px}.style-preview-shell{padding:12px}.style-hero{padding:22px}.style-grid{gap:15px}.style-preview-shell iframe{height:410px}}
@media print{.style-preview-shell{display:none}}
