:root{--bg:#f4f6fb;--card:#fff;--ink:#182234;--ink-2:#5b6478;--ink-3:#8a92a6;--brand:#1f5eff;--brand-ink:#fff;--brand-soft:#e8effe;--teal:#0e9f8d;--teal-soft:#e2f6f2;--amber:#b7791f;--amber-soft:#fdf3e0;--red:#d92d3f;--red-soft:#fde8ea;--green:#12805c;--green-soft:#e3f5ee;--line:#e3e7f0;--radius:16px;--shadow:0 1px 2px #1720360d,0 8px 24px -12px #1720362e}*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--ink);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Noto Sans Thai,Sarabun,IBM Plex Sans Thai,Segoe UI,sans-serif;line-height:1.55}.wrap{max-width:430px;margin:0 auto;padding:0 16px 88px}.topbar{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);background:#ffffffeb;align-items:center;gap:12px;margin:0 -16px;padding:12px 16px;display:flex;position:sticky;top:0}.topbar .back{color:var(--ink-2);width:32px;font-size:20px;text-decoration:none}.topbar h1{flex:1;font-size:17px;font-weight:700}.avatar{color:#fff;background:linear-gradient(135deg,#1f5eff,#0e9f8d);border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;font-weight:700;display:flex}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-top:14px;padding:16px}.card h2{margin-bottom:8px;font-size:15px;font-weight:700}.card h3{color:var(--ink-2);font-size:13.5px;font-weight:700}.muted{color:var(--ink-2);font-size:13px}.tiny{color:var(--ink-3);font-size:12px}.row{align-items:center;gap:10px;display:flex}.row.between{justify-content:space-between}.stack>*+*{margin-top:10px}.badge{border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.badge.work{background:var(--brand-soft);color:var(--brand)}.badge.check{background:var(--teal-soft);color:var(--teal)}.badge.ready{background:var(--green-soft);color:var(--green)}.badge.warn{background:var(--amber-soft);color:var(--amber)}.badge.err{background:var(--red-soft);color:var(--red)}.badge .dot{background:currentColor;border-radius:50%;width:7px;height:7px}.btn{cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-family:inherit;font-size:15px;font-weight:700;text-decoration:none;display:inline-flex}.btn.primary{background:var(--brand);color:var(--brand-ink)}.btn.primary:active{transform:translateY(1px)}.btn.ghost{color:var(--ink);border:1.5px solid var(--line);background:#fff}.btn.ok{background:var(--green);color:#fff}.btn.danger{color:var(--red);background:#fff;border:1.5px solid #f3c1c7}.btn.block{width:100%}.btn.sm{border-radius:10px;padding:8px 14px;font-size:13.5px}.input,textarea,select{border:1.5px solid var(--line);width:100%;color:var(--ink);background:#fbfcff;border-radius:12px;padding:12px;font-family:inherit;font-size:15px}textarea{resize:vertical;min-height:96px}label.f{color:var(--ink-2);margin:14px 0 6px;font-size:13px;font-weight:600;display:block}.tabs{background:#eceff7;border-radius:12px;gap:6px;margin-top:14px;padding:4px;display:flex}.tabs a{text-align:center;color:var(--ink-2);border-radius:9px;flex:1;padding:8px 4px;font-size:13px;font-weight:600;text-decoration:none}.tabs a.on{color:var(--brand);background:#fff;box-shadow:0 1px 3px #1720361f}.site-thumb{color:#fff;border-radius:12px;flex:none;justify-content:center;align-items:center;width:52px;height:52px;font-size:17px;font-weight:800;display:flex}.thumb-a{background:linear-gradient(135deg,#1f5eff,#7c4dff)}.thumb-b{background:linear-gradient(135deg,#0e9f8d,#12805c)}.timeline{list-style:none}.timeline li{padding:0 0 18px 30px;position:relative}.timeline li:before{content:"";background:var(--line);border-radius:50%;width:9px;height:9px;position:absolute;top:6px;left:8px}.timeline li.done:before{background:var(--green)}.timeline li.now:before{background:var(--brand);box-shadow:0 0 0 4px var(--brand-soft)}.timeline li.now:after{content:"";background:var(--line);width:2px;position:absolute;top:17px;bottom:0;left:11px}.timeline li:not(:last-child):after{content:"";background:var(--line);width:2px;position:absolute;top:17px;bottom:-2px;left:11px}.timeline li.now:last-child:after{display:none}.timeline .t{font-size:14px;font-weight:700}.timeline .d{color:var(--ink-2);font-size:12.5px}.msg{border-radius:14px;max-width:85%;padding:10px 12px;font-size:14px}.msg.me{background:var(--brand);color:#fff;border-bottom-right-radius:4px;margin-left:auto}.msg.them{color:var(--ink);background:#eef1f8;border-bottom-left-radius:4px}.kv{border-bottom:1px dashed var(--line);justify-content:space-between;gap:12px;padding:7px 0;font-size:13.5px;display:flex}.kv:last-child{border-bottom:0}.kv b{text-align:right;font-weight:700}.hero-preview{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.hero-preview .bar{color:var(--ink-3);background:#f0f2f8;align-items:center;gap:6px;padding:8px 10px;font-size:11px;display:flex}.hero-preview .bar i{background:#c9cfdd;border-radius:50%;width:9px;height:9px;display:inline-block}.hero-preview .bar span{text-overflow:ellipsis;white-space:nowrap;margin-left:6px;overflow:hidden}.hero-preview .shot{color:var(--ink-2);padding:18px 14px;font-size:12px}.hero-preview .shot .h{background:#e7eaf3;border-radius:6px;height:12px;margin-bottom:8px}.hero-preview .shot .h.w70{width:70%}.hero-preview .shot .h.w45{width:45%}.hero-preview .shot .h.w90{width:90%}.hero-preview .shot .img{height:64px;color:var(--ink-3);background:linear-gradient(135deg,#dfe6ff,#e2f6f2);border-radius:8px;justify-content:center;align-items:center;margin:10px 0;display:flex}.toggle{border:1.5px solid var(--line);border-radius:10px;display:inline-flex;overflow:hidden}.toggle a{color:var(--ink-2);background:#fff;padding:7px 14px;font-size:13px;font-weight:700;text-decoration:none}.toggle a.on{background:var(--brand);color:#fff}.nav{border-top:1px solid var(--line);z-index:30;background:#fff;max-width:430px;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.nav a{text-align:center;color:var(--ink-3);flex:1;padding:9px 0 11px;font-size:11px;font-weight:600;text-decoration:none}.nav a .ic{margin-bottom:1px;font-size:19px;display:block}.nav a.on{color:var(--brand)}.note{border-radius:12px;padding:11px 13px;font-size:13px}.note.info{background:var(--brand-soft);color:#173b9e}.note.warn{background:var(--amber-soft);color:#7c5310}.note.err{background:var(--red-soft);color:#97121f}.note.ok{background:var(--green-soft);color:var(--green)}.skeleton{background:linear-gradient(90deg,#eceff7 25%,#f7f9fd 50%,#eceff7 75%) 0 0/200% 100%;border-radius:7px;height:14px;margin:10px 0;animation:1.2s infinite sk}@keyframes sk{0%{background-position:200% 0}to{background-position:-200% 0}}.proto-banner{color:#cdd6ee;text-align:center;background:#141a2a;padding:6px 10px;font-size:11.5px}.proto-banner b{color:#ffd479}.screen-label{letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);margin-top:18px;font-size:11px;font-weight:700}.pw{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:13px 0;display:flex}.pw:last-child{border-bottom:0}.pw .v{border-radius:10px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;font-size:12px;font-weight:800;display:flex}.pw.current{background:var(--green-soft);color:var(--green)}.pw.old{color:var(--ink-2);background:#eef1f8}.chip{color:var(--ink-2);background:#eef1f8;border-radius:8px;margin:2px 4px 2px 0;padding:2px 8px;font-size:11.5px;font-weight:600;display:inline-block}.upload{text-align:center;color:var(--ink-2);background:#fbfcff;border:1.5px dashed #c4cddd;border-radius:12px;padding:18px;font-size:13.5px}
