@font-face{font-family:'Noto Serif Thai';src:url('assets/fonts/noto-serif-thai.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:'Noto Sans Thai';src:url('assets/fonts/noto-sans-thai.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{--yellow:#ffe128;--black:#111;--cream:#faf8f1;--line:#bbb8ae}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--black);font-family:Georgia,'Times New Roman',serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;display:inline-block;background:var(--yellow);color:#111;border:1px solid #111;padding:10px 18px;font-weight:bold}button:hover,.button:hover{filter:brightness(.94)}button:disabled{cursor:default;background:#ddd;color:#777;border-color:#bbb}.outline{background:transparent}.dark{background:#111;color:#fff}.muted{color:#686868;font:14px/1.5 Arial,sans-serif}.preview-bar{background:#111;color:#fff;min-height:30px;padding:7px 3%;display:flex;gap:22px;font:12px Arial,sans-serif;align-items:center}.preview-bar span{flex:1;color:#ccc}.preview-bar a{color:var(--yellow)}.site{max-width:1536px;margin:auto;padding:0 44px}.masthead{background:var(--yellow);min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:10px 20px;gap:12px}.wordmark{font-size:52px;font-weight:bold;letter-spacing:-2px;white-space:nowrap}.wordmark small{font-size:27px;letter-spacing:0}.masthead .tagline,.masthead .tools{font-size:14px}.primary,.subjects,.formats{display:flex;justify-content:center;align-items:center;border-bottom:1px solid #111;min-height:37px;gap:0;flex-wrap:wrap}.primary a,.subjects a,.formats a{padding:9px 15px}.primary .active{background:#111;color:var(--yellow)}.subjects a{font-size:15px}.formats{font-size:15px}.formats strong{background:var(--yellow);padding:10px 18px;margin-right:auto}.crumb{font:13px Arial;margin:20px 0}.page-title{font-size:58px;line-height:1.05;margin:26px 0 8px}.subtitle{font-size:25px;margin:0 0 24px}.section-head{font-size:29px;margin:25px 0 12px;border-top:1px solid #111;padding-top:10px}.band{background:#111;color:#fff;padding:8px 14px;font-size:22px;font-weight:bold;margin:0 0 12px}.band.yellow{background:var(--yellow);color:#111}.hero-layout{display:grid;grid-template-columns:3fr 1fr;gap:22px;margin-top:12px}.hero-image{width:100%;height:auto;display:block}.hero-title{font-size:52px;margin:8px 0 0;line-height:1.05}.kicker{font:bold 12px Arial;letter-spacing:1px;background:var(--yellow);padding:6px 10px;display:inline-block}.latest-row{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.latest-row img{width:105px;height:85px;object-fit:cover}.latest-row h3{font-size:21px;margin:8px 0}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.card{border-right:1px solid var(--line);padding-right:20px}.card:last-child{border:0;padding-right:0}.card img.editorial{width:100%;height:180px;object-fit:cover}.card h3{font-size:25px;line-height:1.12;margin:10px 0}.card p{line-height:1.5}.cards-row{margin:18px 0 30px}.format-card{border-bottom:1px solid #111;padding-bottom:16px}.format-card .band{font-size:22px}.tabs{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.tabs button,.tabs a{font-weight:normal;padding:9px 17px;background:transparent;border:1px solid #111}.tabs .active{background:#111;color:var(--yellow)}.filters{display:flex;gap:12px;margin:15px 0 24px}.filters input{flex:1;min-width:100px}.filters input,.filters select{padding:12px;background:#fff;border:1px solid var(--line)}.collection{background:#111;color:#fff;padding:24px;margin:20px 0}.art-card{border-color:#555}.art-card img{width:100%;height:auto;display:block;cursor:zoom-in}.art-card .muted{color:#bbb}.art-card .button{margin-top:12px}.gallery-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.empty{padding:45px;text-align:center;border:1px solid var(--line)}.pagination{display:flex;justify-content:center;gap:12px;margin:24px}.art-detail{display:grid;grid-template-columns:3fr 1.2fr;gap:22px;align-items:start}.art-well{background:#111;color:#fff;padding:16px}.art-well .toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.art-well img{display:block;width:min(100%,650px);height:auto;margin:0 auto;cursor:zoom-in}.side-panel{margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}.side-panel p{font-size:18px;line-height:1.5}dl{margin:0}dl div{display:grid;grid-template-columns:1fr 1.3fr;border-bottom:1px solid var(--line);padding:14px 0;gap:15px}dt{font-weight:bold}dd{margin:0}.store-hero{background:#111;color:#fff;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:25px 40px;gap:30px}.store-hero h2{font-size:52px;margin:0 0 15px;line-height:1.1}.store-hero p{font-size:22px;line-height:1.5}.store-hero img{height:350px;width:auto;max-width:100%;object-fit:contain;justify-self:center}.store-grid{background:#111;color:#fff;padding:24px}.store-grid .art-card a{color:var(--yellow)}.product-detail{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:start}.product-well{background:#111;padding:25px;color:#fff}.product-well img{display:block;width:100%;height:auto;cursor:zoom-in}.product-summary .page-title{font-size:48px}.product-summary p{font-size:22px;line-height:1.5}.product-summary .status{background:#111;color:#fff;padding:20px;font-size:29px;font-weight:bold}.product-summary button{width:100%;margin:20px 0}.notice{background:#eee7d3;padding:12px 16px;font:14px/1.5 Arial;margin:18px 0}.article-layout{display:grid;grid-template-columns:3fr 1fr;gap:30px}.article-body{max-width:870px;font-size:21px;line-height:1.65}.article-body h2{line-height:1.15}.article-body img{width:100%;height:auto}.article-body blockquote{border-left:8px solid var(--yellow);margin:22px 0;padding:14px 24px;background:#eee8d9}.media-box{background:#111;color:#fff;padding:45px;text-align:center;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.media-box p{font-size:22px}.comic-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.comic-panel{background:#ece4ce;min-height:260px;padding:24px;border:1px solid #111;display:flex;flex-direction:column;justify-content:space-between}.comic-panel .bubble{background:#fff;padding:16px;border:1px solid #111}.quiz{max-width:900px;margin:30px auto;padding:30px;background:#111;color:#fff}.quiz h2{font-size:34px}.quiz button{display:block;width:100%;text-align:left;margin:12px 0}.result{font-size:68px;color:var(--yellow)}.form{max-width:650px}.form label{display:block;margin:18px 0 6px}.form input,.form textarea{width:100%;padding:13px;border:1px solid #aaa;background:#fff}.form textarea{min-height:150px}.footer{margin-top:38px;border-top:2px solid #111;padding:22px 0;display:flex;gap:25px;justify-content:space-between;flex-wrap:wrap}.footer p{margin:0;font:13px Arial;color:#555}.footer nav{display:flex;gap:18px}.admin-head{background:var(--yellow);padding:15px 28px;display:flex;justify-content:space-between;align-items:center}.admin-layout{display:grid;grid-template-columns:230px 1fr;min-height:calc(100vh - 100px)}.sidebar{background:#111;color:#fff;padding:20px 12px}.sidebar a{display:block;padding:12px 14px}.sidebar a.active{background:var(--yellow);color:#111}.sidebar hr{border:0;border-top:1px solid #777;margin:20px 0}.writer-link small{display:block;color:#bbb;font:12px Arial;margin-top:5px}.sidebar .active small{color:#111}.admin-main{padding:24px 28px;min-width:0}.admin-main .page-title{margin-top:0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0}.stat{padding:20px;border:1px solid #111;font-size:23px}.stat b{display:block;font-size:45px;margin:12px 0}.stat .count-label{font:15px Arial}.stat:nth-child(2){background:#111;color:#fff}.stat:nth-child(3){background:var(--yellow)}table{border-collapse:collapse;width:100%;background:#fff}th,td{text-align:left;padding:14px 12px;border-bottom:1px solid #ddd}th{background:#eee}td .muted{display:block;margin-top:6px}.admin-two{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;align-items:start}.workspace{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.pane{border:1px solid #bbb;background:#fff;min-width:0}.pane .band{margin-bottom:0}.draft{padding:20px;max-height:590px;overflow:auto;font-size:19px;line-height:1.6}.draft h2{font-size:36px;line-height:1.08}.draft img{width:100%;height:auto}.conversation{padding:16px;max-height:370px;overflow:auto;min-height:290px}.message{margin-bottom:16px;padding:12px;background:#f2eee2;line-height:1.5}.message.agent{background:#fff5c1}.message strong{display:block;margin-bottom:8px}.composer{padding:14px;border-top:1px solid #ddd}.composer textarea{width:100%;min-height:94px;padding:12px}.composer-actions{display:flex;gap:8px;justify-content:space-between;margin-top:9px}.actionbar{background:#111;color:#fff;padding:18px;display:flex;align-items:center;gap:12px;margin-top:18px}.actionbar span{flex:1}.actionbar .outline{color:#fff;border-color:#fff}.channel{display:flex;justify-content:space-between;align-items:center;padding:16px;border:1px solid #ddd;margin:12px 0}.publishing{padding:20px}.roster-row{display:flex;align-items:center;gap:16px;padding:14px;border-bottom:1px solid #ddd;width:100%;background:#fff;text-align:left;font-weight:normal}.initial{display:inline-flex;width:45px;height:45px;border-radius:50%;background:var(--yellow);align-items:center;justify-content:center;font-size:26px;font-weight:bold}.profile{padding:24px;background:#111;color:#fff}.profile input,.profile textarea{display:block;width:100%;margin:8px 0 18px;padding:12px;background:#fff}.profile label{display:block}.support{display:flex;gap:18px;margin-top:20px}.support div{flex:1;padding:16px;border:1px solid #aaa}.login{display:grid;grid-template-columns:1fr 1fr;min-height:750px}.login-intro{padding:60px;background:#111;color:#fff}.login-intro h1{font-size:56px}.login-form{padding:60px}.login-form .form{max-width:500px}.map-group{margin:25px 0}.map-card{background:#fff;border:1px solid #aaa;padding:14px}.map-card img{width:100%;height:180px;object-fit:contain;background:#eee}.map-card .muted{margin:10px 0}.ref-button{font:12px Arial;float:right;margin:8px 0}.reference{background:#111;padding:20px;clear:both}.reference img{width:100%;height:auto}.tag-line{font:14px Arial;margin:16px 0}dialog{border:0;padding:0;background:#111;color:#fff;width:96vw;max-width:1600px;height:94vh;max-height:94vh}dialog::backdrop{background:#000c}#close-viewer{position:absolute;right:14px;top:12px;z-index:2}.zoom-controls{padding:12px 180px 12px 16px;display:flex;gap:14px;align-items:center}.zoom-scroll{height:calc(100% - 65px);overflow:auto;padding:20px}.zoom-scroll img{display:block;width:100%;height:auto;margin:auto}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;background:#111;color:#fff;border:2px solid var(--yellow);padding:18px 26px;z-index:99;display:none;font:15px/1.5 Arial}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e39d00;outline-offset:3px}@media(max-width:1000px){.site{padding:0 20px}.masthead .tagline{display:none}.wordmark{font-size:39px}.hero-layout,.art-detail,.article-layout,.admin-two,.workspace{grid-template-columns:1fr}.grid4{grid-template-columns:repeat(2,1fr)}.latest{display:none}.admin-layout{grid-template-columns:180px 1fr}.admin-main{padding:20px}.stat-grid{grid-template-columns:repeat(2,1fr)}.store-hero h2{font-size:42px}.product-detail{gap:22px}.gallery-header{display:block}.login-form,.login-intro{padding:35px}.map-card img{height:145px}}@media(max-width:650px){.preview-bar{flex-wrap:wrap;gap:10px}.preview-bar span{display:none}.masthead .tools{display:none}.masthead{justify-content:center}.wordmark{font-size:37px}.subjects{justify-content:flex-start}.subjects a{padding:8px;font-size:13px}.formats strong{width:100%}.page-title,.hero-title{font-size:40px}.subtitle{font-size:20px}.grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.card{padding-right:0;border:0}.card h3{font-size:20px}.card img.editorial{height:130px}.collection,.store-grid{padding:14px}.art-card h3{font-size:20px}.store-hero,.product-detail,.login{grid-template-columns:1fr}.store-hero{padding:24px}.store-hero img{height:auto;width:65%}.filters{flex-wrap:wrap}.admin-layout{display:block}.sidebar{display:flex;flex-wrap:wrap;gap:4px}.sidebar a{padding:7px;font-size:13px}.sidebar hr,.sidebar .writer-title,.sidebar .writer-link{display:none}.admin-head .wordmark{font-size:29px}.admin-head{padding:12px}.stat{font-size:18px;padding:14px}.stat b{font-size:34px}.admin-main{padding:16px}.actionbar{flex-wrap:wrap}.actionbar span{flex-basis:100%}table{font-size:13px}td,th{padding:10px 5px}.support{flex-wrap:wrap}.composer-actions{flex-wrap:wrap}.comic-strip{grid-template-columns:1fr}.login-intro h1{font-size:40px}.footer{font-size:14px}.art-well img{width:100%}.product-summary .page-title{font-size:39px}.hero-image{min-height:170px;object-fit:cover}.ref-button{float:none}.map-card img{height:110px}}
/* Tablet: keep the lead story compact; latest stories share their own row. */
@media(min-width:651px) and (max-width:1200px){.hero-layout{grid-template-columns:minmax(0,1fr);gap:20px}.hero-layout .latest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.latest>.band{grid-column:1/-1;margin:0}.latest-row{align-items:flex-start;min-width:0;margin:0;padding:12px 0}.latest-row>div{min-width:0}.latest-row img{width:82px;height:76px;flex:none}.latest-row h3{font-size:20px;line-height:1.2}.latest-row .kicker{font-size:10px;letter-spacing:.2px}.hero-title{font-size:clamp(40px,4.4vw,52px)}.hero-layout .subtitle{margin-bottom:0}.masthead .tagline{display:none}.wordmark{font-size:46px}.format-card>.hero-image{width:100%;height:160px;object-fit:cover}}
@media(max-width:650px){.hero-layout .latest{display:grid;grid-template-columns:1fr;gap:8px}.latest>.band{margin:0}.latest-row img{width:80px;height:70px}.latest-row h3{font-size:20px}.format-card>.hero-image{height:140px;object-fit:cover}}
.thai-home{font-family:'Noto Serif Thai',serif;font-weight:400;line-height:1.7}.thai-home :is(.primary,.subjects,.formats,.kicker,.button,.muted,.tagline,.tools,.notice,.footer,.font-info){font-family:'Noto Sans Thai',sans-serif}.thai-home :is(h1,h2,h3,.band){font-family:'Noto Serif Thai',serif;font-weight:600;letter-spacing:0;line-height:1.4}.thai-home .wordmark{font-family:Georgia,'Times New Roman',serif;font-weight:bold;line-height:1;letter-spacing:-2px}.thai-home .hero-title{font-size:clamp(34px,3.5vw,52px);margin-top:12px}.thai-home .subtitle{font-size:23px;line-height:1.75;margin:8px 0 16px}.thai-home .card h3{font-size:24px;line-height:1.55}.thai-home .format-card h3{font-size:24px;line-height:1.55}.thai-home .band{font-size:22px;line-height:1.5}.thai-home .subjects a{font-size:14px}.thai-home .formats a{font-size:14px}.thai-home .section-head{font-size:31px;line-height:1.6}.thai-home .latest-row h3{font-size:21px;line-height:1.5;margin:7px 0}.thai-home .kicker{letter-spacing:0;line-height:1.6}.thai-home .store-hero h2{font-size:42px;line-height:1.5}.thai-home .font-info{font-size:13px;line-height:1.7;background:#eee8d8;padding:12px 18px;margin:18px 0}.thai-home .masthead{line-height:1.5}.thai-home .format-card{display:flex;flex-direction:column}.thai-home .format-card .button{align-self:flex-start;margin-top:auto}.thai-home .format-card>.hero-image{height:170px;object-fit:cover}.thai-home .format-card>p{font-family:'Noto Sans Thai',sans-serif;font-size:15px;line-height:1.7}.thai-home .footer{line-height:1.8}@media(max-width:650px){.thai-home .hero-title{font-size:34px}.thai-home .subtitle{font-size:20px}.thai-home .format-card h3{font-size:21px}.thai-home .format-card>.hero-image{height:125px}.thai-home .card h3{font-size:20px}.thai-home .store-hero h2{font-size:34px}.thai-home .section-head{font-size:27px}}

.thai-home .button{font-size:15px;line-height:1.6;padding:9px 12px;max-width:100%}

/* Approved Thai direction: all live Thai typography uses the loopless sans family. */
.language-switch{display:inline-flex;align-items:center;gap:0;white-space:nowrap;flex:none;border:1px solid #111;font:14px Arial,sans-serif}.language-switch button{font:600 14px Arial,sans-serif;border:0;padding:9px 12px;background:transparent;min-width:42px}.language-switch button.selected{background:#111;color:#ffe128}.language-switch button+button{border-left:1px solid #111}.thai-language{font-family:'Noto Sans Thai',sans-serif;line-height:1.7}.thai-language :is(h1,h2,h3,.band,.page-title,.hero-title,.subtitle,.thai-home,.thai-home h1,.thai-home h2,.thai-home h3,.thai-home .band,.thai-home .subtitle){font-family:'Noto Sans Thai',sans-serif;letter-spacing:0}.thai-language :is(h1,h2,h3,.band){font-weight:700}.thai-language .wordmark,.thai-language .wordmark small{font-family:Georgia,'Times New Roman',serif;font-weight:bold;line-height:1;letter-spacing:-2px}.thai-language .wordmark small{letter-spacing:0}.thai-language .hero-title{font-size:clamp(34px,3.6vw,54px);line-height:1.4}.thai-language .subtitle{font-size:23px;line-height:1.65}.thai-language .page-title{font-size:clamp(34px,4vw,54px);line-height:1.4}.thai-language .article-body,.thai-language .draft{line-height:1.85}.thai-language .article-body{font-size:20px}.thai-language .button,.thai-language button{line-height:1.6}.thai-language .language-switch button{font:600 14px Arial,sans-serif}.thai-language .card h3,.thai-language .latest-row h3{line-height:1.5}.thai-language .band{line-height:1.6}.thai-language .muted,.thai-language :is(input,select,textarea,.kicker){font-family:'Noto Sans Thai',sans-serif}.thai-language .kicker{letter-spacing:0}.thai-language .sidebar .muted{font-size:12px}.thai-language .form label{line-height:1.7}.thai-language .notice{font-family:'Noto Sans Thai',sans-serif;line-height:1.8}.thai-language .thai-home .font-info{display:none}.masthead{flex-wrap:wrap}.masthead .wordmark{flex:none}.masthead .language-switch{margin-left:4px}@media(max-width:1200px){.masthead .wordmark{font-size:42px}.masthead .tools{font-size:13px}.language-switch button{padding:8px 10px}.thai-language .latest-row h3{font-size:19px}.thai-language .format-card>.band{font-size:20px}}@media(max-width:650px){.masthead{justify-content:space-between;gap:8px;padding:14px 12px}.masthead .wordmark{font-size:32px}.masthead .wordmark small{font-size:20px}.masthead .language-switch{margin-left:auto}.language-switch button{padding:8px;min-width:35px}.thai-language .hero-title{font-size:34px}.thai-language .subtitle{font-size:20px}.thai-language .page-title{font-size:34px}.thai-language .section-head{font-size:27px}.thai-language .format-card>.band{font-size:18px}.admin-head{flex-wrap:wrap;gap:12px}}
/* Maya uses the approved fonts and columns, with full-length work surfaces. */
.maya-connected .draft,.maya-connected .conversation{max-height:none;overflow:visible}.maya-connected .maya-body{white-space:pre-wrap;overflow-wrap:anywhere}.maya-connected .draft{font-family:'Noto Serif Thai',Georgia,serif;line-height:1.8}.maya-connected .composer,.maya-connected .conversation{font-family:'Noto Sans Thai',sans-serif}.maya-connected .draft a{overflow-wrap:anywhere;text-decoration:underline}

.maya-task-controls{flex-wrap:wrap;align-items:center}.maya-task-controls select{flex:1 1 240px;min-width:0;max-width:100%;text-overflow:ellipsis}.maya-task-controls button{flex-shrink:0}

.maya-figure{margin:24px 0}.maya-figure img{display:block;width:100%;height:auto}.maya-figure figcaption{font:14px/1.7 'Noto Sans Thai',sans-serif;padding:10px 0;border-bottom:1px solid var(--line)}.maya-upload{padding:14px;border-top:1px solid #ddd;font-family:'Noto Sans Thai',sans-serif}.maya-upload summary{cursor:pointer}.maya-upload label{display:block;margin:12px 0}.maya-upload input,.maya-upload select{display:block;width:100%;padding:9px;margin-top:5px}.maya-connected .draft>.maya-body{margin:18px 0}
