@font-face{font-family:DM;src:url('/assets/dm-sans.woff2')}@font-face{font-family:Cormorant;src:url('/assets/cormorant.woff2')}*{box-sizing:border-box}body{margin:0;background:#f7f8f3;color:#263e35;font:14px/1.55 DM,Arial,sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2{font-family:Cormorant,Georgia,serif;font-weight:500;line-height:1.1}h1{font-size:49px;letter-spacing:-1px}h2{font-size:32px}h3{font-size:17px}small{color:#6b796f}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ad783b;outline-offset:3px}.skip{position:fixed;top:-200px;z-index:20;background:white;padding:10px}.skip:focus{top:0}.app{display:grid;grid-template-columns:235px 1fr;min-height:100vh}aside{background:#173f35;color:#edf4e8;padding:37px 22px;display:flex;flex-direction:column}.brand{display:block;margin:0 9px 48px}.brand img{width:169px;filter:brightness(0) invert(1)}.side-label,.eyebrow,.breadcrumb{font-size:10px;font-weight:700;letter-spacing:1.8px}.side-label{color:#a3b6a8;padding:0 11px;margin-bottom:15px}nav{display:grid;gap:7px}nav button{text-align:left;display:flex;gap:13px;padding:13px 12px;border-radius:6px;font-size:15px;color:#cedbd2}nav button.active{background:#dcedce;color:#173f35}nav button span{font-size:13px}.sidebar-bottom{margin-top:auto;padding-top:60px}.sidebar-bottom p{font:26px/1.2 Cormorant,Georgia,serif;color:#d6e4d4;margin:0 10px 23px}.soft{border:1px solid #507064;padding:12px;border-radius:5px;display:flex;justify-content:space-between;width:100%;font-size:12px}.sidebar-bottom .text-button{color:#b6c9b9;font-size:11px;margin-top:14px}.content{min-width:0}header{height:89px;border-bottom:1px solid #dde2d8;padding:0 45px;display:flex;justify-content:space-between;align-items:center;gap:15px}header>div{display:flex;gap:17px;align-items:center}.breadcrumb{color:#78867b}.avatar{background:#e5ebdd;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;font-size:12px}main{max-width:1300px;margin:auto;padding:39px 45px 60px;min-height:75vh}.eyebrow{color:#75846d;margin-bottom:10px}.intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.intro p{margin-top:12px;color:#6b796f;max-width:580px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:12px 18px;border-radius:5px;font-size:12px;font-weight:700;min-height:44px}.primary{background:#173f35;color:white}.primary:hover{background:#2b5748}.secondary{background:white;border:1px solid #cbd6c7}.danger{border:1px solid #dfc7b9;color:#99482b}.text-button{font-size:12px;text-decoration:underline;text-underline-offset:4px}.hero-card{border:1px solid #d4dfca;border-radius:10px;background:#edf3e7;padding:28px;display:flex;gap:30px;justify-content:space-between;align-items:center;margin-bottom:25px}.hero-card p{margin:8px 0;color:#677665;max-width:510px}.step-line{display:flex;gap:18px;font-size:11px;color:#667762;margin-top:17px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card,.panel{background:#fff;border:1px solid #dfe5da;border-radius:9px;overflow:hidden}.card-cover{height:136px;display:flex;align-items:end;padding:19px;background:linear-gradient(115deg,#dce7d5,#f4eddb);position:relative}.card-cover .symbol{font:58px Cormorant,serif;opacity:.5}.card-cover .badge{position:absolute;top:15px;right:15px}.card-body{padding:23px}.card-body p{color:#6d7c6f;font-size:12px;margin:6px 0 19px}.card-body .actions{margin-top:20px}.badge{display:inline-block;padding:5px 10px;border-radius:30px;font-size:10px;font-weight:700;background:#e8f1e1;color:#3a6037}.badge.pending{background:#fbefd5;color:#8a6927}.badge.draft{background:#eef0ea;color:#6f796a}.grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.panel{padding:25px;margin-bottom:22px}.panel h3{margin-bottom:17px}.panel p{color:#67776a;font-size:12px}.panel .primary{margin-top:18px}label{display:grid;gap:7px;font-size:12px;font-weight:600;margin-bottom:17px}input,textarea,select{width:100%;border:1px solid #ced8c9;border-radius:5px;padding:11px 12px;background:#fdfefa;color:#263e35}textarea{resize:vertical;min-height:100px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.help{font-weight:400;font-size:11px;color:#78826f}.check{display:flex;align-items:start;gap:10px;font-weight:400}.check input{width:auto;margin-top:5px;flex-shrink:0}.info{background:#f3f6ed;border-left:3px solid #b9caa1;border-radius:3px;padding:15px;font-size:12px;line-height:1.7}.save-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-top:12px}.save-bar small{max-width:420px}.upload{border:1px dashed #b5c5aa;padding:20px;text-align:center;border-radius:7px}.upload input{border:0;background:none;font-size:11px}.photos{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.photo{width:100px;position:relative}.photo img{width:100px;height:80px;object-fit:cover;border-radius:5px}.photo button{position:absolute;right:3px;top:3px;background:white;border-radius:50%;width:23px;height:23px}.empty-photo{padding:26px;color:#829078;background:#eef1e8;border-radius:5px;font-size:12px}.tabs{display:flex;gap:9px;margin-bottom:20px}.tabs button{padding:9px 15px;border:1px solid #ced8c7;border-radius:30px;font-size:12px}.tabs button.active{background:#173f35;color:white}.catalogue-item{padding:18px 0;border-bottom:1px solid #e6eadd;display:flex;align-items:start;gap:15px}.catalogue-item:last-child{border:0}.catalogue-item .item-text{flex:1;min-width:0}.catalogue-item h3{font-size:14px;margin:0 0 4px}.catalogue-item p{font-size:12px}.catalogue-item img{width:65px;height:65px;object-fit:cover;border-radius:5px}.catalogue-item .price{white-space:nowrap;font-weight:600;font-size:13px}.item-actions{display:flex;gap:10px;margin-top:7px}.item-actions button{font-size:11px;text-decoration:underline}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.preview{max-width:800px;margin:auto}.preview-cover{background:linear-gradient(120deg,#dce7d5,#eae7d6);height:210px;display:grid;place-items:center;color:#6b7b62}.preview-cover img{width:100%;height:100%;object-fit:cover}.preview-body{padding:30px}.preview-body h1{font-size:42px;margin:13px 0}.preview-body p{white-space:pre-wrap;color:#687767;font-size:13px}.preview-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:25px 0;padding:20px 0;border-block:1px solid #e2e7dc;font-size:12px}.timeline{border-left:1px solid #ced9c3;padding-left:23px;margin-left:7px}.event{position:relative;padding:0 0 25px}.event:before{content:'';position:absolute;left:-29px;top:6px;width:10px;height:10px;border-radius:50%;background:#99b78d;border:2px solid white}.event p{font-size:12px;margin:4px 0}.event small{font-size:10px}.review-card{margin-bottom:18px}.review-card .section-head{margin:0 0 14px}.diff{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:12px;padding:13px;background:#f5f7f0;border-radius:5px;margin:10px 0}.diff strong{display:block;font-size:10px;color:#76866d;margin-bottom:4px}.error{color:#96492e;font-size:12px;min-height:20px}.success{color:#3d6736}footer{padding:20px 45px;border-top:1px solid #e0e5da;font-size:10px;color:#7b8775;display:flex;justify-content:space-between;gap:15px}dialog{padding:32px;border:1px solid #d8dfd1;border-radius:11px;width:min(620px,calc(100% - 30px));max-height:90vh;color:#263e35}dialog::backdrop{background:#122b2370}.close{position:absolute;top:10px;right:13px;font-size:24px}.modal-intro{margin:12px 0 25px;color:#72806d;font-size:13px}dialog h2{margin-right:15px}.result{padding:15px;border:1px solid #d9e3cf;border-radius:7px;margin:10px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.result small{display:block}.result button{white-space:nowrap}.plan-step{padding:18px 0;border-bottom:1px solid #e2e7dc}.plan-step h3{margin-bottom:8px}.plan-step p{font-size:12px;color:#687767}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 20px;color:white;background:#173f35;border-radius:7px;z-index:30;display:none;max-width:90vw;font-size:12px}#toast.show{display:block}[hidden]{display:none!important}.mobile-select{margin-bottom:20px}.small-title{font-size:11px;letter-spacing:1px;color:#7a8771;margin-top:22px}.count{font-family:DM,Arial,sans-serif;font-size:11px;background:#e9efdf;padding:5px 8px;border-radius:20px;margin-left:7px}.link-preview{overflow-wrap:anywhere}.notice{font-size:12px;color:#7b806d;margin:13px 0}
@media(min-width:1500px){main{padding-top:50px}}@media(max-width:1050px){.app{grid-template-columns:205px 1fr}header{padding:0 28px}main{padding:32px 28px}.grid{grid-template-columns:1fr}.grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:15px}.intro{align-items:start;flex-direction:column}.hero-card{gap:15px}.hero-card h2{font-size:28px}h1{font-size:44px}}@media(max-width:700px){.app{display:block}aside{padding:17px;display:block}.brand{margin:0 0 17px}.brand img{width:140px}.side-label,.sidebar-bottom{display:none}nav{display:flex;overflow-x:auto;gap:7px;padding-bottom:3px}nav button{white-space:nowrap;padding:10px;gap:7px;flex-shrink:0}nav button span{font-size:11px}header{padding:0 18px;height:66px}.breadcrumb{font-size:8px;letter-spacing:1px}.avatar{display:none}header .text-button{font-size:10px}main{padding:27px 18px 38px}h1{font-size:39px}.intro p{font-size:12px}.hero-card{display:block;padding:22px}.hero-card>.actions{margin-top:17px}.step-line{gap:10px;flex-wrap:wrap}.cards{grid-template-columns:1fr}.form-row{grid-template-columns:1fr;gap:0}.panel{padding:20px}.grid>div:last-child{display:block}.primary,.secondary,.danger{padding:11px 14px}.preview-body{padding:22px}.preview-body h1{font-size:36px}.preview-cover{height:160px}.catalogue-item{flex-wrap:wrap}.catalogue-item .item-text{min-width:140px}.diff{grid-template-columns:1fr}.section-head{flex-wrap:wrap}footer{padding:18px;display:block}footer span{display:block;margin-top:6px}dialog{padding:27px 22px}.save-bar .actions{width:100%}.save-bar .primary{flex:1}.preview-meta{grid-template-columns:1fr}.result{align-items:start}.notice{font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.brand{display:flex;align-items:center;gap:10px;margin:0 0 48px}.brand img{width:48px}.brand span{font-size:12px;letter-spacing:1.3px;line-height:1.4}.brand small{display:block;color:#b8cdbb;font-size:7px;letter-spacing:1.1px;margin-top:5px}@media(max-width:700px){.brand{margin:0 0 17px}.brand img{width:42px}.brand span{font-size:11px}}

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.brand{text-decoration:none}.language-switch{margin:0}.language-switch select{width:auto;min-width:88px;padding:7px 10px;font-size:12px;background:#f7f8f3}html:lang(th) body,html:lang(th) h1,html:lang(th) h2,html:lang(th) .sidebar-bottom p{font-family:Tahoma,"Noto Sans Thai",Arial,sans-serif}html:lang(th) h1{font-size:37px;line-height:1.45;letter-spacing:0}html:lang(th) h2{font-size:25px;line-height:1.55}html:lang(th) .eyebrow,html:lang(th) .breadcrumb,html:lang(th) .side-label{letter-spacing:0;font-size:11px}html:lang(th) .sidebar-bottom p{font-size:21px;line-height:1.6}html:lang(th) .intro p{line-height:1.9}html:lang(th) .primary,html:lang(th) .secondary{line-height:1.6}@media(max-width:700px){header{height:auto;min-height:85px;flex-wrap:wrap;justify-content:space-between;padding:13px 18px;gap:9px}header>div{gap:10px}.language-switch select{font-size:11px;min-width:74px}html:lang(th) h1{font-size:29px}html:lang(th) h2{font-size:22px}html:lang(th) nav button span{font-size:11px}html:lang(th) .preview-body h1{font-size:27px}}

.dialog-language{position:absolute;right:50px;top:14px}dialog h2{margin-top:37px}

/* Shared built-in dropdowns: menus use application HTML on every device. */
select[hidden]{display:none!important}.built-in-dropdown{display:block;position:relative;min-width:0}.dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:11px 12px;border:1px solid #ced8c9;border-radius:5px;background:#fdfefa;color:#263e35;text-align:left;font-weight:400;font-size:14px;min-height:44px}.dropdown-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-arrow{font-size:18px;line-height:1;color:#708367;flex-shrink:0}.dropdown-trigger[aria-expanded=true]{border-color:#507454;background:#f3f7ed}.dropdown-trigger[aria-expanded=true] .dropdown-arrow{transform:rotate(180deg)}.dropdown-trigger:disabled{background:#f0f2ec;color:#83917d;opacity:.7}.dropdown-menu{display:none;position:fixed;inset:auto;margin:0;padding:6px;border:1px solid #cbd8c2;border-radius:8px;background:#fffefb;color:#263e35;box-shadow:0 12px 30px #173f3524;overflow-y:auto;overscroll-behavior:contain;z-index:1000;font:13px/1.5 DM,Tahoma,Arial,sans-serif;text-align:left;max-width:calc(100vw - 24px)}.dropdown-menu.is-open{display:block}.dropdown-menu::backdrop{background:transparent}.dropdown-option{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 12px;min-height:42px;border-radius:4px;cursor:pointer;font-weight:400;overflow-wrap:anywhere}.dropdown-option[aria-selected=true]{background:#edf4e7;color:#294e35;font-weight:600}.dropdown-option.is-active{background:#dcebcf;color:#173f35;outline:1px solid #b8cba8;outline-offset:-1px}.dropdown-option[aria-disabled=true]{opacity:.4;cursor:not-allowed}.dropdown-check{visibility:hidden;flex-shrink:0}.dropdown-option[aria-selected=true] .dropdown-check{visibility:visible}.language-switch .built-in-dropdown{width:100px}.language-switch .dropdown-trigger{min-height:36px;padding:7px 10px;font-size:12px;gap:10px;background:#f7f8f3}.language-switch .dropdown-arrow{font-size:16px}html:lang(th) .dropdown-menu{font-family:Tahoma,"Noto Sans Thai",Arial,sans-serif;font-size:13px;line-height:1.8}@media(max-width:700px){.language-switch .built-in-dropdown{width:90px}.dropdown-option{min-height:44px}.language-switch .dropdown-trigger{font-size:11px}}

.auth-switch{margin-top:16px;font-size:12px}.auth-switch button{text-decoration:underline}.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.code-input{font:600 26px/1 'Courier New',monospace;letter-spacing:8px;text-align:center}.live-link{font-size:12px}
.signed-out nav,.signed-out .side-label{display:none}
.auth-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);min-height:100vh;width:100%}.auth-story{background:#173f35;color:#edf4e8;padding:44px 52px;display:flex;flex-direction:column;justify-content:space-between;gap:40px}.auth-story .brand{margin:0}.auth-story h1{font-size:58px;line-height:1.02;margin:16px 0 22px;color:#f4f7ee}.auth-story p{color:#c9d8cc;max-width:440px;font-size:15px;line-height:1.7}.auth-story .eyebrow{color:#a9c39b}.auth-story small{color:#a3b6a8;font-size:11px}.auth-story small a{color:inherit}.auth-benefits{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:10px;font-size:13px}.auth-benefits li:before{content:'✓';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dcedce;color:#173f35;font-size:11px;margin-right:10px}.auth-main{display:grid;place-items:center;padding:40px 24px;outline:0}.auth-box{width:min(460px,100%)}.auth-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:26px}.auth-box h2{font-size:38px;margin-bottom:18px}.auth-box p{color:#5f6d63;font-size:13px;line-height:1.7;margin-bottom:14px}.auth-box .stack{display:grid}.auth-box .primary{width:100%;margin-top:6px}.auth-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px}.auth-switch{margin-top:22px!important;padding-top:18px;border-top:1px solid #e1e6dc}.auth-switch button{text-decoration:underline;font-weight:700}.hint{font-size:12px!important;color:#6b796f}.info.amber{background:#fbf3e2;border-left-color:#d9b46a;margin:8px 0}.auth-steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 22px}.auth-steps li{flex:1;padding:9px 10px;border-radius:6px;background:#eef1e8;color:#7a8771;font-size:11px;font-weight:700}.auth-steps li.active{background:#173f35;color:#fff}.auth-steps li.done{background:#dcedce;color:#2d5240}.auth-steps li span{margin-right:5px}
@media(max-width:860px){.auth-page{grid-template-columns:1fr}.auth-story{padding:22px 20px;gap:18px}.auth-story h1{font-size:34px;margin:8px 0 10px}.auth-story p{font-size:13px}.auth-benefits,.auth-story>small{display:none}.auth-main{padding:26px 18px 40px;place-items:start center}.auth-box h2{font-size:30px}}
html:lang(th) .auth-story h1{font-size:44px;line-height:1.35}@media(max-width:860px){html:lang(th) .auth-story h1{font-size:28px}}
