/* ===== ตู้กลาง v2 · ธีม "ป้ายห้อยราคา" =====
   theme-factory: พื้นเทาเย็น · การ์ดขาว · น้ำเงินหมึก · เหลืองป้ายราคา
   vertical-site-conventions (ecommerce): งานหลักบนสุด · แถบหมวดเห็นทันที · แถบดีล · แถบความน่าเชื่อถือ
   design-standards / accessibility: ปุ่ม ≥44px · ช่องกรอก 16px บนมือถือ · ข้อความผ่าน 4.5:1 */
:root{
  --p-bg:#F4F5F7; --p-surface:#EBEDF1; --p-ink:#16213A; --p-muted:#5A6275;
  --p-accent:#FFD447; --p-accent-ink:#16213A; --p-action:#16213A; --p-action-ink:#FFFFFF;
  --p-inv-bg:#16213A; --p-inv-surface:#24304C; --p-inv-ink:#FFFFFF; --p-inv-muted:#C9CFDB;
  --font-display:"Bai Jamjuree","IBM Plex Sans Thai",system-ui,sans-serif;
  --font-text:"IBM Plex Sans Thai",system-ui,sans-serif;
  --font-num:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --line-c:#DADDE3; --mint-soft:#FFF8DC; --card:#FFFFFF;
  --ink:#16213A; --fg:#16213A; --line:#DADDE3; --border:#DADDE3; --muted:#5A6275; --mutedbg:#EBEDF1; --mustard:#FFD447;
  --ok-bg:#E6F4EC; --ok-fg:#1F6B45; --bad-bg:#FDECE7; --bad-fg:#A1361E; --warn-bg:#FFF4D6; --warn-fg:#8A5A00;
  --r:16px;
}
body{background:var(--p-bg);color:var(--p-ink)}
h1,h2,h3,.disp,.serif,.num{font-family:var(--font-display);font-weight:600;font-stretch:100%;letter-spacing:-.01em}
.mono,.facts b,.meas b,.todo b,.stats3 b,.cnt,.otabs span{font-family:var(--font-num);font-stretch:100%;font-weight:500}
input,select,textarea{border:1.5px solid #B9BFCB;font-size:16px}
input:focus,select:focus,textarea:focus{border-color:var(--p-ink);outline:3px solid var(--p-accent)}
button:focus-visible,a:focus-visible{outline:3px solid var(--p-ink);outline-offset:3px}

/* ปุ่ม: มุม 12px ไม่ใช่แคปซูล */
.btn{border-radius:12px;font-weight:600}
.btn.green,.btn.mustard{background:var(--p-accent);border-color:var(--p-accent);color:var(--p-ink)}
.small-btn{border-radius:10px}
.chip{border-radius:10px;background:var(--card)}
.filters select{border-radius:10px}

/* แถบบนสุด + หัวเว็บ */
.ustrip{background:var(--p-inv-bg);color:#fff;font-size:13.5px}
.ustrip .wrap{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 28px;padding-top:7px;padding-bottom:7px}
header.main{background:#fff}
.seal{border-radius:10px}
.logo b{font-family:var(--font-display);font-weight:700;font-stretch:100%;font-size:24px}
.search{background:#fff;border:2px solid var(--p-ink);border-radius:12px}
.search:focus-within{background:#fff;box-shadow:0 0 0 3px var(--p-accent)}
.fitchip{font-family:var(--font-num);font-size:13px;background:var(--mint-soft);border:1px dashed #E2C04A;border-radius:99px;padding:6px 12px;text-decoration:none;white-space:nowrap}

/* ป้ายห้อยราคา */
.tag{display:inline-flex;align-items:center;gap:7px;background:var(--p-accent);color:var(--p-ink);font-family:var(--font-num);font-stretch:100%;font-weight:500;font-size:17px;line-height:1.35;border-radius:4px 9px 9px 4px;padding:2px 11px 2px 8px}
.tag::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1.5px var(--p-ink);flex:none}
.pinfo .tag{font-size:32px;padding:6px 18px 6px 12px;border-radius:6px 14px 14px 6px}
.pinfo .tag::before{width:10px;height:10px}

/* สติกเกอร์เกรด */
.stamp{border-radius:6px;font-weight:600}
.g-A{background:var(--ok-bg);color:var(--ok-fg);box-shadow:inset 0 0 0 1.5px var(--ok-fg)}
.g-B{background:var(--warn-bg);color:var(--warn-fg);box-shadow:inset 0 0 0 1.5px var(--warn-fg)}
.g-C{background:var(--p-ink);color:#fff}

/* การ์ดสินค้า */
.pc .frame{background:#E7E9EE;border-radius:14px}
.pc .body{gap:4px}
.mb{font-size:12.5px;color:var(--p-muted)}
.mb.ok{color:var(--ok-fg);font-weight:600}
.grid{gap:32px 18px}
.panel{background:var(--card);border-color:var(--line-c)}
.shopc{background:var(--card);border:1px solid var(--line-c)}
.shopc:hover{background:#fff;border-color:var(--p-ink)}
.av{background:var(--p-ink)}

/* หน้าแรก: hero = งานหลัก (หาตัวที่ใส่ได้) + ดีล */
.hero2{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;padding-top:24px;padding-bottom:8px}
.fitcard{background:var(--card);border:1px solid var(--line-c);border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:16px}
.fitcard .eyebrow{font-size:13.5px;font-weight:500}
.fitcard h1{margin:0;font-size:clamp(30px,3.3vw,42px);font-weight:700;line-height:1.2;text-wrap:balance}
.fitcard .lede{margin:0;color:#3A4458;max-width:46ch}
.fitrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:440px}
.fitrow label{display:flex;flex-direction:column;gap:4px;font-size:13.5px;font-weight:500}
.fitrow input{font-family:var(--font-num);font-size:18px;min-height:50px}
.fitcard .facts{margin-top:4px;padding-top:14px;border-top:1px dashed var(--line-c);gap:22px;font-size:13.5px}
.fitcard .facts b{font-size:22px}
.deals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(150px,1fr));gap:16px}
.deal{border-radius:18px;padding:20px;text-decoration:none;display:flex;flex-direction:column;justify-content:space-between;gap:8px;transition:transform .2s var(--ease)}
.deal:hover{transform:translateY(-2px)}
.deal small{font-size:13.5px;font-weight:500}
.deal b{font-family:var(--font-display);font-weight:700;font-size:clamp(26px,2.6vw,34px);line-height:1.12}
.deal span{font-size:14px}
.deal.yellow{background:var(--p-accent);color:var(--p-ink)}
.deal.ink{background:var(--p-inv-bg);color:#fff}
.deal.ink small,.deal.ink span{color:var(--p-inv-muted)}
.deal.photo{grid-row:span 2;position:relative;padding:0;overflow:hidden;background:#DADDE3;min-height:300px}
.deal.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.deal.photo .cap{position:absolute;left:14px;right:14px;bottom:14px;background:#fff;color:var(--p-ink);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column}
.deal.photo .cap b{font-size:18px;font-weight:600}
.catband{display:flex;flex-direction:column;gap:12px;padding-top:24px}
.catband h2{margin:0;font-size:22px}
.cats{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.cats a{display:flex;flex-direction:column;gap:6px;padding:14px;min-height:104px;background:var(--card);border:1px solid var(--line-c);border-radius:14px;text-decoration:none;color:var(--p-ink);transition:border-color .18s,transform .18s}
.cats a:hover{border-color:var(--p-ink);transform:translateY(-1px)}
.cats b{font-weight:600;font-size:15px;line-height:1.3}
.cats span{font-size:12.5px;color:var(--p-muted);line-height:1.35}
.tband{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line-c);border:1px solid var(--line-c);border-radius:16px;overflow:hidden;margin-top:24px;padding:0}
.tband > div{background:var(--card);padding:16px 18px;display:flex;gap:12px;align-items:flex-start;font-size:13.5px;color:var(--p-muted);line-height:1.5}
.tband i{flex:none;width:34px;height:34px;border-radius:8px;background:var(--p-bg);display:flex;align-items:center;justify-content:center;font-family:var(--font-num);font-style:normal;font-size:14px;color:var(--p-ink)}
.tband b{display:block;color:var(--p-ink);font-size:15px;font-weight:600}
section.s.rs{padding:36px 0 4px}
.fitbox{background:var(--mint-soft);border:1px dashed #E2C04A}
.sellband{background:var(--p-accent);border-radius:22px}

/* หน้าสินค้า */
.grade{background:var(--card);color:var(--p-ink);border:1px solid var(--line-c)}
.grade span[style*="cfcfcf"]{color:var(--p-muted)!important}
.gl{background:var(--ok-bg);color:var(--ok-fg);font-family:var(--font-num)}
.meas div{background:var(--p-bg)}
.tape{position:relative;height:30px;border-radius:6px;background-color:#FFF8DC;border:1.5px solid #E2C04A;background-image:repeating-linear-gradient(90deg,var(--p-ink) 0 1px,transparent 1px 10px);background-size:100% 8px;background-repeat:repeat-x}
.tape .rng{position:absolute;top:0;bottom:0;background:rgba(31,107,69,.22);border-left:2px solid var(--ok-fg);border-right:2px solid var(--ok-fg)}
.tape .me{position:absolute;top:-6px;bottom:-6px;width:3px;margin-left:-1.5px;background:var(--p-ink);border-radius:2px}
.tape-sc{display:flex;justify-content:space-between;font-family:var(--font-num);font-size:12px;color:var(--p-muted);margin-top:4px}
.fitmsg{padding:10px 12px;border-radius:10px;background:var(--p-bg);color:#3A4458;font-size:14.5px;font-weight:500}
.fitmsg.ok{background:var(--ok-bg);color:var(--ok-fg)}
.fitmsg.no{background:var(--bad-bg);color:var(--bad-fg)}
input.mini{width:84px;min-height:42px;font-family:var(--font-num);padding:0 10px}
.buybox{padding:18px;display:flex;flex-direction:column;gap:12px}
.buybox .total{display:grid;grid-template-columns:1fr auto;gap:4px 12px;font-size:15px}
.buybox .total b{padding-top:6px;border-top:1px dashed var(--line-c)}
.buybox .btn{width:100%}
.assure{margin:0;padding:0 0 0 18px;display:flex;flex-direction:column;gap:4px;font-size:13.5px;color:#3A4458}

/* หน้าร้าน */
.store-cover{display:grid;height:220px;overflow:hidden;border-radius:0 0 18px 18px;background:var(--p-inv-bg);margin:0 -32px}
.store-cover img{width:100%;height:100%;object-fit:cover;opacity:.88}
.store.lift{padding-top:0;margin-top:-56px;position:relative}
.store-h{background:var(--card);border:1px solid var(--line-c);border-radius:20px}

/* ออเดอร์: แท็บ + ไทม์ไลน์ */
.otabs{display:flex;gap:4px;border-bottom:1px solid var(--line-c);overflow-x:auto}
.otabs button{min-height:46px;padding:0 16px;border:0;border-bottom:3px solid transparent;background:none;color:var(--p-muted);white-space:nowrap}
.otabs button.on{border-bottom-color:var(--p-ink);color:var(--p-ink);font-weight:600}
.otabs span{font-size:12.5px;background:var(--card);border:1px solid var(--line-c);border-radius:99px;padding:0 7px;margin-left:4px}
.order.tlw{padding:0;display:flex;flex-wrap:wrap;overflow:hidden;background:var(--card)}
.order.tlw .omain{flex:999 1 440px;min-width:0;padding:20px;display:flex;flex-direction:column;gap:14px}
.tl{flex:1 1 250px;background:#F9FAFB;border-left:1px solid var(--line-c);padding:20px;font-size:14px}
.tl > b{display:block;margin-bottom:10px}
.tl ol{margin:0;padding:0;list-style:none}
.tl li{position:relative;padding:0 0 14px 24px;display:flex;flex-direction:column}
.tl li::before{content:"";position:absolute;left:3px;top:7px;width:11px;height:11px;border-radius:50%;background:var(--p-ink);box-shadow:0 0 0 3px #F9FAFB}
.tl li::after{content:"";position:absolute;left:8px;top:20px;bottom:0;width:2px;background:var(--line-c)}
.tl li:last-child::after{display:none}
.tl li.t-cancelled::before{background:var(--bad-fg)}
.tl li.t-shipped::before,.tl li.t-completed::before{background:var(--ok-fg)}
.tl li.t-wait::before{background:#E2C04A}
.tl small{color:var(--p-muted);font-size:12.5px}
.reason{padding:10px 14px;border-radius:10px;background:var(--bad-bg);color:#8A2E18;font-size:14.5px}
.todo div{background:var(--card);border:1px solid var(--line-c)}

@media (max-width:1100px){.cats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:900px){.hero2{grid-template-columns:1fr}.tband{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .store-cover{margin:0 -16px;height:150px}
  .fitcard{padding:20px}
  .deals{grid-template-rows:auto auto}
  .deal.photo{min-height:220px;grid-row:auto;grid-column:span 2}
  .tband{grid-template-columns:1fr}
  .tl{border-left:0;border-top:1px solid var(--line-c)}
  .ustrip .wrap{justify-content:flex-start;flex-wrap:nowrap;overflow:hidden;white-space:nowrap}
}
.order.tlw{flex-direction:row;gap:0}
.pay .tag,.order .tag{align-self:flex-start}
.tband{margin-top:24px}

/* กล่องยืนยัน */
.cdlg-wrap{position:fixed;inset:0;z-index:80;background:rgba(22,33,58,.45);display:flex;align-items:center;justify-content:center;padding:20px}
.cdlg{background:#fff;color:var(--p-ink);border-radius:18px;padding:24px;width:min(460px,100%);display:flex;flex-direction:column;gap:14px;box-shadow:0 24px 60px rgba(22,33,58,.25)}
.cdlg h2{margin:0;font-size:22px;line-height:1.3}
.cdlg ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:15px;color:#3A4458}
.cdlg-act{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:6px}
.cdlg-act .btn{min-height:46px}
.btn.danger{background:#A1361E;border-color:#A1361E;color:#fff}
@media (prefers-reduced-motion:no-preference){.cdlg{animation:enter .2s var(--ease) both}}

/* ปุ่มที่ชอบ: เห็นชัดขึ้น */
.fav{width:46px;height:46px;background:#fff;box-shadow:0 0 0 1.5px rgba(22,33,58,.18),0 4px 12px rgba(22,33,58,.18)}
.fav svg{width:22px;height:22px}
.fav.on{background:#FFECEF;box-shadow:0 0 0 1.5px #E0475B,0 4px 12px rgba(224,71,91,.25)}
.buy2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.favbig{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.favbig.on{background:#FFECEF;border-color:#E0475B;color:#A1263A}
.cnt.zero{background:var(--p-surface);color:var(--p-muted)}
@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.25)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:no-preference){.fav.on svg,.favbig.on svg{animation:pop .3s var(--ease)}}

/* รูปตกแต่ง (mood) */
.sellband{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.85fr);padding:40px;gap:32px;align-items:stretch}
.sellband .sell-txt{display:flex;flex-direction:column;justify-content:center}
.sellband ol{align-self:center}
.sell-img{width:100%;height:100%;min-height:320px;object-fit:cover;border-radius:16px}
.authwrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:stretch;max-width:1000px;margin:32px auto 0}
.authwrap .authbox{margin:0;max-width:none;align-self:center}
.auth-img{width:100%;height:100%;max-height:620px;object-fit:cover;border-radius:20px}
.deal.photo img{object-position:center 30%}
@media (max-width:900px){
  .sellband{grid-template-columns:1fr;padding:28px}
  .sell-img{min-height:0;height:220px}
  .authwrap{grid-template-columns:1fr}
  .auth-img{display:none}
}

/* ---------- ลงขาย: เช็กลิสต์ + ตัวอย่างการ์ด ---------- */
.addgrid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}
.addgrid>form{grid-column:1;grid-row:1}
.addside{grid-column:2;grid-row:1;position:sticky;top:84px;display:flex;flex-direction:column;gap:14px}
.addprog{padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.ap-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.ap-h b{font-family:'Bai Jamjuree',sans-serif;font-size:17px}
.ap-h span{font-size:13px;color:var(--p-muted)}
.ap-bar{height:8px;border-radius:99px;background:#E6E8EE;overflow:hidden}
.ap-bar i{display:block;height:100%;background:#16213A;border-radius:99px;transition:width .25s}
.ap-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:14.5px}
.ap-list li.ap-ok{color:#1E7A4A;padding:6px 8px}
.ap-list button{all:unset;cursor:pointer;display:block;width:100%;box-sizing:border-box;padding:6px 8px;border-radius:8px;min-height:24px}
.ap-list button:hover,.ap-list button:focus-visible{background:#FFF6D6;outline:2px solid #16213A}
.ap-list li.ap-need button{color:#B42318;font-weight:500}
.ap-list li.ap-need span{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#B42318;color:#fff;font-size:12px}
.ap-list li.ap-soft button{color:var(--p-muted)}
.ap-list small{font-size:12px}
.addprev{padding:14px 16px}
.addprev summary{cursor:pointer;font-weight:500;font-size:14.5px;min-height:28px}
.addprev .prevcard{margin-top:12px;pointer-events:none}
@media (max-width:900px){
  .addgrid{grid-template-columns:1fr}
  .addgrid>form{grid-row:2;padding-bottom:96px}
  .addside{grid-column:1;grid-row:1;position:static;gap:8px}
  /* มือถือ: แถบความพร้อมลอยเหนือเมนูล่าง เห็นตลอดระหว่างกรอก */
  .addprog{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:29;padding:10px 12px;gap:6px;box-shadow:0 8px 24px rgba(22,33,58,.18)}
  .ap-h b{font-size:15px} .ap-h span{font-size:12.5px}
  .ap-bar{height:6px}
  .ap-list{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;font-size:13.5px;scrollbar-width:none}
  .ap-list li.ap-ok{display:none}
  .ap-list li{flex:none}
  .ap-list button{width:auto;padding:4px 10px;border:1px solid #E2E5EC;border-radius:99px;white-space:nowrap}
}

@media (max-width:760px){ .addprog{bottom:calc(66px + env(safe-area-inset-bottom))} }

/* ---------- confirm dialog list ---------- */
.cdlg-ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}

/* ---------- empty states ---------- */
.empty2{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center;background:#fff;border:1px solid #E2E5EC;border-radius:18px;padding:22px;margin-top:8px}
.empty2 img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.empty2 h2{margin:0 0 6px;font-family:'Bai Jamjuree',sans-serif;font-size:22px}
.empty2 p{margin:0 0 16px;color:var(--p-muted);max-width:46ch;line-height:1.6}
@media (max-width:640px){ .empty2{grid-template-columns:1fr;text-align:center;gap:16px} .empty2 img{aspect-ratio:16/9} .empty2 p{margin-inline:auto} }


/* ---------- ความน่าเชื่อถือร้าน / รีวิว / แจ้งปัญหา ---------- */
.trust{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:8px;font-size:13.5px}
.trust>span{display:inline-flex;gap:5px;align-items:center}
.tr-sold{color:var(--p-muted)} .tr-sold b{color:#16213A}
.tr-new{background:#FFD447;color:#16213A;font-weight:600;padding:2px 9px;border-radius:99px;font-size:12.5px;cursor:help}
.stars{display:inline-flex;gap:1px;line-height:1;letter-spacing:0}
.stars .sx{color:#D5D9E1;background:none;width:auto;height:auto;border-radius:0;display:inline}
.stars .sx.on{color:#E9A319}
.stars .sx.half{background:linear-gradient(90deg,#E9A319 50%,#D5D9E1 50%);-webkit-background-clip:text;background-clip:text;color:transparent}
.rvsec{margin-top:36px;display:flex;flex-direction:column;gap:14px}
.rv-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px}
.rv-top h2{margin:0;font-family:'Bai Jamjuree',sans-serif;font-size:24px}
.rvlist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.rv{background:#fff;border:1px solid #E2E5EC;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.rv-h{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:14px}
.rv-h .small-btn{margin-left:auto}
.rv p{margin:0;line-height:1.6}
.rv-reply{background:#F4F5F7;border-radius:10px;padding:8px 12px;font-size:14px}
.rv-form{display:flex;gap:8px;margin-top:4px}
.rv-form input{flex:1;min-height:40px;padding:6px 12px;border:1px solid #C9CDD6;border-radius:10px;font:inherit;font-size:14px}
.rvbox{border-top:1px dashed #E2E5EC;padding-top:12px;display:flex;flex-direction:column;gap:8px}
.rv-done{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:14px}
.rv-new fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.rv-new legend{font-weight:600;padding:0;margin-bottom:4px}
.rv-new textarea{width:100%;box-sizing:border-box;border:1px solid #C9CDD6;border-radius:10px;padding:8px 12px;font:inherit;font-size:14px}
.rv-new .small-btn{align-self:flex-start}
.rate-in{display:inline-flex;gap:2px}
.rate-in input{position:absolute;opacity:0;width:1px;height:1px}
.rate-in label{font-size:30px;line-height:1;color:#D5D9E1;cursor:pointer;padding:2px;min-width:36px;min-height:36px;display:grid;place-items:center;border-radius:8px}
.rate-in input:focus-visible+label{outline:2px solid #16213A}
.rate-in:has(input:nth-of-type(1):checked) label:nth-of-type(-n+1),.rate-in:has(label:nth-of-type(1):hover) label:nth-of-type(-n+1){color:#E9A319}
.rate-in:has(input:nth-of-type(2):checked) label:nth-of-type(-n+2),.rate-in:has(label:nth-of-type(2):hover) label:nth-of-type(-n+2){color:#E9A319}
.rate-in:has(input:nth-of-type(3):checked) label:nth-of-type(-n+3),.rate-in:has(label:nth-of-type(3):hover) label:nth-of-type(-n+3){color:#E9A319}
.rate-in:has(input:nth-of-type(4):checked) label:nth-of-type(-n+4),.rate-in:has(label:nth-of-type(4):hover) label:nth-of-type(-n+4){color:#E9A319}
.rate-in:has(input:nth-of-type(5):checked) label:nth-of-type(-n+5),.rate-in:has(label:nth-of-type(5):hover) label:nth-of-type(-n+5){color:#E9A319}
.linkbtn{all:unset;cursor:pointer;text-decoration:underline;color:var(--p-muted);min-height:28px;display:inline-flex;align-items:center}
.linkbtn:hover{color:#16213A}.linkbtn:focus-visible{outline:2px solid #16213A;border-radius:4px}
.tipnew{background:#FFF6D6;border:1px solid #F2D77A;border-radius:12px;padding:10px 14px;font-size:14px;line-height:1.6}
.rp{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14.5px}
.rp label{display:flex;gap:8px;align-items:flex-start;padding:6px 8px;border:1px solid #E2E5EC;border-radius:10px;cursor:pointer}
.rp label:has(input:checked){border-color:#16213A;background:#FFF6D6}
.cdlg textarea{width:100%;box-sizing:border-box;border:1px solid #C9CDD6;border-radius:10px;padding:8px 12px;font:inherit;font-size:14px}
.ckbox{border:1px solid #E2E5EC;border-radius:12px;padding:10px 14px;background:#fff}
.ckbox summary{cursor:pointer;font-weight:500;font-size:14.5px;min-height:28px}
.ck-ok{color:#1E7A4A}.ck-no{color:#B42318}
.ckform{display:flex;flex-direction:column;gap:8px;margin-top:10px;font-size:14px}
.ckform label{display:flex;gap:8px;align-items:flex-start;line-height:1.5}
.ckform input[type=checkbox]{width:18px;height:18px;margin-top:2px;flex:none}
.ckform textarea{width:100%;box-sizing:border-box;border:1px solid #C9CDD6;border-radius:10px;padding:8px 12px;font:inherit}

.rp input[type=radio]{width:18px;height:18px;min-height:0;margin:3px 0 0;flex:none;padding:0}
.rp label{justify-content:flex-start;text-align:left}
.trust{border:0!important;padding:0!important;width:auto!important}
.trust>span{white-space:nowrap;border:0!important;padding:0;font-size:13.5px!important;flex-direction:row!important}
.trust b{font-size:13.5px!important;font-weight:600!important;font-family:inherit!important;display:inline!important}
.trust .tr-new{padding:2px 9px!important;font-size:12.5px!important}
.trust span{white-space:nowrap}
