.wechat-reminder-strip { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; padding:9px 12px; margin:10px 0 0; border:1px solid #eadbd0; border-radius:14px; background:#fffaf5; color:#69554a; font-size:12px; }
.wechat-reminder-strip[hidden] { display:none; }
/* Fail closed from the first paint, including entries rendered later. */
:root:not([data-wechat-notifications="available"]) :is([data-wechat-completion], .wechat-reminder-strip) { display:none!important; }
#mediaViewer[data-completion-result="true"] button { min-height:44px; min-width:44px; }
#profileButton { min-width:44px; min-height:44px; flex-shrink:0; }
.wechat-reminder-strip button,[data-wechat-completion] { min-height:44px; border:0; background:transparent; color:#9a5542; font:inherit; font-weight:600; cursor:pointer; }
.wechat-completion-dialog { box-sizing:border-box; width:min(420px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); padding:0; overflow:auto; border:1px solid #ead8ca; border-radius:24px; background:#fffaf5; color:#392b24; box-shadow:0 20px 80px #3c291e33; font-family:inherit; }
.wechat-completion-dialog::backdrop { background:#33271f70; backdrop-filter:blur(4px); }
.wechat-completion-header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:20px 20px 8px; }
.wechat-completion-header small { color:#9a7260; font-size:12px; }
.wechat-completion-header h2 { margin:5px 0 0; font-size:21px; line-height:1.35; }
.wechat-completion-header button { align-self:flex-start; flex-shrink:0; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#f2e7df; color:inherit; font-size:25px; cursor:pointer; }
.wechat-completion-body { padding:0 22px; }
.wechat-completion-body p { margin:9px 0; color:#806b5e; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.wechat-completion-body h3 { margin:16px 0 6px; font-size:17px; line-height:1.5; }
.wechat-completion-body figure { margin:14px auto 4px; width:172px; text-align:center; }
.wechat-completion-body figure[hidden] { display:none; }
.wechat-completion-body img { display:block; box-sizing:border-box; width:172px; height:172px; object-fit:contain; padding:8px; border:1px solid #eadbd0; border-radius:14px; background:#fff; }
.wechat-completion-body figcaption { margin-top:5px; font-size:12px; color:#806b5e; }
.wechat-completion-body .wechat-completion-status { color:#985744; min-height:0; }
.wechat-completion-dialog footer { display:grid; gap:6px; padding:12px 22px 18px; }
.wechat-completion-dialog footer button { width:100%; min-height:44px; padding:10px 14px; border:0; border-radius:13px; font:inherit; font-size:14px; font-weight:600; line-height:1.4; cursor:pointer; color:#805f4d; background:#f1e6dd; }
.wechat-completion-dialog footer [data-wc-primary] { color:#fff; background:#b56955; }
.wechat-completion-dialog footer [data-wc-leave] { background:transparent; }
.wechat-completion-dialog button:disabled { opacity:.55; cursor:wait; }
.wechat-completion-dialog button:focus-visible { outline:2px solid #a86049; outline-offset:2px; }
.wechat-completion-dialog [hidden] { display:none !important; }
.wechat-notice-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
#wechatCompletion button { min-height:44px; }
.wechat-notice-fields { display:grid; gap:10px; }
.wechat-notice-field { display:grid; grid-template-columns:minmax(85px,1fr) minmax(110px,1.2fr) minmax(90px,1fr) 44px; gap:8px; align-items:end; }
.wechat-notice-field label { min-width:0; display:grid; gap:5px; font-size:12px; }
.wechat-notice-field input,.wechat-notice-field select { width:100%; box-sizing:border-box; min-height:44px; }
.wechat-notice-field button { height:44px; border:1px solid #d8dee7; background:#fff; border-radius:8px; cursor:pointer; }
#wechatNoticeQrPreview { max-width:172px; max-height:172px; object-fit:contain; }
.wechat-notice-guide { font-size:14px; line-height:1.8; }
.wechat-notice-guide ol { padding-left:22px; }
.wechat-notice-guide li { margin:10px 0; }
.wechat-notice-records { overflow-x:auto; }
.wechat-notice-records table { width:100%; border-collapse:collapse; font-size:12px; }
.wechat-notice-records td,.wechat-notice-records th { padding:10px; text-align:left; border-bottom:1px solid #e5e7eb; }
.wechat-notice-records td { overflow-wrap:anywhere; }
@media(max-width:700px) { .wechat-notice-form { grid-template-columns:1fr; } .wechat-notice-field { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px; } .wechat-notice-field label:last-of-type { grid-column:1/3; } .wechat-notice-field button { grid-column:3; grid-row:1/3; align-self:stretch; height:auto; } }
@media(max-height:480px) { .wechat-completion-dialog { max-height:calc(100dvh - 16px); } .wechat-completion-header { padding-top:12px; } }
