:where(.bx-shell) *{box-sizing:border-box}
.bx-shell{margin:0;background:#f5f7f3;color:#1b322a;font:16px/1.65 system-ui,-apple-system,"Hiragino Kaku Gothic ProN",sans-serif}
:where(.bx-shell) .mast{background:white;border-bottom:1px solid #cfdbd1}
:where(.bx-shell) .mast>div,:where(.bx-shell) main{width:min(780px,calc(100% - 32px));margin:auto}
:where(.bx-shell) .mast>div,:where(.bx-shell) .top,:where(.bx-shell) .actions{display:flex;justify-content:space-between;gap:16px;align-items:center}
:where(.bx-shell) .mast>div{min-height:65px}
:where(.bx-shell) .mast b{font-size:21px}
:where(.bx-shell) .mast span,:where(.bx-shell) .note,:where(.bx-shell) .card>p{color:#475c51}
:where(.bx-shell) main{padding:28px 0 54px}
:where(.bx-shell) h1,:where(.bx-shell) h2{line-height:1.32;margin:0 0 15px}
:where(.bx-shell) h1{font-size:clamp(27px,4vw,37px)}
:where(.bx-shell) h2{font-size:21px}
:where(.bx-shell) .top{margin-bottom:18px}
:where(.bx-shell) .top h1{margin:0}
:where(.bx-shell) .card{background:white;border:1px solid #d5dfd5;border-radius:16px;padding:clamp(18px,4vw,32px);margin:14px 0}
:where(.bx-shell) .narrow{max-width:580px;margin:28px auto}
:where(.bx-shell) .card p{margin:8px 0 15px}
:where(.bx-shell) label{display:block;font-weight:630;margin:14px 0 8px}
:where(.bx-shell) input,:where(.bx-shell) textarea{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #93a69a;border-radius:7px;background:white;color:inherit;font:inherit;line-height:1.5}
:where(.bx-shell) textarea{resize:vertical}
:where(.bx-shell) .pair{border-top:1px solid #dbe2dc;padding:4px 0 12px}
:where(.bx-shell) a{color:#155a46;text-underline-offset:3px}
:where(.bx-shell) button,:where(.bx-shell) .btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #18543e;border-radius:8px;padding:11px 18px;color:white;background:#18543e;font:600 16px/1.4 system-ui;text-decoration:none;cursor:pointer}
:where(.bx-shell) button:disabled{opacity:.6}
:where(.bx-shell) .secondary{background:white;color:#18543e}
:where(.bx-shell) .actions{justify-content:flex-end}
:where(.bx-shell) .url,:where(.bx-shell) #chatlog p{overflow-wrap:anywhere}
:where(.bx-shell) .notice,:where(.bx-shell) .warn{padding:12px;border-radius:8px;background:#e8f3e9}
:where(.bx-shell) .warn{background:#fff0df;color:#793014}
:where(.bx-shell) .storelist{display:flex;gap:12px;flex-wrap:wrap}
:where(.bx-shell) .storelist a[aria-current=page]{font-weight:bold}
:where(.bx-shell) .question,:where(.bx-shell) .answer{white-space:pre-wrap;padding:12px 15px;border-radius:12px;max-width:90%}
:where(.bx-shell) .question{background:#18543e;color:white;margin-left:auto!important}
:where(.bx-shell) .answer{background:#edf2eb}
:where(.bx-shell) :focus-visible{outline:3px solid #bb670e;outline-offset:2px}
#bx-store-qr{margin:1.2rem 0}#bx-store-qr h3{margin:0;font-size:1rem}#bx-store-qr img{display:block;width:min(15rem,100%);height:auto;margin:.25rem 0 .6rem}#bx-store-qr .btn{background:white;color:#18543e}

#qa-tools[hidden],#qa-clear[hidden],#pairs .pair[hidden]{display:none}

#bxchat [hidden] {display:none}
.bx-guest-actions {display:flex;gap:.5rem;flex-wrap:wrap;margin:.65rem 0}
.bx-guest-actions button, #bx-remove-photo, #chatlog button {min-height:44px;margin:0}
#bxchat small {display:block;color:#526177;margin-bottom:.75rem}
#bxchat textarea {font-size:16px}
#bx-voice[aria-pressed="true"] {background:#8a2333;color:#fff}
.bx-photo-preview {display:flex;align-items:center;gap:.75rem;margin:.65rem 0}
.bx-photo-preview img {max-width:38%;max-height:135px;border-radius:.4rem;object-fit:contain}
#bx-media-status {margin:.5rem 0;font-size:.9rem}
#chatlog button {display:block;margin-top:.5rem}
#chatlog audio {display:block;width:100%;margin-top:.65rem}
.bx-playback-status {display:block;margin-top:.4rem;font-size:.9rem}
#bx-voice-test {margin-bottom:.65rem}

:is(.bx-tourist-guest,.bx-guest) {
    --guest-bg:#191d1b;
    --guest-panel:#222725;
    --guest-text:#e4eeea;
    --guest-muted:#aec0b8;
    --guest-line:#60766c;
    --guest-mint:#b5edda;
    color-scheme:dark;
    background:var(--guest-bg);
    color:var(--guest-text);
}
:is(.bx-tourist-guest,.bx-guest) .mast {background:var(--guest-bg);border-color:#37463e}
:is(.bx-tourist-guest,.bx-guest) .mast b {color:var(--guest-mint)}
:is(.bx-tourist-guest,.bx-guest) .mast span,:is(.bx-tourist-guest,.bx-guest) .card>p {color:var(--guest-muted)}
:is(.bx-tourist-guest,.bx-guest) main {width:min(580px,calc(100% - 24px));padding-top:16px}
:is(.bx-tourist-guest,.bx-guest) .card {margin:0 auto;padding:clamp(14px,4vw,24px);background:var(--guest-panel);border-color:#445850}
:is(.bx-tourist-guest,.bx-guest) h1 {font-size:clamp(21px,5.5vw,30px);margin-bottom:.35rem}
:is(.bx-tourist-guest,.bx-guest) #chatlog {padding:0}
:is(.bx-tourist-guest,.bx-guest) #bxchat label {margin:1rem 0 .55rem}
:is(.bx-tourist-guest,.bx-guest) #bxchat textarea {min-height:86px;background:var(--guest-bg);border-color:var(--guest-line);border-radius:12px}
:is(.bx-tourist-guest,.bx-guest) textarea::placeholder {color:var(--guest-muted)}
:is(.bx-tourist-guest,.bx-guest) .bx-guest-actions {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(4px,1.7vw,10px);margin:0 0 .7rem}
:is(.bx-tourist-guest,.bx-guest) .bx-guest-actions button {min-width:0;min-height:64px;padding:7px 2px;flex-direction:column;gap:4px;border-radius:10px;font-size:clamp(11px,3.4vw,14px);line-height:1.15;overflow-wrap:anywhere}
:is(.bx-tourist-guest,.bx-guest) .bx-guest-actions svg {width:23px;height:23px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:is(.bx-tourist-guest,.bx-guest) .secondary {color:var(--guest-mint);background:var(--guest-bg);border-color:#8ab6a6}
:is(.bx-tourist-guest,.bx-guest) .bx-guest-actions [type=submit] {grid-column:-2;color:#142820;background:var(--guest-mint);border-color:var(--guest-mint)}
:is(.bx-tourist-guest,.bx-guest) #bx-voice {grid-column:1}
:is(.bx-tourist-guest,.bx-guest) #bx-take-photo {grid-column:2}
:is(.bx-tourist-guest,.bx-guest) #bx-select-photo {grid-column:3}
:is(.bx-tourist-guest,.bx-guest) #bx-voice[aria-pressed="true"] {background:#552f37;border-color:#e5a2ab;color:#ffe8ec}
:is(.bx-tourist-guest,.bx-guest) #bx-voice[aria-pressed="true"] svg {visibility:hidden}
:is(.bx-tourist-guest,.bx-guest) #bx-voice[aria-pressed="true"] {position:relative}
:is(.bx-tourist-guest,.bx-guest) #bx-voice[aria-pressed="true"]::before {content:"";position:absolute;top:12px;left:50%;width:13px;height:13px;border-radius:2px;background:currentColor;transform:translateX(-50%)}
:is(.bx-tourist-guest,.bx-guest) #bx-media-status {color:var(--guest-mint)}
:is(.bx-tourist-guest,.bx-guest) #bxchat small,:is(.bx-tourist-guest,.bx-guest) .bx-audio-test {color:var(--guest-muted);font-size:.82rem}
:is(.bx-tourist-guest,.bx-guest) .bx-audio-test summary {cursor:pointer;min-height:36px;padding:.35rem 0}
:is(.bx-tourist-guest,.bx-guest) #bx-voice-send {margin:0 0 .5rem}
:is(.bx-tourist-guest,.bx-guest) .answer {background:#2c3831}
:is(.bx-tourist-guest,.bx-guest) a {color:var(--guest-mint)}

.bx-guest .bx-guest-actions-compact {grid-template-columns:repeat(2,minmax(0,1fr))}
.bx-photo-config {display:flex;align-items:flex-start;gap:.55rem}
.bx-photo-config input {width:auto;margin:.35em 0 0;padding:0}

.bx-embedded {margin:.9rem 0 0;border-radius:14px}
.bx-embedded .card {max-width:none}
.bx-guest-links {display:flex;flex-wrap:wrap;gap:.55rem 1rem}

#la-desk .bx-embedded #chatlog > :is(.question,.answer) {
    color:var(--guest-text);
    line-height:1.55;
    margin:0 0 .7rem;
    padding:.7rem .85rem;
}
#la-desk .bx-embedded #chatlog > .question {color:#fff}
#la-desk .bx-embedded #chatlog > .answer a {color:var(--guest-mint)}
#la-desk .bx-embedded #chatlog > .answer audio {
    display:block;
    max-width:100%;
    height:44px;
    margin:.75rem 0 0;
}
