/* One Man Fleet: public member accounts. Copied from the accepted design Docs/design/members-2026-11-12/members.css
   (owner, 12 Nov 2569 "รับแบบ เริ่มโค้ด"); the mockup-only notes block is left out, and section 6 at the end adds only
   what the real pages need (fallback tokens for pages that do not load res.css, forms inside rows, the full page
   /signin, the local test double page). Served at /omf/members/members.css, linked by approved public fix 5. */

/* ---------- 0. fallback tokens: only where a page does not define them (the homepage prototype loads proto.css +
   top.css, not res.css). :where() has zero specificity, so every page's own :root / html[data-theme] values win. ---------- */
:where(:root){--red:#EC2C23;--navy:#1A1A2E;--navy2:#262643;--mist:#C9D0DE;--hh:88px;--gut:48px;--th:"Noto Sans Thai","Inter",sans-serif;--mono:"JetBrains Mono","Noto Sans Thai",monospace;--ease:cubic-bezier(.2,.7,.2,1)}
:where(html[data-theme=light]){--bg:#FFFFFF;--bg2:#F2F2F2;--ink:#231F20;--ink2:#666666;--line:#DFDFDF;--link:#B31C13}
:where(html[data-theme=dark]){--bg:#1A1A2E;--bg2:#262643;--ink:#FFFFFF;--ink2:#B9B9C9;--line:#3A3A55;--link:#FF6A60}

/* One Man Fleet: public member sign-in mockup (12 Nov 2026). Draft for the owner's review.
   Loaded AFTER the accepted res.css + p2.css. Uses only the accepted tokens (--red --navy --navy2 --mist --bg --bg2
   --ink --ink2 --line --link) and colours already on the accepted site (#FF6A60, #851914, #06C755 from p2.css .line-add).
   Sharp corners, hairlines, the red waterline, navy under the water: the same language as Entre / AI Use Case. */

/* ---------- 1. header entry (smallest addition to the accepted header) ---------- */
.tools .acct{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 8px;font:600 15px/1 var(--th);white-space:nowrap;position:relative;min-width:104px}
/* signed in: the ring keeps the same width as "เข้าสู่ระบบ", so nothing else on the bar moves; the ring sits at the start
   so the gap after the mode button matches the other icons (design critic, 12 พ.ย.) */
.tools .acct.acct-in{justify-content:flex-start}
.tools .acct svg{width:20px;height:20px;flex:none}
.tools .acct::after{content:"";position:absolute;left:8px;right:8px;bottom:4px;height:2px;background:var(--red);transform:scaleX(0);transform-origin:0 50%;transition:transform .35s var(--ease)}
.tools .acct:hover::after,.tools .acct[aria-expanded=true]::after{transform:scaleX(1)}
/* signed in: a ring with the first letter of the name the member chose */
.acct-ring{width:32px;height:32px;border-radius:50%;box-shadow:0 0 0 1.5px currentColor;display:inline-flex;align-items:center;justify-content:center;font:600 12.5px/1 var(--th);letter-spacing:0;flex:none}
.acct-dot{position:absolute;top:8px;left:30px;width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px var(--bg)}
.acct svg.acct-chev{width:14px;height:14px}
/* 1241-1299 px, launch mode only (4 menus still on the bar): the word hides and the icon stays. The full site (6 menus) moves its menu into the burger here instead (section 10), so the word stays */
@media (min-width:1241px) and (max-width:1299px){html:not(:has(.top .mainnav li:nth-child(6))) .tools .acct .acct-t,html:not(:has(.top .mainnav li:nth-child(6))) .tools .acct .acct-chev{display:none}html:not(:has(.top .mainnav li:nth-child(6))) .tools .acct,html:not(:has(.top .mainnav li:nth-child(6))) .tools .acct.acct-in{min-width:44px;justify-content:center;padding:0}}
@media (max-width:768px){.tools .acct .acct-t{display:none}.tools .acct,.tools .acct.acct-in{min-width:44px;justify-content:center;padding:0}.tools .acct .acct-chev{display:none}.tools .acct::after{left:6px;right:6px}}

/* the small menu under the ring: not a modal, Escape and a click outside close it */
.acct-pop{position:fixed;z-index:60;top:76px;right:var(--gut);width:320px;background:var(--bg);color:var(--ink);border-top:2px solid var(--red);box-shadow:0 0 0 1px var(--line),0 18px 40px rgba(13,13,20,.18);padding:20px 0 8px}
.acct-pop[hidden]{display:none}
.acct-pop .who{padding:0 22px 16px;border-bottom:1px solid var(--line)}
.acct-pop .who b{display:block;font-size:18px;line-height:1.4}
.acct-pop .who span{display:block;font-size:15px;line-height:1.5;color:var(--ink2);overflow-wrap:anywhere}
.acct-pop a,.acct-pop button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 22px;font-size:16.5px;font-weight:500;text-align:left}
.acct-pop a:hover,.acct-pop button:hover{background:var(--bg2)}
.acct-pop .out{border-top:1px solid var(--line);margin-top:4px}
@media (max-width:768px){.acct-pop{top:64px;right:0;left:0;width:auto}}

/* phone menu: one row above the newsletter block */
.drawer-acct{display:flex;align-items:center;gap:14px;margin-top:32px;min-height:60px;padding:0 22px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.72);font-size:19px;font-weight:700;color:#fff}
.drawer-acct svg{width:22px;height:22px;flex:none}
.drawer-acct .go{margin-left:auto}
.drawer-acct+.drawer-sub{margin-top:12px}
.drawer-acct small{display:block;font-size:14.5px;font-weight:500;color:var(--mist)}

/* ---------- 2. the sign-in sheet: navy in every colour mode, like the phone menu and the "not yet" box ---------- */
.msheet{position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;width:min(540px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:2px solid var(--red);padding:0;background:var(--navy);color:#fff;overflow-y:auto;overscroll-behavior:contain}
.msheet::backdrop{background:rgba(13,13,20,.62)}
.msheet :focus-visible{outline-color:#FF6A60}
.ms-pic{position:relative;height:200px;overflow:hidden}
.ms-pic img{width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.ms-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(26,26,46,.15),rgba(26,26,46,.35) 55%,var(--navy))}
.ms-top{position:absolute;z-index:2;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:14px 18px 0 40px}
.ms-top.flat{position:static;padding:14px 18px 0 40px}
.ms-ey{font:500 15px/1.3 var(--mono);color:#FF6A60;letter-spacing:.02em}
.ms-pic .ms-ey{color:#fff}
.ms-x{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:#fff}
.ms-x svg{width:22px;height:22px}
.ms-in{padding:8px 40px 40px}
.ms-pic+.ms-in{margin-top:-36px;position:relative;z-index:2}
.ms-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:16px;font-weight:600;color:#fff}
.ms-back svg{width:18px;height:18px}
.msheet h1,.msheet h2{font-size:clamp(28px,3vw,36px);line-height:1.3;font-weight:600;text-wrap:balance}
.ms-lead{margin-top:10px;font-size:18px;line-height:1.6;color:var(--mist)}
.ms-lead b{color:#fff;font-weight:600}
.ms-step{display:none}
.ms-step.on{display:block}

/* the three ways in */
.ways{display:grid;gap:12px;margin-top:28px}
.way{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:60px;padding:0 20px;font-size:18px;font-weight:700;line-height:1.3;text-align:left;width:100%;transition:box-shadow .25s,transform .25s var(--ease)}
.way svg{width:26px;height:26px;display:block}
.way:hover{transform:translateX(4px)}
.way-line{background:#06C755;color:#231F20}
.way-line:hover{box-shadow:inset -4px 0 0 #231F20}
.way-google{background:#fff;color:#231F20}
.way-google:hover{box-shadow:inset -4px 0 0 var(--red)}
.way-mail{box-shadow:inset 0 0 0 1px rgba(255,255,255,.72);color:#fff}
.way-mail:hover{box-shadow:inset 0 0 0 1px #fff,inset -4px 0 0 var(--red)}
.way .arr{font-weight:600}
.way .last{font-size:13.5px;font-weight:700;line-height:1;padding:6px 9px;background:#231F20;color:#fff;white-space:nowrap}
.way-mail .last,.way-google .last{background:var(--navy);color:#fff}

/* remember me: one choice, shown before any button is pressed, applies to every way */
.keep{display:flex;gap:12px;align-items:flex-start;margin-top:22px;font-size:16.5px;line-height:1.5;cursor:pointer}
.keep input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--red)}
.keep small{display:block;font-size:15px;color:var(--mist)}

.trust{margin-top:30px;padding-top:22px;border-top:1px solid rgba(255,255,255,.18);display:grid;gap:10px}
.trust li{display:flex;gap:12px;align-items:baseline;font-size:16px;line-height:1.5}
.trust li::before{content:"";width:7px;height:7px;background:var(--red);transform:rotate(45deg) translateY(-2px);flex:none}
.ms-fine{margin-top:22px;font-size:15px;line-height:1.6;color:var(--mist)}
.ms-fine a,.ms-link{color:#FF6A60;text-decoration:underline;text-underline-offset:4px;font-weight:600}
.ms-link{display:inline-flex;align-items:center;min-height:44px}
.ms-or{display:flex;align-items:center;gap:14px;margin:6px 0;font-size:15px;color:var(--mist)}
.ms-or::before,.ms-or::after{content:"";height:1px;flex:1;background:rgba(255,255,255,.18)}

/* fields: the same underlined fields as the newsletter form on navy */
.mform{display:grid;gap:22px;margin-top:26px}
.mf{display:block;position:relative}
/* one label style for every field: the label is a direct span, or the span inside a <label for> next to a password box */
.mf>span,.mf>label>span{display:block;font-size:16px;font-weight:600;line-height:1.4}
.mf input{width:100%;height:54px;background:transparent;border:0;border-bottom:2px solid #7A7A95;border-radius:0;font-size:19px;color:#fff;padding:0 52px 0 0}
.mf input:focus{border-bottom-color:#fff;outline:0}
.mf input:focus-visible{outline:2px solid #FF6A60;outline-offset:3px}
.mf input[aria-invalid=true]{border-bottom-color:#FF6A60}
.mf input[readonly]{border-bottom-style:dashed;color:var(--mist)}
.mf .eye{position:absolute;right:0;bottom:5px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:#fff}
.mf .eye svg{width:22px;height:22px}
.mf .eye .ic-hide{display:none}
.mf .eye[aria-pressed=true] .ic-show{display:none}
.mf .eye[aria-pressed=true] .ic-hide{display:block}
.mf-help{margin-top:8px;font-size:15px;line-height:1.5;color:var(--mist)}
.mf-err{margin-top:8px;font-size:15.5px;line-height:1.5;color:#FF6A60;font-weight:600}
.mrow{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap}
.mrow .keep{margin-top:0}
.rules{display:grid;gap:4px;margin-top:10px;font-size:15px;line-height:1.5;color:var(--mist)}
.rules li{display:flex;gap:10px;align-items:baseline}
.rules li::before{content:"";width:12px;height:2px;background:#7A7A95;flex:none;transform:translateY(-4px)}
.rules li.ok{color:#fff}
.rules li.ok::before{content:"✓";width:12px;height:auto;background:none;transform:none;color:#fff;font-weight:700}
.msheet .btn{width:100%;margin-top:6px}
.msheet .btn[disabled]{background:#3A3A55;color:var(--mist);cursor:not-allowed}
.btn-ghost{display:flex;justify-content:center;align-items:center;width:100%;min-height:56px;padding:0 24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.72);color:#fff;font-size:17px;font-weight:600}
.btn-ghost:hover{box-shadow:inset 0 0 0 1px #fff,inset 0 -3px 0 var(--red)}
.btn-ghost[aria-disabled=true]{color:var(--mist);box-shadow:inset 0 0 0 1px #7A7A95;cursor:not-allowed}
.btn-danger{display:flex;justify-content:center;align-items:center;width:100%;min-height:58px;padding:0 24px;background:#851914;color:#fff;font-size:18px;font-weight:700;box-shadow:inset 0 0 0 1px #EC2C23}
.btn-danger:hover{background:#6E140F}

/* a problem said plainly, in words and a line, never by colour alone */
.malert{margin-top:22px;padding:14px 16px 14px 18px;background:var(--navy2);box-shadow:inset 3px 0 0 #FF6A60;font-size:16.5px;line-height:1.55}
.malert b{display:block;font-size:17px}
.malert p+p{margin-top:6px;color:var(--mist);font-size:15.5px}
.minfo{margin-top:22px;padding:14px 16px 14px 18px;background:var(--navy2);box-shadow:inset 3px 0 0 #fff;font-size:16px;line-height:1.55}
.minfo b{display:block}
.mail-big{display:flex;gap:16px;align-items:center;margin-top:24px;padding:18px;background:var(--navy2)}
.mail-big svg{width:40px;height:40px;flex:none;color:#fff}
.mail-big b{display:block;font-size:18px;overflow-wrap:anywhere}
.mail-big span{display:block;font-size:15px;color:var(--mist)}
.msteps{counter-reset:s;display:grid;gap:12px;margin-top:22px}
.msteps li{counter-increment:s;display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;font-size:16.5px;line-height:1.55}
.msteps li::before{content:counter(s);width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1.5px var(--red);font:600 14px/1 var(--mono)}
.mkeep-list{display:grid;gap:0;margin-top:20px;border-top:1px solid rgba(255,255,255,.18)}
.mkeep-list div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.18);font-size:16px;line-height:1.55}
.mkeep-list dt{font-weight:700}
.mkeep-list dd{color:var(--mist)}
.ms-stack{display:grid;gap:12px;margin-top:22px}
@media (max-width:600px){
  .msheet{width:100vw;border-left:0;border-top:2px solid var(--red)}
  .ms-top,.ms-top.flat{padding:8px 8px 0 16px}
  .ms-in{padding:8px 16px 32px}
  .ms-pic{height:150px}
  .way{padding:0 16px;font-size:17px}
}

/* ---------- 3. focus pages opened from an email link (follow the colour mode) ---------- */
.mpage{padding:calc(var(--hh) + 64px) var(--gut) 96px;display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:72px;align-items:start;max-width:1440px}
.mpage-ey{display:flex;align-items:center;gap:12px;font:500 15px/1.3 var(--mono);color:var(--link)}
.mpage-ey::before{content:"";width:32px;height:2px;background:var(--red);flex:none}
.mpage h1{margin-top:18px;font-size:clamp(40px,5.4vw,80px);line-height:1.22;font-weight:600;letter-spacing:-.01em;text-wrap:balance}
.mpage .lead{margin-top:18px;max-width:30em;font-size:clamp(18px,1.6vw,22px);line-height:1.6}
.mpage .why{margin-top:28px;display:grid;gap:10px;max-width:34em}
.mpage .why li{display:flex;gap:12px;align-items:baseline;font-size:17px;line-height:1.55}
.mpage .why li::before{content:"";width:7px;height:7px;background:var(--red);transform:rotate(45deg) translateY(-2px);flex:none}
.mcard{border-top:2px solid var(--red);background:var(--bg2);padding:32px 36px 36px}
.mcard h2{font-size:24px;line-height:1.35;font-weight:600}
.mcard .mf>span,.mcard .mf>label>span{color:var(--ink)}
.mcard .mf input{border-bottom-color:var(--ink2);color:var(--ink)}
.mcard .mf input:focus{border-bottom-color:var(--ink)}
.mcard .mf input:focus-visible{outline-color:var(--link)}
.mcard .mf input[readonly]{color:var(--ink)}
.mcard .mf .eye{color:var(--ink)}
.mcard .mf-help,.mcard .rules{color:var(--ink)}
.mcard .rules li::before{background:var(--ink2)}
.mcard .rules li.ok{color:var(--ink);font-weight:600}
.mcard .rules li.ok::before{color:var(--ink);background:none}
.mcard .keep small{color:var(--ink2)}
.mcard .btn{width:100%}
.mcard .ms-link{color:var(--link)}
.mcard .minfo{background:var(--bg);box-shadow:inset 3px 0 0 var(--ink)}
.mcard .malert{background:var(--bg);box-shadow:inset 3px 0 0 var(--link)}
.mcard .malert p+p{color:var(--ink)}
.dead-ic{width:64px;height:64px;color:var(--red)}
@media (max-width:1000px){.mpage{grid-template-columns:minmax(0,1fr);gap:36px;padding-top:calc(var(--hh) + 40px)}}
@media (max-width:600px){.mcard{padding:24px 16px 28px;margin:0 calc(var(--gut)*-1)}}

/* ---------- 4. บัญชีของฉัน (follows the colour mode) ---------- */
.ma{padding:0 var(--gut) 96px;max-width:1240px}
.ma-hello{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 32px;padding:36px 0 32px;border-bottom:1px solid var(--line)}
.ma-hello .me{display:flex;align-items:center;gap:18px}
.ma-hello .big-ring{flex:none;width:64px;height:64px;border-radius:50%;box-shadow:0 0 0 2px var(--red);display:inline-flex;align-items:center;justify-content:center;font:600 22px/1 var(--th)}
.ma-hello h2{font-size:clamp(26px,2.6vw,34px);line-height:1.3;font-weight:600}
.ma-hello p{font-size:16px;color:var(--ink2)}
.ma-sec{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:24px 56px;padding:36px 0;border-bottom:1px solid var(--line)}
.ma-sec>header h3{font-size:21px;line-height:1.4;font-weight:600}
.ma-sec>header p{margin-top:8px;font-size:15.5px;line-height:1.6;color:var(--ink2);max-width:26em}
.ma-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.ma-row:first-child{border-top:0;padding-top:0}
.ma-row .ic{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:var(--bg2)}
.ma-row .ic svg{width:24px;height:24px}
.ma-row b{display:block;font-size:17.5px;line-height:1.4}
.ma-row span{display:block;font-size:15.5px;line-height:1.5;color:var(--ink2);overflow-wrap:anywhere}
.ma-row .ma-st{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-weight:600}
.ma-row .ma-st svg{width:16px;height:16px}
.ma-acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.mbtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid var(--ink);font-size:15.5px;font-weight:600;white-space:nowrap;transition:background-color .25s,color .25s}
.mbtn:hover{background:var(--ink);color:var(--bg)}
.mbtn-red{background:var(--red);border-color:var(--red);color:#fff;font-weight:700;font-size:16px}
.mbtn-red:hover{background:#A81710;color:#fff}
.mbtn[aria-disabled=true]{border-color:var(--line);color:var(--ink2);cursor:not-allowed}
.mbtn[aria-disabled=true]:hover{background:none;color:var(--ink2)}
.mbtn-plain{border-color:transparent;text-decoration:underline;text-underline-offset:4px;padding:0 6px}
.mbtn-plain:hover{background:none;color:var(--link)}
.mbtn-danger{border-color:#B31C13;color:#B31C13}
html[data-theme=dark] .mbtn-danger{border-color:#FF6A60;color:#FF6A60}
.mbtn-danger:hover{background:#851914;border-color:#851914;color:#fff}
.ma-name{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}
.ma-name .mf{flex:1 1 280px}
.ma .mf>span,.ma .mf>label>span{color:var(--ink)}
.ma .mf input{border-bottom-color:var(--ink2);color:var(--ink);padding-right:0}
.ma .mf input:focus{border-bottom-color:var(--ink)}
.ma .mf input:focus-visible{outline-color:var(--link)}
.ma .mf-help{color:var(--ink2)}
.ma-note{margin-top:16px;padding:14px 18px;background:var(--bg2);box-shadow:inset 3px 0 0 var(--red);font-size:16px;line-height:1.55}
.ma-note b{display:block}
.ma-keep{display:flex;gap:12px;align-items:flex-start;font-size:17px;line-height:1.5}
.ma-keep input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--red)}
.ma-keep small{display:block;font-size:15px;color:var(--ink2)}
.ma-list{display:grid;gap:6px;margin:12px 0 18px;font-size:16px;line-height:1.55}
.ma-list li{display:flex;gap:10px;align-items:baseline}
.ma-list li::before{content:"";width:6px;height:6px;background:var(--red);transform:rotate(45deg) translateY(-2px);flex:none}
.ma-danger h3{color:var(--ink)}
.pg-draft-l{display:flex;align-items:flex-start;gap:8px;font-size:14.5px;line-height:1.5}
.pg-draft-l b{display:inline-flex;align-items:center;padding:2px 8px;line-height:1.45;background:#C81E17;color:#fff;font-weight:700}
@media (max-width:900px){.ma-sec{grid-template-columns:minmax(0,1fr);gap:18px}}
@media (max-width:600px){
  .ma-row{grid-template-columns:44px minmax(0,1fr);gap:12px 14px}
  .ma-acts{grid-column:1/-1;justify-content:flex-start}
  .ma-hello .ma-acts{width:100%}
}

/* the sheet hides parts with the hidden attribute; its own display rules must not bring them back */
.msheet [hidden]{display:none!important}
/* the step title takes focus when a step opens (so a screen reader reads it); it is not a control, so no ring */
.msheet h1[tabindex="-1"]:focus,.msheet h2[tabindex="-1"]:focus{outline:none}
/* the eye sits inside the field's own box, so a message under the field never moves it */
.mf-box{position:relative}
.mf input::placeholder{color:var(--mist);opacity:1}
.mcard .mf input::placeholder,.ma .mf input::placeholder{color:var(--ink2)}
.ma-name .mf .mf-help{margin-top:8px}
/* account name: the hint sits under the field; the button lines up with the field, not with the hint */
.ma-name{align-items:flex-start}
.ma-name .mbtn{margin-top:27px}
@media (max-width:600px){.ma-name .mbtn{margin-top:0}}
/* signed in: the red hover line sits under the ring and arrow only */
.tools .acct.acct-in::after{left:8px;right:auto;width:54px}
@media (min-width:1241px) and (max-width:1299px){html:not(:has(.top .mainnav li:nth-child(6))) .tools .acct.acct-in::after{left:6px;right:6px;width:auto}}
@media (max-width:768px){.tools .acct.acct-in::after{left:6px;right:6px;width:auto}}

/* ---------- 6. the real pages (app only) ---------- */
/* the red button inside the sheet and the focus pages, also on pages without res.css */
.msheet .btn,.mcard .btn{display:inline-flex;justify-content:center;align-items:center;min-height:60px;padding:0 34px;background:var(--red);color:#fff;font-weight:700;font-size:19px;white-space:nowrap;border:0;border-radius:0;cursor:pointer;transition:background-color .25s}
.msheet .btn:hover,.mcard .btn:hover{background:#C81E17}
.msheet,.msheet button,.msheet input,.acct-pop button{font-family:var(--th)}
button.ms-link{background:none;border:0;padding:0;cursor:pointer;font:inherit;font-weight:600}
.msheet .btn-danger[disabled]{background:#3A3A55;box-shadow:inset 0 0 0 1px #7A7A95;color:var(--mist);cursor:not-allowed}
.btn-ghost{background:none;border:0;cursor:pointer;font-family:var(--th)}
.btn-ghost[aria-disabled=true]{pointer-events:none}
/* account rows: the buttons are small forms (they work without the script) */
.ma-acts form,.ma-hello .ma-acts form{display:inline-flex}
:where(button.mbtn){background:none;color:inherit;cursor:pointer;font-family:var(--th)}
.ma-row .ma-last{display:block;margin-top:2px;font-size:14.5px;color:var(--ink2)}
.ma-note form{margin-top:12px}
/* the full page /signin: the sheet drawn on the page, same navy panel */
.msheet.msheet-page{position:relative;inset:auto;margin:calc(var(--hh) + 40px) auto 96px;width:min(540px,calc(100vw - 2*var(--gut)));height:auto;max-height:none;border-left:0;border-top:2px solid var(--red);overflow:visible}
@media (max-width:600px){.msheet.msheet-page{width:100vw;margin:var(--hh) 0 0}}
.msheet-page .ms-top{padding-left:40px}
/* the local test double of LINE / Google (development on this computer only) */
.mock-provider{background:var(--bg);color:var(--ink);font-family:var(--th)}
.mock-wrap{max-width:720px;margin:0 auto;padding:56px 16px 96px}
.mock-wrap h1{margin-top:14px;font-size:clamp(30px,4vw,44px);line-height:1.25;font-weight:600}
.mock-wrap .lead{margin-top:12px;font-size:18px;line-height:1.6}
.mock-grid{display:grid;gap:12px;margin:28px 0}
.mock-custom{display:grid;gap:16px;margin:24px 0;padding:24px;background:var(--bg2);border-top:2px solid var(--red)}
.mock-custom .mf input{border-bottom-color:var(--ink2);color:var(--ink);padding-right:0}

/* account page: a date and its time never split across lines */
.ma-row .nw{white-space:nowrap}
.ma-row .ma-used{display:block}

/* ---------- 7. (13 Nov 2569) ---------- */
/* no way in at all on this site (no LINE / Google keys and no mail): the script hides the entry; its display rules
   above must not bring it back */
.tools .acct[hidden],.drawer-acct[hidden]{display:none}
/* the letters in the avatar circles: Noto Sans Thai is loopless, so "นก" read like Latin "un". The owner approved a
   looped Thai face for these letters only (13 Nov 2569): Noto Sans Thai Looped 600 (SIL OFL 1.1, the same Noto
   family), self-hosted like the site's other fonts (CSP font-src 'self'), from the official @fontsource package 5.3.0
   (registry integrity checked); only the Thai and basic Latin files, weight 600. Licence: fonts/OFL-noto-sans-thai-looped.txt */
@font-face{font-family:"OMF Ring";font-style:normal;font-weight:600;font-display:swap;src:url(/omf/members/fonts/noto-sans-thai-looped-thai-600-normal.woff2) format("woff2");unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"OMF Ring";font-style:normal;font-weight:600;font-display:swap;src:url(/omf/members/fonts/noto-sans-thai-looped-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.acct-ring,.ma-hello .big-ring{font-family:"OMF Ring",var(--th)}
/* 8. English pages: a Thai member name next to Latin text reads as "un" in the loopless face, so Thai letters in the name use the looped face (Thai range only, Latin keeps the page font) */
@font-face{font-family:"OMF Name Thai";font-style:normal;font-weight:600;font-display:swap;src:url(/omf/members/fonts/noto-sans-thai-looped-thai-600-normal.woff2) format("woff2");unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
html[lang="en"] .acct-pop .who b,html[lang="en"] .ma-hello h2,html[lang="en"] .ma-name input[name="name"]{font-family:"OMF Name Thai",var(--th)}
/* 9. A link inside a sentence of an alert/info box stays inline: the 44px tap box made the line holding it twice as tall as the line above (inline links in running text are exempt from the target-size rule) */
.malert p a.ms-link,.minfo a.ms-link{display:inline;min-height:0}
/* 10. Full menu (6 items, so only the complete site, not launch mode) plus TH/EN plus the member button does not fit
   below 1440 px: the button was pushed past the right edge from 1241 to 1365 px and ran into the side margin up to 1439 px (measured 14 Nov). In that range the
   bar uses the same layout the accepted design already uses at 1240 px and below: the menu moves into the burger drawer. */
@media (min-width:1241px) and (max-width:1439px){
  html:has(.top .mainnav li:nth-child(6)) .top,html:has(.top .mainnav li:nth-child(6)) .drawer{--gut:32px}
  html:has(.top .mainnav li:nth-child(6)) .top{grid-template-columns:1fr auto}
  html:has(.top .mainnav li:nth-child(6)) .mainnav{display:none}
  html:has(.top .mainnav li:nth-child(6)) .top .burger{display:inline-flex}
}
/* 11. the inline link in the wrong-password box keeps its words together */
.malert p a.ms-link{white-space:nowrap}
/* 12. 4px more room between a field label and its field, so the focus ring (2px, 3px out) does not touch the label */
.mf>span,.mf>label>span{padding-bottom:4px}
