#sth-native-chat{--c:#0e0b0d;--gold:#d8aa43;--gold2:#f0c96c;--cream:#fff8ec;--muted:#756d67;--green:#0b8a66;position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:2147482000;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#191416}
.sth-chat-launch{position:relative;display:flex;align-items:center;gap:12px;border:1px solid rgba(216,170,67,.55);background:linear-gradient(135deg,#171113,#22171a 55%,#3d232b);color:#fff;border-radius:999px;padding:10px 18px 10px 10px;box-shadow:0 18px 48px rgba(0,0,0,.35);cursor:pointer;max-width:320px;overflow:hidden}
.sth-chat-launch:hover{transform:translateY(-1px)}
.sth-chat-pulse{position:absolute;inset:0;border-radius:999px;box-shadow:0 0 0 0 rgba(216,170,67,.45);animation:sthpulse 2.1s infinite}
@keyframes sthpulse{0%{box-shadow:0 0 0 0 rgba(216,170,67,.42)}70%{box-shadow:0 0 0 18px rgba(216,170,67,0)}100%{box-shadow:0 0 0 0 rgba(216,170,67,0)}}
.sth-chat-launch-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#fff2cf,#d2a038);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);overflow:hidden;flex:none}
.sth-chat-launch-icon img{width:100%;height:100%;object-fit:cover}
.sth-chat-launch-copy{text-align:left;display:grid;line-height:1.15}.sth-chat-launch-copy b{font-family:Georgia,serif;font-size:15px}.sth-chat-launch-copy small{font-size:11px;color:#e6ddd3;margin-top:4px}
.sth-chat-panel{position:absolute;right:0;bottom:0;width:min(400px,calc(100vw - 24px));height:min(700px,calc(100vh - 36px));background:#fffdfa;border:1px solid #ead9b7;border-radius:25px;box-shadow:0 30px 80px rgba(0,0,0,.34);display:none;overflow:hidden}
.sth-chat-panel.open{display:grid;grid-template-rows:auto 1fr auto auto auto}
.sth-chat-panel header{background:#151113;color:#fff;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2d2528}.sth-chat-brand{display:flex;gap:10px;align-items:center}.sth-chat-brand img,.sth-chat-brand>span{width:42px;height:42px;border-radius:50%;background:#d8aa43;color:#171013;display:grid;place-items:center;object-fit:cover}.sth-chat-brand div{display:grid}.sth-chat-brand b{font-family:Georgia,serif;font-size:16px}.sth-chat-brand small{font-size:10px;color:#d7cec8;margin-top:2px}.sth-chat-panel header button{border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer;padding:5px 8px}.sth-chat-reset{font-size:19px!important}
.sth-chat-messages{padding:16px 14px;overflow:auto;background:linear-gradient(#fffdfa,#fbf5e9)}.sth-msg{display:flex;margin:8px 0}.sth-msg.me{justify-content:flex-end}.sth-msg.admin .sth-bubble{background:#fff;color:#211a1d;border:1px solid #ead8b5}.sth-bubble-wrap{max-width:88%}.sth-msg-label{display:block;color:#6c5e50;font-size:11px;margin:0 0 4px 6px}.sth-bubble{padding:11px 13px;border-radius:17px;background:#f1ede7;color:#211a1d;white-space:normal;font-size:14px;line-height:1.46;box-shadow:0 1px 0 rgba(0,0,0,.04)}.sth-msg.me .sth-bubble{background:var(--green);color:#fff;border-bottom-right-radius:5px}.sth-msg.bot .sth-bubble,.sth-msg.admin .sth-bubble{border-bottom-left-radius:5px}.sth-actions{display:flex;gap:7px;flex-wrap:wrap;margin:4px 0 11px 0}.sth-actions button,.sth-actions a{border:1px solid #d7b25a;background:#fff;color:#312311;border-radius:999px;padding:8px 11px;font-weight:700;font-size:12px;cursor:pointer;text-decoration:none}.sth-actions a{background:#171113;color:#fff;border-color:#171113}.sth-chat-typing{padding:0 18px 7px;background:#fbf5e9}.sth-chat-typing i{width:6px;height:6px;background:#ad8b45;border-radius:50%;display:inline-block;margin-right:3px;animation:sthblink 1s infinite alternate}.sth-chat-typing i:nth-child(2){animation-delay:.2s}.sth-chat-typing i:nth-child(3){animation-delay:.4s}@keyframes sthblink{to{opacity:.25;transform:translateY(-2px)}}

.sth-chat-form{padding:10px 12px;display:flex;gap:8px;background:#fff;border-top:1px solid #eee1ca;align-items:flex-end}.sth-chat-files{display:none!important}.sth-chat-form textarea[maxlength]{flex:1;border:1px solid #d8c9ae;border-radius:22px;padding:12px 14px;min-width:0;min-height:52px;max-height:128px;line-height:1.4;font:inherit;outline:none;resize:none;overflow-y:auto;box-sizing:border-box}.sth-chat-form textarea[maxlength]:focus{border-color:#b78a2d;box-shadow:0 0 0 3px rgba(216,170,67,.15)}.sth-chat-form button{border:0;cursor:pointer;flex:none}.sth-chat-attach{width:46px;height:46px;border-radius:50%;background:#f5ecd9;color:#21150a;font-size:20px}.sth-chat-send{width:46px;height:46px;border-radius:50%;background:#1a1316;color:#fff;font-size:22px}footer{padding:9px 14px 12px;text-align:center;color:#8d8377;background:#fff;font-size:12px}
@media(max-width:640px){#sth-native-chat{right:10px;bottom:10px}.sth-chat-launch-copy{display:none}.sth-chat-launch{padding:7px}.sth-chat-panel{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;border-radius:0;border:0}.sth-chat-panel header{padding-top:max(14px,env(safe-area-inset-top))}.sth-chat-form{padding-bottom:max(10px,env(safe-area-inset-bottom))}.sth-bubble{font-size:16px}.sth-actions button,.sth-actions a{font-size:14px;padding:10px 13px}}

/* v1.8.3 mobile choices: inline, visible, no blocking popup */
.sth-actions{align-items:stretch}
.sth-actions button,.sth-actions a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;text-align:center}
@media(max-width:640px){
  .sth-chat-messages{padding:14px 12px 18px}
  .sth-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:7px 0 14px}
  .sth-actions>*{width:100%;box-sizing:border-box;white-space:normal;line-height:1.25}
  .sth-actions>*:only-child{grid-column:1/-1}
  .sth-actions>*:nth-child(3):last-child{grid-column:1/-1}
  .sth-chat-form textarea[maxlength]{font-size:16px;min-height:60px;max-height:132px;padding:13px 15px}
  .sth-chat-brand img,.sth-chat-brand>span{width:56px;height:56px}
  .sth-chat-brand b{font-size:19px}
  .sth-chat-brand small{font-size:11px}
  .sth-chat-panel header{padding-left:16px;padding-right:12px}
  .sth-chat-attach,.sth-chat-send{width:48px;height:48px}
}

/* v1.8.4: keep native file input hidden; photo upload is exposed only through the branded camera/action buttons. */
.sth-chat-files[hidden]{display:none!important}

/* v1.9.0 secure account cards + improved mobile composer */
.sth-secure-form{margin:8px 0 16px;background:#fff;border:1px solid #e3c77b;border-radius:18px;padding:14px;display:grid;gap:9px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.sth-secure-form .sth-secure-title{font-family:Georgia,serif;font-size:16px;color:#171113}.sth-secure-form small{font-size:11px;color:#766b61;line-height:1.35}.sth-secure-form input{width:100%;box-sizing:border-box;border:1px solid #d8c9ae;border-radius:12px;padding:11px 12px;font:inherit;background:#fff}.sth-secure-form input:focus{outline:none;border-color:#b78a2d;box-shadow:0 0 0 3px rgba(216,170,67,.15)}.sth-secure-form button{border:0;border-radius:999px;background:#171113;color:#fff;padding:11px 14px;font-weight:800;cursor:pointer}.sth-secure-error{font-size:12px;color:#9b1c1c;min-height:0}
@media(max-width:640px){
  .sth-chat-brand img,.sth-chat-brand>span{width:66px;height:66px}
  .sth-chat-brand b{font-size:21px}
  .sth-chat-brand small{font-size:12px}
  .sth-chat-form{padding:12px 14px max(14px,env(safe-area-inset-bottom));gap:10px}
  .sth-chat-form textarea[maxlength]{min-height:78px;max-height:160px;font-size:17px;line-height:1.38;border-radius:24px;padding:15px 16px}
  .sth-chat-attach,.sth-chat-send{width:54px;height:54px;font-size:23px}
  .sth-secure-form{padding:15px;margin-bottom:18px}.sth-secure-form input{font-size:16px;padding:13px}.sth-secure-form button{font-size:16px;padding:13px}
}

/* v1.9.7 conversation history + explicit new-conversation controls */
.sth-chat-head-actions{display:flex;align-items:center;gap:4px;margin-left:8px}
.sth-chat-head-actions button{display:inline-flex!important;align-items:center;gap:4px;border-radius:999px!important;font-size:12px!important;line-height:1!important;padding:8px 9px!important;white-space:nowrap}
.sth-chat-head-actions button:hover{background:#2a2225!important}.sth-chat-head-actions em{font-style:normal;font-weight:750}.sth-chat-close{font-size:24px!important;padding:5px 8px!important}
.sth-chat-history-drawer{position:absolute;z-index:25;top:71px;right:0;bottom:0;left:0;background:#fffdfa;border-top:1px solid #e9dbc3;display:flex;flex-direction:column;overflow:hidden}
.sth-chat-history-drawer[hidden]{display:none!important}.sth-chat-history-head{display:flex;align-items:center;justify-content:space-between;padding:14px;border-bottom:1px solid #eee1ca;background:#fff}.sth-chat-history-head>div{display:grid}.sth-chat-history-head b{font-family:Georgia,serif;font-size:18px}.sth-chat-history-head small{font-size:11px;color:#776d67}.sth-chat-history-head button{border:0;background:#171113;color:#fff;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer}
.sth-chat-history-new{margin:12px 14px 8px;border:1px solid #d8aa43;background:#171113;color:#fff;border-radius:14px;padding:12px 14px;display:flex;gap:9px;align-items:center;justify-content:center;cursor:pointer}.sth-chat-history-new span{font-size:20px}.sth-chat-history-list{padding:4px 12px 14px;overflow:auto;display:grid;gap:8px;flex:1}.sth-chat-history-item{display:grid;grid-template-columns:1fr auto;align-items:stretch;border:1px solid #e6d8bd;background:#fff;border-radius:14px;overflow:hidden}.sth-chat-history-item.current{border-color:#c99224;box-shadow:0 0 0 2px rgba(216,170,67,.14)}.sth-chat-history-item.closed{opacity:.8}.sth-chat-history-open{border:0;background:#fff;text-align:left;padding:11px 12px;display:grid;gap:3px;cursor:pointer;min-width:0}.sth-chat-history-open b{font-size:13px;color:#211a1d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sth-chat-history-open small{font-size:10px;color:#8a8076}.sth-chat-history-open span{font-size:11px;color:#675d56;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sth-chat-history-close-item{border:0;border-left:1px solid #eee1ca;background:#fbf4e6;color:#5f4630;font-weight:700;padding:8px 10px;cursor:pointer}.sth-chat-history-note{padding:10px 14px 14px;color:#857a70;background:#fff;font-size:10px;border-top:1px solid #eee1ca}.sth-chat-history-empty{padding:28px 15px;text-align:center;color:#766d66}
@media(max-width:640px){.sth-chat-panel header{gap:8px}.sth-chat-brand{min-width:0;flex:1}.sth-chat-brand img,.sth-chat-brand>span{width:48px;height:48px}.sth-chat-brand b{font-size:17px}.sth-chat-brand small{font-size:9px}.sth-chat-head-actions{gap:2px;margin-left:0}.sth-chat-head-actions button{padding:7px 8px!important}.sth-chat-head-actions em{font-size:10px}.sth-chat-history-drawer{top:76px}}

/* v1.11.0 — reliable compact header with an always-visible close control */
.sth-chat-panel header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.sth-chat-brand{min-width:0;overflow:hidden}.sth-chat-brand>div{min-width:0}.sth-chat-brand b,.sth-chat-brand small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sth-chat-head-actions{min-width:max-content;flex:none;margin-left:0!important}
.sth-chat-head-actions .sth-chat-close{background:#33272b!important;border:1px solid rgba(255,255,255,.18)!important;min-width:40px;justify-content:center}
.sth-chat-head-actions .sth-chat-close:hover{background:#4b363d!important}.sth-chat-close span{font-size:20px;line-height:.7}.sth-chat-close em{font-size:10px}
@media(max-width:480px){.sth-chat-head-actions .sth-chat-history em,.sth-chat-head-actions .sth-chat-new em,.sth-chat-head-actions .sth-chat-close em{display:none}.sth-chat-head-actions button{width:38px!important;height:38px!important;padding:0!important;justify-content:center}.sth-chat-brand small{max-width:150px}.sth-chat-panel header{padding-left:10px!important;padding-right:8px!important}.sth-chat-brand img,.sth-chat-brand>span{width:42px!important;height:42px!important}}
@media(max-width:360px){.sth-chat-brand small{display:none}.sth-chat-brand b{font-size:15px!important}.sth-chat-head-actions{gap:1px!important}.sth-chat-head-actions button{width:34px!important;height:36px!important}.sth-chat-panel header{gap:4px}}


/* v1.12.0 — professional messenger-style launcher and conversation UI */
#sth-native-chat{right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom))}
.sth-chat-launch{width:68px;height:68px;max-width:none;padding:6px;border-radius:50%;justify-content:center;overflow:visible;background:linear-gradient(145deg,#171113,#2b1b20);border:2px solid rgba(216,170,67,.7);box-shadow:0 16px 42px rgba(0,0,0,.32)}
.sth-chat-launch-copy{display:none!important}.sth-chat-launch-icon{width:54px;height:54px;border:2px solid #fff;background:#fff}.sth-chat-pulse{border-radius:50%}
.sth-chat-unread{position:absolute;right:-2px;top:-3px;min-width:22px;height:22px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#c9212f;color:#fff;font:800 11px/1 system-ui;border:2px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.sth-chat-nudge{position:absolute;right:0;bottom:82px;width:205px;background:#fff;color:#21181b;border:1px solid #ead7b2;border-radius:16px;padding:12px 34px 12px 13px;display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:center;box-shadow:0 15px 38px rgba(0,0,0,.18);cursor:pointer;animation:sthnudgein .32s ease-out both}
.sth-chat-nudge[hidden]{display:none!important}.sth-chat-nudge:after{content:"";position:absolute;right:25px;bottom:-8px;width:14px;height:14px;background:#fff;border-right:1px solid #ead7b2;border-bottom:1px solid #ead7b2;transform:rotate(45deg)}
.sth-chat-nudge-dot{width:11px;height:11px;border-radius:50%;background:#20b86a;box-shadow:0 0 0 5px rgba(32,184,106,.12)}.sth-chat-nudge div{display:grid;gap:2px}.sth-chat-nudge b{font-family:Georgia,serif;font-size:16px}.sth-chat-nudge small{font-size:11px;color:#71665f;line-height:1.3}.sth-chat-nudge-close{position:absolute;right:7px;top:6px;width:25px;height:25px;border:0;border-radius:50%;background:#f4eee5;color:#594a42;cursor:pointer;font-size:16px;z-index:2}@keyframes sthnudgein{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
.sth-chat-panel{width:min(430px,calc(100vw - 28px));height:min(720px,calc(100vh - 42px));border-radius:20px;border-color:#e2d1b2;box-shadow:0 28px 85px rgba(0,0,0,.3)}
.sth-chat-panel header{background:linear-gradient(135deg,#171113,#24171c);padding:13px 14px}.sth-chat-brand img,.sth-chat-brand>span{width:44px;height:44px;border:2px solid #f5e3b2}.sth-chat-brand b{font-size:17px}.sth-chat-brand small{color:#d9cec9;font-size:10px}
.sth-chat-messages{padding:18px 14px 22px;background:#fbfaf7}.sth-msg{align-items:flex-end;gap:8px;margin:10px 0}.sth-msg.me{gap:0}.sth-msg-avatar{width:30px;height:30px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#fff;border:1px solid #e1d1b5;flex:0 0 30px;box-shadow:0 3px 10px rgba(0,0,0,.06)}.sth-msg-avatar img{width:100%;height:100%;object-fit:cover}
.sth-bubble-wrap{max-width:80%;display:grid}.sth-bubble{border-radius:14px;background:#f0eee9;padding:11px 13px;box-shadow:none;border:1px solid transparent}.sth-msg.bot .sth-bubble{background:#f0eee9}.sth-msg.admin .sth-bubble{background:#fff;border-color:#dfcda9}.sth-msg.me .sth-bubble{background:#078c69;border-color:#078c69;color:#fff;border-bottom-right-radius:4px}.sth-msg.bot .sth-bubble,.sth-msg.admin .sth-bubble{border-bottom-left-radius:4px}.sth-msg-time{font-size:9px;color:#998f87;margin:3px 6px 0}.sth-msg.me .sth-msg-time{text-align:right}.sth-msg-label{margin-left:5px;font-size:10px;color:#887c73}
.sth-chat-form{padding:11px 12px;background:#fff}.sth-chat-form textarea[maxlength]{min-height:48px;border-radius:16px;background:#fff;border-color:#dacbb1}.sth-chat-attach{background:#f4ecdd}.sth-chat-send{background:#171113}.sth-actions button,.sth-actions a{border-radius:10px;padding:9px 11px}.sth-chat-history-item{border-radius:12px}.sth-chat-history-open{padding:12px}
@media(max-width:640px){#sth-native-chat{right:12px;bottom:12px}.sth-chat-nudge{right:2px;bottom:78px;width:190px}.sth-chat-launch{width:64px;height:64px}.sth-chat-launch-icon{width:50px;height:50px}.sth-chat-panel{width:100vw;height:100dvh}.sth-bubble-wrap{max-width:82%}.sth-msg-avatar{width:28px;height:28px;flex-basis:28px}}


/* v1.13.0 — persistent floating receptionist, no notification badge */
.sth-chat-unread{display:none!important}
#sth-native-chat{position:fixed!important;right:max(18px,env(safe-area-inset-right))!important;bottom:max(18px,env(safe-area-inset-bottom))!important;z-index:2147482000!important}
.sth-chat-launch{width:auto!important;min-width:72px!important;height:72px!important;border-radius:999px!important;padding:7px 15px 7px 7px!important;gap:10px!important;background:linear-gradient(135deg,rgba(19,15,16,.97),rgba(40,28,31,.97))!important;border:2px solid rgba(222,178,80,.86)!important;box-shadow:0 17px 44px rgba(0,0,0,.4),0 0 0 1px rgba(255,220,132,.08),0 0 30px rgba(215,171,76,.14)!important;overflow:visible!important}
.sth-chat-launch-icon{width:56px!important;height:56px!important;border:2px solid #f2d37f!important;box-shadow:0 0 0 4px rgba(216,170,67,.14),0 0 24px rgba(222,178,80,.28)!important;animation:sthMascotGlow13 3.2s ease-in-out infinite}
.sth-chat-launch-copy{display:grid!important}.sth-chat-launch-copy b{color:#fff}.sth-chat-launch-copy small{color:#d9cfc5}
.sth-chat-pulse{animation:sthpulse13 2.6s infinite!important}
@keyframes sthpulse13{0%{box-shadow:0 0 0 0 rgba(220,178,82,.34)}70%{box-shadow:0 0 0 16px rgba(220,178,82,0)}100%{box-shadow:0 0 0 0 rgba(220,178,82,0)}}
@keyframes sthMascotGlow13{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.025);filter:brightness(1.05)}}
@media(max-width:640px){#sth-native-chat{right:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important}.sth-chat-launch{width:72px!important;min-width:72px!important;height:72px!important;padding:7px!important}.sth-chat-launch-icon{width:56px!important;height:56px!important}.sth-chat-launch-copy{display:none!important}.sth-chat-nudge{right:0}.sth-chat-panel{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;border-radius:0!important}}


/* v1.15.5 — Messenger-style guest/client chat: transcript scrolls, composer stays visible */
.sth-chat-panel.open{grid-template-rows:auto minmax(0,1fr) auto auto auto!important}
.sth-chat-messages{min-height:0;overscroll-behavior:contain;scroll-behavior:smooth}
@media(max-width:640px){
  .sth-chat-panel.open{grid-template-rows:auto minmax(0,1fr) auto auto!important}
  .sth-chat-panel footer{display:none!important}
  .sth-chat-messages{padding:12px 10px 14px!important;background:linear-gradient(#fffdfa,#f7f1e8)}
  .sth-chat-form{position:relative;z-index:20;display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px;align-items:end;gap:7px;padding:7px 8px max(8px,env(safe-area-inset-bottom))!important;background:#151113!important;border-top:1px solid #30262a!important;box-shadow:0 -8px 24px rgba(0,0,0,.14)}
  .sth-chat-form textarea[maxlength]{min-height:48px!important;max-height:108px!important;padding:13px 15px!important;border:0!important;border-radius:24px!important;background:#353033!important;color:#fff!important;font-size:16px!important;line-height:1.35!important;box-shadow:none!important}
  .sth-chat-form textarea[maxlength]::placeholder{color:#c9c2c6}
  .sth-chat-attach,.sth-chat-send{width:48px!important;height:48px!important;min-width:48px;border-radius:50%!important;margin:0!important;align-self:end}
  .sth-chat-attach{background:#2d2730!important;color:#d8aa43!important}
  .sth-chat-send{background:#d8aa43!important;color:#171113!important;font-weight:900}
  .sth-chat-typing{padding:4px 12px 6px!important;background:#f7f1e8!important}
  .sth-bubble-wrap{max-width:90%!important}
  .sth-bubble{font-size:15px!important;padding:10px 12px!important}
}


/* v1.15.6 — hard mobile/signed-in visibility + Messenger composer */
#sth-native-chat{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.sth-chat-panel.open{grid-template-rows:auto minmax(0,1fr) auto 0 0!important;position:absolute}
.sth-chat-panel.open .sth-chat-messages{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:88px!important}
.sth-chat-panel.open .sth-chat-form{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:40!important;margin:0!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -10px 28px rgba(0,0,0,.12)}
.sth-chat-panel.open>footer{display:none!important}
@media(max-width:640px){
 #sth-native-chat{right:10px!important;bottom:max(10px,env(safe-area-inset-bottom))!important}
 .sth-chat-panel,.sth-chat-panel.open{position:fixed!important;left:0!important;right:0!important;top:0!important;bottom:auto!important;width:100vw!important;height:var(--sth-chat-vh,100dvh)!important;max-height:none!important;border-radius:0!important}
 .sth-chat-panel.open .sth-chat-messages{padding:12px 10px calc(90px + env(safe-area-inset-bottom))!important}
 .sth-chat-panel.open .sth-chat-form{padding:8px 9px max(8px,env(safe-area-inset-bottom))!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:end!important;gap:7px!important}
 .sth-chat-form textarea[maxlength]{min-height:48px!important;max-height:104px!important;border-radius:24px!important;padding:12px 14px!important;font-size:16px!important}
 .sth-chat-attach,.sth-chat-send{width:48px!important;height:48px!important}
}

/* v1.17.0 — professional reference-photo upload guidance */
.sth-upload-guide{margin:0 12px 10px;padding:12px 13px;border:1px solid #e1be6d;border-radius:16px;background:linear-gradient(135deg,#fffaf0,#f7ead0);display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;box-shadow:0 12px 28px rgba(76,49,18,.10);position:relative;overflow:visible}
.sth-upload-guide[hidden]{display:none!important}.sth-upload-guide-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#171113;color:#f5d477;font-size:21px;box-shadow:0 0 0 0 rgba(216,170,67,.42);animation:sthUploadRing1170 1.8s ease-out infinite}.sth-upload-guide-copy{display:grid;gap:2px;min-width:0}.sth-upload-guide-title{font:700 13px/1.2 system-ui,sans-serif;color:#291d20}.sth-upload-guide-body{font:11px/1.4 system-ui,sans-serif;color:#6f6258}.sth-upload-guide-btn{border:0;border-radius:999px;padding:10px 13px;background:linear-gradient(180deg,#e8c35f,#c99a35);color:#17110c;font-weight:800;font-size:11px;white-space:nowrap;cursor:pointer;box-shadow:0 7px 18px rgba(177,126,30,.22);animation:sthUploadButton1170 2.4s ease-in-out infinite}.sth-upload-guide.has-photo{border-color:#93c9aa;background:linear-gradient(135deg,#f3fff7,#edf8f1)}.sth-upload-guide.has-photo .sth-upload-guide-icon{background:#176b45;color:#fff;animation:none;box-shadow:0 0 0 5px rgba(31,139,91,.10)}.sth-upload-guide.has-photo .sth-upload-guide-btn{animation:none;background:#176b45;color:#fff}.sth-chat-attach.sth-upload-attention{position:relative!important;overflow:visible!important;background:#171113!important;color:#f3cb65!important;border:2px solid #d8aa43!important;box-shadow:0 0 0 0 rgba(216,170,67,.44)!important;animation:sthUploadRing1170 1.8s ease-out infinite!important}
@keyframes sthUploadRing1170{0%{box-shadow:0 0 0 0 rgba(216,170,67,.46)}70%{box-shadow:0 0 0 13px rgba(216,170,67,0)}100%{box-shadow:0 0 0 0 rgba(216,170,67,0)}}
@keyframes sthUploadButton1170{0%,100%{transform:translateY(0);filter:brightness(1)}50%{transform:translateY(-1px);filter:brightness(1.08)}}
@media(max-width:640px){.sth-upload-guide{margin:0 8px 8px;grid-template-columns:42px minmax(0,1fr);padding:10px 11px;gap:9px}.sth-upload-guide-icon{width:42px;height:42px}.sth-upload-guide-btn{grid-column:1/-1;width:100%;min-height:42px;font-size:12px}.sth-upload-guide-title{font-size:13px}.sth-upload-guide-body{font-size:11px}.sth-chat-panel.open .sth-upload-guide{position:absolute;left:0;right:0;bottom:72px;z-index:39;margin:0 8px 8px}}
.sth-secure-form input.sth-locked-phone{background:#f2eee7!important;color:#5f554d!important;font-weight:700;border-style:dashed!important;cursor:not-allowed}
