/* Change 09: approved reference layout adapted to the CURRENT live chat.
   Only active under .sl-layout-v3. Source of truth remains existing JS/API. */
html.sl-layout-v3{--sl09-bg:#fff;--sl09-surface:#f6f5f1;--sl09-ink:#141413;--sl09-muted:#666661;--sl09-line:#e6e5e0;--sl09-user:#eef2ff;--sl09-blue:#2455ce;--sl09-faint:#8b8a83;color-scheme:light}
html.sl-layout-v3[data-theme=dark]{--sl09-bg:#111;--sl09-surface:#1b1b1a;--sl09-ink:#f3f3f0;--sl09-muted:#aeaea8;--sl09-line:#31312d;--sl09-user:#202639;--sl09-blue:#87abff;--sl09-faint:#898984;color-scheme:dark}
html.sl-layout-v3,html.sl-layout-v3 body{background:var(--sl09-bg)!important;color:var(--sl09-ink)!important;overflow:hidden}
html.sl-layout-v3 #shoplink-creator-app{
 --bg:var(--sl09-bg);--card:var(--sl09-surface);--card-h:var(--sl09-surface);--line:var(--sl09-line);--line2:var(--sl09-line);--ink:var(--sl09-ink);--mute:var(--sl09-muted);--mute2:var(--sl09-faint);--blue:var(--sl09-blue);
 display:grid!important;grid-template-columns:288px minmax(0,1fr)!important;gap:0!important;
 width:100%;max-width:none;height:100vh;height:100dvh;min-height:0;padding:0!important;
 background:var(--sl09-bg)!important;color:var(--sl09-ink)!important;transition:none!important
}
html.sl-layout-v3 #shoplink-creator-app .main{position:relative;display:flex!important;flex-direction:column!important;height:100%;min-height:0;overflow:hidden;border-right:1px solid var(--sl09-line);padding:0!important;background:var(--sl09-bg)}
html.sl-layout-v3 #shoplink-creator-app .main-content{display:flex!important;flex-direction:column;gap:0!important;min-height:0;height:100%;width:100%;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:none!important}
html.sl-layout-v3 #shoplink-creator-app .panel-rail,html.sl-layout-v3 #shoplink-creator-app .panel-collapse{display:none!important}
html.sl-layout-v3 #shoplink-creator-app .main .top{display:flex;flex:0 0 64px;height:64px;padding:0 20px;align-items:center;justify-content:flex-start;margin:0}
html.sl-layout-v3 #shoplink-creator-app .main .top nav{display:none!important}
html.sl-layout-v3 #shoplink-creator-app .brand{color:var(--sl09-ink);font-size:17px;gap:9px}
html.sl-layout-v3 #shoplink-creator-app .brand img{border-radius:9px;width:32px;height:32px}
html.sl-layout-v3 #shoplink-creator-app .hero,
html.sl-layout-v3 #shoplink-creator-app .cats,
html.sl-layout-v3 #shoplink-creator-app .steps,
html.sl-layout-v3 #shoplink-creator-app .v3-footnote,
html.sl-layout-v3 #shoplink-creator-app .bar,
html.sl-layout-v3 #shoplink-creator-app .seo-panel{display:none!important}
html.sl-layout-v3 #shoplink-creator-app .sl09-sideheading{display:flex;flex:0 0 auto;align-items:baseline;justify-content:space-between;gap:4px;padding:10px 14px 7px}
html.sl-layout-v3 #shoplink-creator-app .sl09-sideheading strong{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--sl09-muted);white-space:nowrap;letter-spacing:.035em}
html.sl-layout-v3 #shoplink-creator-app .sl09-sideheading span{font-size:10px;color:var(--sl09-faint);white-space:nowrap}
html.sl-layout-v3 #shoplink-creator-app .main-content .shoplink-board-desktop{
 position:relative!important;display:block!important;width:100%!important;max-width:none!important;
 height:auto!important;max-height:none!important;min-height:0;flex:1 1 auto;overflow:visible!important;
 top:auto!important;bottom:auto!important;left:auto!important;--board-size:46px;--board-gap:3px
}
html.sl-layout-v3 #shoplink-creator-app .sl09-sidefoot{flex:0 0 auto;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--sl09-line);padding:14px 16px 17px}
html.sl-layout-v3 #shoplink-creator-app .sl09-sidefoot button{min-height:44px;border:0;border-radius:12px;color:var(--sl09-bg);background:var(--sl09-ink);font-weight:700;font-size:13px;padding:0 12px}
html.sl-layout-v3 #shoplink-creator-app .sl09-sidefoot .links{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--sl09-muted)}
html.sl-layout-v3 #shoplink-creator-app .sl09-sidefoot .links a{color:inherit;text-decoration:none}
html.sl-layout-v3 #shoplink-creator-app .sl09-sidefoot .links a:hover{text-decoration:underline}
html.sl-layout-v3 #shoplink-creator-app .chat{
 display:flex!important;flex-direction:column;gap:0!important;position:relative;width:100%;height:100%;min-height:0;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 background:var(--sl09-bg)!important;box-shadow:none!important;overflow:hidden
}
html.sl-layout-v3 #shoplink-creator-app .chat-head{
 display:flex;flex:0 0 64px!important;height:64px;min-height:64px;width:100%!important;max-width:none!important;
 padding:0 20px!important;margin:0!important;border-bottom:1px solid var(--sl09-line);gap:10px;
 align-items:center;background:var(--sl09-bg)!important;position:relative;z-index:6
}
html.sl-layout-v3 #shoplink-creator-app .chat-head>img{display:none}
html.sl-layout-v3 #shoplink-creator-app .chat-head .who{
 flex:0 1 auto;margin-left:auto;display:flex;max-width:310px;min-width:0;gap:9px;flex-direction:column;
 padding:7px 14px 7px 48px;border:1px solid var(--sl09-line);border-radius:22px;position:relative;line-height:1.15
}
html.sl-layout-v3 #shoplink-creator-app .chat-head .who::before{
 content:'AI';position:absolute;left:6px;top:50%;transform:translateY(-50%);
 display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-weight:750;
 background:var(--sl09-surface);color:var(--sl09-blue);font-size:12px
}
html.sl-layout-v3 #shoplink-creator-app .chat-head .who b{font-size:13px}
html.sl-layout-v3 #shoplink-creator-app .chat-head .who span{font-size:10.5px;overflow:hidden;text-overflow:ellipsis;color:var(--sl09-muted)}
html.sl-layout-v3 #shoplink-creator-app .chat-head .who span::before{background:#28835a}
html.sl-layout-v3 #shoplink-creator-app .headbtns{flex:0 0 auto;gap:8px;display:flex;align-items:center}
html.sl-layout-v3 #shoplink-creator-app .mine{display:flex;height:40px;border:0;border-radius:11px;background:var(--sl09-ink);color:var(--sl09-bg);padding:0 14px;gap:8px}
html.sl-layout-v3 #shoplink-creator-app .mine:hover{filter:brightness(.88)}
html.sl-layout-v3 #shoplink-creator-app .mine svg{width:16px;height:16px}
html.sl-layout-v3 #shoplink-creator-app .more,html.sl-layout-v3 #shoplink-creator-app .sl09-new{
 height:40px;min-width:40px;width:auto;flex:0 0 auto;padding:0 12px;border:1px solid var(--sl09-line);
 border-radius:11px;background:transparent;color:var(--sl09-ink);font-weight:650;font-size:13px
}
html.sl-layout-v3 #shoplink-creator-app .more{width:40px;padding:0}
html.sl-layout-v3 #shoplink-creator-app .sl09-new:hover,
html.sl-layout-v3 #shoplink-creator-app .more:hover{background:var(--sl09-surface)}
html.sl-layout-v3 #shoplink-creator-app .sl09-mobile-title{display:none}
html.sl-layout-v3 #shoplink-creator-app .menu{
 top:46px;right:0;min-width:230px;background:var(--sl09-bg);border:1px solid var(--sl09-line);
 box-shadow:0 10px 35px #0003;z-index:40
}
html.sl-layout-v3 #shoplink-creator-app .menu-extra{display:block!important}
html.sl-layout-v3 #shoplink-creator-app .menu a,
html.sl-layout-v3 #shoplink-creator-app .menu button{color:var(--sl09-ink)}
html.sl-layout-v3 #shoplink-creator-app .thread{
 flex:1 1 auto!important;min-height:0;align-self:center;width:100%!important;max-width:760px!important;
 margin:0 auto!important;padding:22px 24px 25px!important;display:flex;flex-direction:column;gap:14px;
 overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;background:transparent!important;scroll-padding-bottom:18px
}
html.sl-layout-v3 #shoplink-creator-app .msg{max-width:100%;width:100%;align-self:auto;flex:0 0 auto;margin:0;align-items:flex-start}
html.sl-layout-v3 #shoplink-creator-app .msg.user{align-self:stretch;align-items:flex-end}
html.sl-layout-v3 #shoplink-creator-app .msg.ai.receiving,html.sl-layout-v3 #shoplink-creator-app .msg.ai.complete{width:100%;max-width:100%}
html.sl-layout-v3 #shoplink-creator-app .bubble{font-size:15.5px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
html.sl-layout-v3 #shoplink-creator-app .bubble.ai{
 max-width:100%;width:100%;padding:1px 0!important;border:0!important;border-radius:0!important;
 background:none!important;box-shadow:none!important;color:var(--sl09-ink)!important
}
html.sl-layout-v3 #shoplink-creator-app .bubble.user{width:auto;max-width:78%;background:var(--sl09-user)!important;color:var(--sl09-ink)!important;border:0;border-radius:19px 19px 6px 19px;padding:11px 16px!important;box-shadow:none}
html.sl-layout-v3 #shoplink-creator-app .acts{margin:5px 0 0 0}
html.sl-layout-v3 #shoplink-creator-app .act{color:var(--sl09-muted)}
html.sl-layout-v3 #shoplink-creator-app .pending .bubble{min-height:28px}
html.sl-layout-v3 #shoplink-creator-app .tobottom{bottom:134px!important;background:var(--sl09-surface);border-color:var(--sl09-line);color:var(--sl09-ink);z-index:5}
html.sl-layout-v3 #shoplink-creator-app .chips{display:none!important}
html.sl-layout-v3 #shoplink-creator-app .legal-note{
 flex:0 0 auto;align-self:center;width:min(760px,calc(100% - 40px))!important;max-width:none!important;
 min-height:20px;line-height:1.4;margin:6px auto 11px!important;font-size:11px;white-space:nowrap;
 text-align:center;color:var(--sl09-muted)
}
html.sl-layout-v3 #shoplink-creator-app .legal-note a{color:inherit}
html.sl-layout-v3 #shoplink-creator-app .attachment-tray,
html.sl-layout-v3 #shoplink-creator-app .voice-status{max-width:760px;width:calc(100% - 40px);align-self:center;margin:5px auto}
html.sl-layout-v3 #shoplink-creator-app .composer{
 flex:0 0 auto!important;min-height:64px;max-height:224px;height:auto!important;
 align-self:center;align-items:flex-end;gap:6px;width:min(760px,calc(100% - 40px))!important;
 max-width:none!important;margin:4px auto 0!important;padding:8px 9px 8px 8px!important;
 border:1px solid var(--sl09-line)!important;border-radius:21px!important;background:var(--sl09-bg)!important;
 box-shadow:0 5px 22px #0000000b!important
}
html.sl-layout-v3 #shoplink-creator-app .composer:focus-within{border-color:var(--sl09-blue)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--sl09-blue) 15%,transparent)!important}
html.sl-layout-v3 #shoplink-creator-app #creator-input{
 box-sizing:border-box;flex:1 1 auto;display:block;min-height:40px;height:40px;max-height:180px;
 padding:9px 6px!important;margin:0;border:0;background:transparent;outline:0!important;resize:none;
 color:var(--sl09-ink)!important;line-height:1.5;font-size:15.5px;font-family:inherit;overflow-y:auto
}
html.sl-layout-v3 #shoplink-creator-app .composer .attach,
html.sl-layout-v3 #shoplink-creator-app .composer .mic,
html.sl-layout-v3 #shoplink-creator-app .composer .send{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:0;border-radius:12px}
html.sl-layout-v3 #shoplink-creator-app .composer .attach,
html.sl-layout-v3 #shoplink-creator-app .composer .mic{background:transparent;color:var(--sl09-muted)}
html.sl-layout-v3 #shoplink-creator-app .composer .send{background:var(--sl09-blue);color:#fff}
html.sl-layout-v3 #shoplink-creator-app .composer .send svg{stroke:#fff}
html.sl-layout-v3 #shoplink-creator-app .sl09-empty{margin:auto 0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:240px;padding:18px 6px}
html.sl-layout-v3 #shoplink-creator-app .sl09-empty h1{font-size:clamp(25px,3vw,38px);line-height:1.18;letter-spacing:-.035em;margin:0 0 10px}
html.sl-layout-v3 #shoplink-creator-app .sl09-empty p{max-width:510px;color:var(--sl09-muted);margin:0 0 22px;font-size:14px;line-height:1.55}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(560px,100%);gap:10px}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick button{text-align:left;padding:14px 15px;display:flex;gap:12px;align-items:center;background:transparent;border:1px solid var(--sl09-line);border-radius:15px;color:var(--sl09-ink)}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick button:hover{background:var(--sl09-surface)}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick .icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:var(--sl09-surface);font-size:18px}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick b{display:block;font-size:13.5px}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick small{display:block;color:var(--sl09-muted);font-size:12px;line-height:1.3;margin-top:2px}
html.sl-layout-v3 #sl-i18n04-control{display:flex;position:static!important;margin:0!important;order:0;max-width:44px}
html.sl-layout-v3 #shoplink-creator-app :focus-visible{outline:2px solid var(--sl09-blue)!important;outline-offset:2px}
@media (max-width:1023px){
 html.sl-layout-v3 #shoplink-creator-app{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr);overflow:hidden!important;scroll-snap-type:none!important}
 html.sl-layout-v3 #shoplink-creator-app .main{display:none!important}
 html.sl-layout-v3 #shoplink-creator-app .chat{height:100%!important;min-height:0;padding:0!important}
 html.sl-layout-v3 #shoplink-creator-app .chat-head{flex:0 0 56px!important;height:56px;min-height:56px;padding:0 12px 0 16px!important;border-bottom:0}
 html.sl-layout-v3 #shoplink-creator-app .chat-head .who{display:none!important}
 html.sl-layout-v3 #shoplink-creator-app .sl09-new{display:none!important}
 html.sl-layout-v3 #shoplink-creator-app .sl09-mobile-title{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:750;letter-spacing:-.025em;white-space:nowrap;min-width:0;flex:1 1 auto}
 html.sl-layout-v3 #shoplink-creator-app .sl09-mobile-title .mark{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:var(--sl09-ink);color:var(--sl09-bg);font-size:13px;font-weight:900}
 html.sl-layout-v3 #shoplink-creator-app .headbtns{gap:6px}
 html.sl-layout-v3 #shoplink-creator-app .mine{width:38px;height:38px;min-width:38px;padding:0;justify-content:center;background:transparent;border:1px solid var(--sl09-line);color:var(--sl09-ink)}
 html.sl-layout-v3 #shoplink-creator-app .mine .mt{display:none!important}
 html.sl-layout-v3 #shoplink-creator-app .more{width:38px;height:38px;min-width:38px}
 html.sl-layout-v3 #shoplink-creator-app .shoplink-board-mobile{
  display:block!important;position:relative;flex:0 0 auto;width:100%;max-width:100%;
  height:111px;max-height:111px;min-height:0;--board-size:54px;--board-gap:10px;
  transition:height .24s,max-height .24s,opacity .22s;overflow:hidden
 }
 html.sl-layout-v3 #shoplink-creator-app .chat.sl09-board-closed .shoplink-board-mobile{
  height:0!important;max-height:0!important;opacity:0;pointer-events:none
 }
 html.sl-layout-v3 #shoplink-creator-app .thread{width:100%!important;max-width:760px!important;padding:10px 16px 24px!important;gap:12px}
 html.sl-layout-v3 #shoplink-creator-app .msg .bubble{font-size:15px}
 html.sl-layout-v3 #shoplink-creator-app .bubble.user{max-width:86%}
 html.sl-layout-v3 #shoplink-creator-app .sl09-empty{justify-content:flex-start;margin:auto 0;padding:18px 4px}
 html.sl-layout-v3 #shoplink-creator-app .sl09-empty h1{font-size:28px}
 html.sl-layout-v3 #shoplink-creator-app .sl09-empty p{margin-bottom:18px;font-size:13.5px}
 html.sl-layout-v3 #shoplink-creator-app .sl09-quick{grid-template-columns:1fr;gap:8px}
 html.sl-layout-v3 #shoplink-creator-app .sl09-quick button{padding:11px 13px}
 html.sl-layout-v3 #shoplink-creator-app .composer{width:calc(100% - 20px)!important;min-height:56px;margin:3px auto 0!important;padding:6px!important}
 html.sl-layout-v3 #shoplink-creator-app .composer .attach,
 html.sl-layout-v3 #shoplink-creator-app .composer .mic,
 html.sl-layout-v3 #shoplink-creator-app .composer .send{width:38px;height:38px;flex-basis:38px}
 html.sl-layout-v3 #shoplink-creator-app .legal-note{width:calc(100% - 20px)!important;font-size:10.5px;line-height:1.3;min-height:16px;margin:5px auto calc(8px + env(safe-area-inset-bottom))!important}
 html.sl-layout-v3 #shoplink-creator-app .legal-note .sup{display:none}
 html.sl-layout-v3 #shoplink-creator-app .legal-note .lx2{display:none}
 html.sl-layout-v3 #shoplink-creator-app .tobottom{bottom:104px!important}
}
@media (max-width:374px){
 html.sl-layout-v3 #shoplink-creator-app .sl09-mobile-title{font-size:15px}
 html.sl-layout-v3 #shoplink-creator-app .headbtns{gap:4px}
 html.sl-layout-v3 #shoplink-creator-app .sl09-quick button{padding:9px 12px}
}
@media (max-height:570px) and (max-width:1023px){
 html.sl-layout-v3 #shoplink-creator-app .sl09-empty h1{font-size:22px}
 html.sl-layout-v3 #shoplink-creator-app .sl09-empty p{margin-bottom:8px}
 html.sl-layout-v3 #shoplink-creator-app .sl09-quick{gap:6px}
}
@media (prefers-reduced-motion:reduce){html.sl-layout-v3 #shoplink-creator-app .shoplink-board-mobile{transition:none!important}}
