.guest-unlock-dialog{margin:auto}.guest-task-panel[hidden],.guest-unlock-dialog [hidden]{display:none!important}
.guest-task-panel{background:#fffcf7;border:1px solid #e2d4c0;border-radius:16px;box-shadow:0 12px 32px #39241908;overflow:hidden;scroll-margin-top:24px}.guest-task-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 25px 0}.guest-status-tag{padding:5px 9px;border:1px solid #d3deca;border-radius:5px;background:#f0f4e9;color:#4b6948;font-size:11px}.guest-task-top>span:last-child{font-size:10px;color:#a1917d}.guest-task-content{display:flex;align-items:center;gap:20px;padding:24px 25px 28px}.guest-task-icon{height:54px;width:54px;display:grid;place-items:center;flex:none;background:#f7ead9;border:1px solid #ead7bb;border-radius:17px;color:#ac7848;font:31px Georgia,serif}.guest-task-message{flex:1;min-width:0}.guest-task-message h2{font:600 24px/1.5 Georgia,"Songti SC","SimSun",serif;margin:0 0 7px}.guest-task-message p{font-size:13px;line-height:1.9;color:#8c7b69;margin:0 0 12px}.guest-work-reference{display:flex;align-items:center;gap:9px;font-size:10px;color:#9f907c;min-width:0}.guest-work-reference b{font-size:11px;color:#776450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guest-task-content>.btn{min-height:46px;white-space:nowrap;flex:none}.guest-task-bottom{display:flex;justify-content:space-between;gap:12px;padding:13px 25px;border-top:1px solid #ebdfd0;background:#f7f1e7;color:#938371;font-size:11px;line-height:1.8}.guest-task-bottom button{border:0;background:none;color:#94704f;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer;white-space:nowrap}
.guest-task-panel.is-querying .guest-task-icon{color:#567056;background:#eef2e7;border-color:#d7e0cb}.guest-task-panel.is-querying .guest-task-icon>span{animation:guest-spin 1.4s linear infinite}.guest-query-progress{margin-top:14px;max-width:480px;background:#eae4d9;height:4px;border-radius:10px;overflow:hidden}.guest-query-progress span{display:block;width:8%;height:100%;border-radius:10px;background:#78916c;transition:width .45s ease}.guest-task-panel.is-querying .guest-task-bottom{color:#7e8c70;background:#f1f3eb}
.guest-unlock-dialog{box-sizing:border-box;width:min(736px,calc(100vw - 32px));padding:0;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dfd1bd;border-radius:20px;background:#fffcf7;color:#2d2721;box-shadow:0 32px 110px #231b1745;font-family:"Microsoft YaHei","PingFang SC",sans-serif}.guest-unlock-dialog::backdrop,.guest-ad-demo::backdrop{background:#211a15a6;backdrop-filter:blur(4px)}
.guest-unlock-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:27px 30px 25px;background:#2b2522;color:#fff7e9}.guest-eyebrow{font-size:10px;letter-spacing:2px;color:#bda88b}.guest-unlock-header h2{font:500 30px/1.45 Georgia,"Songti SC","SimSun",serif;color:inherit;margin:12px 0 10px}.guest-unlock-header p{font-size:12px;line-height:1.8;color:#cdbba6;margin:0}.guest-close{height:40px;width:40px;min-height:40px;display:grid;place-items:center;flex:none;padding:0;border:1px solid #675546;border-radius:50%;background:transparent;color:#e9d7be;font:26px/1 Georgia,serif;cursor:pointer}.guest-unlock-dialog button:focus-visible,.guest-ad-demo button:focus-visible,.guest-preview button:focus-visible{outline:3px solid #d58b64;outline-offset:3px}
.guest-unlock-body{display:grid;grid-template-columns:216px minmax(0,1fr);gap:32px;padding:28px 30px 20px}.guest-code-frame{position:relative;padding:3px;border:1px solid #ded9cc;background:#fff;border-radius:12px}.guest-code-frame img{width:100%;height:auto;display:block}.guest-code-frame>span{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);background:#f5efdf;border:1px solid #e2d5c0;border-radius:4px;padding:3px 7px;color:#8b7d67;font-size:9px;white-space:nowrap}.guest-code-column>p{text-align:center;font-size:11px;color:#938470;margin:20px 0 0}.guest-mobile-help{display:none}.guest-unlock-copy{min-width:0}.guest-benefit{display:flex;align-items:center;gap:15px;margin:3px 0 14px}.guest-benefit-number{font:400 65px/1 Georgia,serif;color:#365b46}.guest-benefit strong{font-size:18px;color:#3c392c}.guest-benefit small{display:block;font-size:11px;color:#8c7b64;margin-top:9px}.guest-bound-work{display:flex;flex-wrap:wrap;column-gap:10px;row-gap:6px;padding:11px 0 12px;border-top:1px solid #e9dfd0;border-bottom:1px solid #e9dfd0}.guest-bound-work>span{font-size:10px;color:#9a8972;white-space:nowrap}.guest-bound-work>strong{font-size:11px;color:#64533e;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.guest-bound-work small{width:100%;font-size:10px;color:#a0907b}.guest-unlock-steps{list-style:none;display:grid;gap:11px;margin:16px 0 0;padding:0}.guest-unlock-steps li{display:flex;align-items:center;gap:9px;font-size:11px;color:#8f816f}.guest-unlock-steps i{display:grid;place-items:center;height:18px;width:18px;border:1px solid #e1d6c5;border-radius:50%;font:10px Georgia,serif;background:#f7f1e7}.guest-unlock-steps li.is-done{color:#4b714d}.guest-unlock-steps li.is-done i{border-color:#b9ccb0;background:#eaf1e2}
.guest-confirm-area{margin:0 30px 22px;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:18px;row-gap:7px;padding:17px 18px;border-radius:10px;background:#f0f3e9;border:1px solid #d8e0cc}.guest-confirm-area>p{font-size:12px;color:#667b57;line-height:1.7;margin:0}.guest-confirm-area>.btn{grid-column:2;grid-row:1 / 3;font-size:12px;padding:13px 16px;min-height:46px;white-space:nowrap}.guest-confirm-area>small{font-size:10px;color:#94a086}.guest-confirm-area.is-warning{background:#fcf1e6;border-color:#e8cfad}.guest-confirm-area.is-warning p{color:#9b6d42}.guest-confirm-area.is-ready{background:#eaf2e4;border-color:#baceac}.guest-unlock-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 30px;background:#f5eddf;border-top:1px solid #e9dece;color:#9a8770;font-size:11px;line-height:1.7}.guest-unlock-footer button{font:inherit;background:none;border:0;color:#886540;padding:4px 0;white-space:nowrap;cursor:pointer}
#guestRefreshCode{display:block;margin:14px auto 0;border:0;background:transparent;color:#886540;font-size:11px;cursor:pointer;text-decoration:underline}.guest-task-panel{margin:20px 0}.guest-task-panel button:focus-visible{outline:3px solid #d58b64;outline-offset:3px}
body:has(.guest-unlock-dialog[open]){overflow:hidden}
.guest-code-frame{box-sizing:border-box;display:grid;place-items:center;width:100%;aspect-ratio:1;min-height:0;cursor:zoom-in;color:inherit;font:inherit}.guest-code-frame:disabled{cursor:default;opacity:1}.guest-code-frame>span{inset:12px;left:12px;bottom:12px;transform:none;display:grid;place-items:center;padding:12px;white-space:normal;text-align:center;line-height:1.8;background:#fff;border:0;font-size:12px}.guest-code-column>.guest-code-feedback{margin:12px 0 0;font-size:11px;line-height:1.7;min-height:19px}.guest-code-feedback.is-ready{padding:9px 8px;background:#eaf2e4;border:1px solid #c5d6b7;border-radius:7px;color:#3d6548;font-weight:600}.guest-unlock-footer>div:first-child{min-width:0}.guest-unlock-footer strong,.guest-unlock-footer span,.guest-unlock-footer small{display:block}.guest-unlock-footer strong{font-size:12px;font-weight:600;color:#594633;margin-bottom:4px}.guest-unlock-footer small{font-size:10px;color:#8e7b65;margin-top:4px}.guest-offer-actions{display:flex;align-items:center;gap:16px;flex:none;flex-wrap:wrap}.guest-unlock-footer .guest-offer-actions button:first-child{font-weight:600;color:#a34b36}.guest-next-steps[hidden]{display:none!important}.guest-next-steps{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 25px;margin:4px 0 0;border:1px solid #e3d7c6;border-radius:14px;background:#f6eddf}.guest-next-steps .guest-eyebrow{font-size:9px;color:#9b7453}.guest-next-steps h2{font:600 22px/1.5 Georgia,"Songti SC","SimSun",serif;margin:7px 0;color:#49372b}.guest-next-steps p{margin:0;font-size:12px;color:#75624f;line-height:1.8}.guest-next-steps small{display:block;font-size:10px;line-height:1.8;color:#95826f;margin-top:7px}.guest-next-steps .btn{font-size:12px;white-space:nowrap}.hero .sub[hidden]{display:none!important}#guestQrDialog img{cursor:zoom-out}
@media(max-width:700px){.guest-unlock-footer{align-items:flex-start;flex-direction:column;gap:10px}.guest-unlock-footer .guest-offer-actions{width:100%;justify-content:space-between}.guest-next-steps{align-items:stretch;flex-direction:column;gap:16px;padding:18px}.guest-next-steps h2{font-size:19px}.guest-next-steps .guest-offer-actions{gap:10px}.guest-next-steps .guest-offer-actions .btn{flex:1}.guest-code-column>.guest-code-feedback{font-size:10px}}
@media(max-width:700px){.guest-unlock-header{padding:20px}.guest-unlock-header h2{font-size:22px;white-space:nowrap}.guest-unlock-header p{font-size:10px}.guest-unlock-body{grid-template-columns:120px minmax(0,1fr);gap:16px;padding:20px}.guest-benefit{gap:9px}.guest-benefit-number{font-size:44px}.guest-benefit strong{font-size:14px}.guest-benefit small{font-size:9px}.guest-bound-work>strong{font-size:10px}.guest-unlock-steps li{font-size:10px}.guest-confirm-area{display:flex;flex-direction:column;align-items:stretch;margin:0 20px 20px;padding:14px}.guest-confirm-area>.btn{margin-top:5px}.guest-unlock-footer{padding:14px 20px;font-size:10px}.guest-task-content{flex-wrap:wrap;gap:12px;padding:18px}.guest-task-message h2{font-size:19px}.guest-task-message p{font-size:11px}.guest-task-content>.btn{width:100%}.guest-task-icon{width:38px;height:38px;font-size:24px}.guest-task-bottom{padding:12px 18px;font-size:10px}.guest-task-top{padding:15px 18px 0}.guest-mobile-help{display:block}}
@media(max-width:350px){.guest-unlock-header h2{font-size:19px}.guest-unlock-header{padding:18px 16px}.guest-unlock-body{grid-template-columns:108px minmax(0,1fr);gap:12px;padding:18px 16px}.guest-confirm-area{margin-left:16px;margin-right:16px}.guest-benefit-number{font-size:39px}.guest-benefit strong{font-size:12px}}

/* Approved guest modal layout, 2026-11-01. */
.guest-unlock-dialog .guest-unlock-body{align-items:start}
.guest-unlock-dialog .guest-unlock-copy{display:flex;flex-direction:column;justify-content:center;gap:20px;min-height:216px;padding:2px 0}
.guest-unlock-dialog .guest-bound-work{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px 12px;margin:0;padding:15px 16px;border:1px solid #e6ddcf;border-radius:10px;background:#f8f3eb}
.guest-unlock-dialog .guest-bound-work>span{font-size:10px;color:#97836b}
.guest-unlock-dialog .guest-bound-work>strong{font-size:12px;line-height:1.5;color:#594733;white-space:nowrap;font-variant-numeric:tabular-nums}
.guest-unlock-dialog .guest-bound-work small{grid-column:1/-1;width:auto;font-size:11px;line-height:1.8;color:#927e65}
.guest-unlock-dialog .guest-unlock-steps{gap:13px;margin:0;padding:0 3px}
.guest-unlock-dialog .guest-unlock-steps li{align-items:flex-start;gap:10px;font-size:11px;line-height:1.8}
.guest-unlock-dialog .guest-unlock-steps i{flex-shrink:0;margin-top:1px}
@media(max-width:700px){
  .guest-unlock-dialog .guest-unlock-copy{min-height:0;gap:14px;padding:0}
  .guest-unlock-dialog .guest-bound-work{grid-template-columns:1fr;padding:11px 10px;gap:6px}
  .guest-unlock-dialog .guest-bound-work>strong{font-size:10px;overflow:visible}
  .guest-unlock-dialog .guest-bound-work small{font-size:10px;line-height:1.7}
  .guest-unlock-dialog .guest-unlock-steps{gap:10px;padding:0}
  .guest-unlock-dialog .guest-unlock-steps li{font-size:10px;gap:7px}
}
