#ll-ai-launch{position:fixed;right:20px;bottom:20px;z-index:99998;background:#191841;color:#fff;border:0;padding:16px 22px;cursor:pointer;box-shadow:0 5px 22px #0002}#ll-ai-panel{position:fixed;right:20px;bottom:20px;z-index:99999;width:min(410px,calc(100vw - 32px));height:min(680px,calc(100dvh - 40px));background:#fff;box-shadow:0 12px 50px #0003;display:flex;flex-direction:column;color:#242328;font-family:inherit}#ll-ai-panel[hidden]{display:none}#ll-ai-panel *{box-sizing:border-box}#ll-ai-panel .ll-head{background:#191841;color:#fff;padding:18px;display:flex;justify-content:space-between;align-items:center}#ll-ai-panel .ll-head button{background:none;border:0;color:#fff;font-size:26px;cursor:pointer}#ll-ai-panel .ll-body{overflow:auto;flex:1;padding:20px}#ll-ai-panel .ll-title{font-family:serif;font-size:22px;line-height:1.5}#ll-ai-panel .ll-note{font-size:12px;color:#555;line-height:1.7}#ll-ai-panel .ll-topics{display:flex;flex-wrap:wrap;gap:8px}#ll-ai-panel .ll-topics button,#ll-ai-panel .ll-link{border:1px solid #d8d5d3;background:white;color:#242328;padding:10px;cursor:pointer;font-size:13px;text-decoration:none;display:inline-block;margin:3px}#ll-ai-panel .ll-msg{padding:12px;background:#f5f4f1;line-height:1.7;font-size:14px;white-space:pre-wrap;margin:12px 0}#ll-ai-panel .ll-user{background:#eeeef4;margin-left:30px}#ll-ai-panel form{border-top:1px solid #ddd;display:flex;padding:12px;gap:8px}#ll-ai-panel form input{min-width:0;flex:1;padding:10px;font-size:16px}#ll-ai-panel form button{background:#191841;color:#fff;border:0;padding:0 15px}#ll-ai-panel a{color:#191841}@media(max-width:600px){#ll-ai-panel{inset:0;width:100%;height:100dvh}#ll-ai-launch{right:16px;bottom:16px}}

#ll-ai-panel .ll-action{border:1px solid #60283b;background:white;color:#242328;padding:10px 12px;cursor:pointer;font-size:13px;margin:8px 0}

#ll-ai-panel .ll-consent{display:flex;align-items:flex-start;gap:8px;margin:14px 0;font-size:12px;line-height:1.6;color:#444}#ll-ai-panel .ll-consent[hidden]{display:none}#ll-ai-panel .ll-consent input{flex:none;margin:3px 0 0}

#ll-ai-panel .ll-body{position:relative;overscroll-behavior:contain}
#ll-ai-panel .ll-result{margin:18px 0 8px;border:1px solid #e4ded9;border-top:3px solid #60283b;background:#fff;padding:20px 18px;color:#242328}
#ll-ai-panel .ll-result-label{font-size:17px;font-weight:700;letter-spacing:.04em;color:#191841}
#ll-ai-panel .ll-result-note{margin:8px 0 18px;color:#666;font-size:12px;line-height:1.7}
#ll-ai-panel .ll-result-item{padding:14px 0;border-top:1px solid #eeeae6;font-size:15px;line-height:1.85;overflow-wrap:anywhere}
#ll-ai-panel .ll-result-item strong{display:block;margin-bottom:5px;color:#60283b;font-size:14px}
#ll-ai-panel .ll-result-item p{margin:0;white-space:pre-wrap}
#ll-ai-panel .ll-result-item:last-child{padding-bottom:2px}

#ll-ai-panel .ll-head-actions{display:flex;align-items:center;gap:14px;flex:none}#ll-ai-panel .ll-head-actions a{color:#fff;font-size:12px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}#ll-ai-panel .ll-head-actions button{line-height:1;padding:0}
@media(max-width:600px){#ll-ai-panel .ll-head{gap:8px;padding:16px}#ll-ai-panel .ll-head strong{font-size:15px;line-height:1.4}#ll-ai-panel .ll-head-actions{gap:10px}}

#ll-ai-panel .ll-result-item p+p{margin-top:8px}
#ll-ai-panel .ll-head-actions a{display:inline-flex;align-items:center;min-height:44px}
#ll-ai-panel .ll-head-actions button{min-width:44px;min-height:44px}
#ll-ai-panel .ll-intro{font-size:14px;line-height:1.6;color:#444;margin:10px 0}
#ll-ai-panel .ll-topic-options{margin:12px 0;color:#191841}
#ll-ai-panel .ll-topic-options summary{cursor:pointer;font-size:13px;font-weight:600;padding:10px 0}
#ll-ai-panel .ll-note{font-size:12px;line-height:1.55;margin:8px 0 14px}
#ll-ai-panel .ll-result{border:0;border-top:3px solid #60283b;background:#faf9f7;padding:18px 16px}
#ll-ai-panel .ll-result-item{font-size:14px;line-height:1.75}
#ll-ai-panel .ll-result-details{margin-top:14px;border-top:1px solid #ddd5d2;padding-top:14px}
#ll-ai-panel .ll-result-details summary{cursor:pointer;color:#60283b;font-weight:700;padding:8px 0}
#ll-ai-panel .ll-result-details .ll-result-item p+p{margin-top:10px}
@media(max-width:600px){#ll-ai-panel .ll-body{padding:16px}#ll-ai-panel .ll-note{font-size:11px}#ll-ai-panel .ll-result{padding:15px 14px}}

#ll-ai-panel .ll-title{white-space:nowrap;font-size:clamp(17px,5vw,22px)}

#ll-ai-panel{height:auto;max-height:min(680px,calc(100dvh - 40px))}
#ll-ai-panel .ll-body{flex:0 1 auto;min-height:0;padding:16px 18px 4px}
#ll-ai-panel .ll-intro{margin:6px 0 12px}
#ll-ai-panel .ll-topics{gap:6px}
#ll-ai-panel .ll-topics button{margin:0;padding:9px;font-size:13px}
#ll-ai-panel .ll-input-guide{font-size:13px;color:#555;margin:14px 0 0}
#ll-ai-panel form{padding:8px 18px;border-top:0}
#ll-ai-panel>.ll-note{padding:0 18px 14px;margin:0;font-size:11px}
@media(max-width:600px){#ll-ai-panel{inset:auto 0 0;width:100%;height:auto;max-height:100dvh}#ll-ai-panel .ll-body{padding:14px 16px 4px}#ll-ai-panel form{padding:8px 16px}#ll-ai-panel>.ll-note{padding:0 16px 12px}}

#ll-ai-panel .ll-input-guide{margin:28px 0 0}
#ll-ai-panel form{padding-top:12px;padding-bottom:0}
#ll-ai-panel>.ll-note{padding-top:18px;padding-bottom:24px;font-size:10.5px;line-height:1.7}
@media(max-width:600px){#ll-ai-panel .ll-input-guide{margin-top:24px}#ll-ai-panel form{padding-top:12px;padding-bottom:0}#ll-ai-panel>.ll-note{padding-top:16px;padding-bottom:24px;font-size:10.5px;line-height:1.7}}

#ll-ai-launch{background:#6b2737;color:#fff;border:0}
#ll-ai-launch:hover{background-image:linear-gradient(#0003,#0003)}

@media (min-width:601px){#ll-ai-launch{box-sizing:border-box;width:159px;height:44px;padding:0;font-size:13px;font-weight:700;line-height:1.35}}

@media (min-width:601px){#ll-ai-panel{width:min(480px,calc(100vw - 32px))}}

#ll-ai-panel .ll-result-item strong{margin-bottom:14px}
#ll-ai-panel .ll-result-item{padding:24px 0}
#ll-ai-panel .ll-result-item p+p{margin-top:14px}
#ll-ai-panel .ll-result-bullet{padding-left:1em;position:relative}
#ll-ai-panel .ll-result-bullet::before{content:"・";position:absolute;left:0}

#ll-ai-panel .ll-back{border:0;background:transparent;color:#625a60;padding:10px 8px;cursor:pointer;font-size:13px;text-decoration:underline;text-underline-offset:3px}

/* Consultation text and waiting state: DOM-only rendering, no HTML execution. */
#ll-ai-panel .ll-body [hidden]{display:none!important}
#ll-ai-panel .ll-rich{white-space:normal;overflow-wrap:anywhere}
#ll-ai-panel .ll-rich p{margin:0 0 .8em;line-height:1.75}
#ll-ai-panel .ll-rich p:last-child{margin-bottom:0}
#ll-ai-panel .ll-rich h3{font-size:1em;line-height:1.5;margin:0 0 .5em;color:#191841}
#ll-ai-panel .ll-rich ul,#ll-ai-panel .ll-rich ol{margin:.35em 0 .8em;padding-left:1.5em}
#ll-ai-panel .ll-rich li{margin:.25em 0;line-height:1.7}
#ll-ai-panel .ll-send-state{display:block;font-size:12px;color:#6a6267;margin-top:4px}
#ll-ai-panel .ll-waiting{background:transparent;color:#625a60;font-size:13px;padding:4px 12px}

/* Isolated two-entry layout; constrain WordPress theme typography and scrolling. */
#ll-ai-panel{height:min(680px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);min-height:0;overflow:hidden;font-size:14px;line-height:1.5}
#ll-ai-panel [hidden]{display:none!important}
#ll-ai-panel .ll-head{flex:none;padding:12px 16px}#ll-ai-panel .ll-head strong{font-size:15px;line-height:1.4}
#ll-ai-panel .ll-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:20px 18px;overflow-wrap:anywhere}
#ll-ai-panel .ll-title{white-space:normal;font-size:19px;line-height:1.45}#ll-ai-panel .ll-topics{display:grid;gap:10px;margin:18px 0}
#ll-ai-panel .ll-topics .ll-entry{display:block;width:100%;margin:0;padding:16px;text-align:left;border:1px solid #ded9dc;border-radius:5px;background:#fff;color:#242328;line-height:1.5}
#ll-ai-panel .ll-entry strong,#ll-ai-panel .ll-entry span{display:block}#ll-ai-panel .ll-entry strong{font-size:15px;color:#60283b}#ll-ai-panel .ll-entry span{font-size:12px;margin-top:4px;color:#5c5860}
#ll-ai-panel .ll-entry:hover,#ll-ai-panel .ll-entry:focus-visible{border-color:#60283b;background:#fbf8f8}
#ll-ai-panel form{flex:none;padding:8px 16px;gap:8px}#ll-ai-panel form input{width:0;min-width:0;min-height:44px;font-size:16px;line-height:1.4}#ll-ai-panel form button{flex:none;min-width:64px;min-height:44px;font-size:14px}
#ll-ai-panel .ll-controls{flex:none;display:flex;flex-wrap:wrap;gap:0 14px;padding:0 16px}#ll-ai-panel .ll-controls .ll-action{appearance:none;border:0;background:transparent;color:#62535b;padding:6px 0;margin:0;font-size:12px;line-height:1.4;text-decoration:underline;text-underline-offset:3px;min-height:32px}
#ll-ai-panel>.ll-note{flex:none;padding:4px 16px 12px;margin:0;font-size:11px;line-height:1.5}#ll-ai-panel .ll-msg{font-size:14px;line-height:1.7;overflow-wrap:anywhere}#ll-ai-panel .ll-rich h3{font-size:15px;line-height:1.5}
@media(max-width:600px){#ll-ai-panel{inset:0;width:100%;height:100dvh;max-height:100dvh}#ll-ai-panel .ll-body{padding:16px}#ll-ai-panel>.ll-note{padding-bottom:max(10px,env(safe-area-inset-bottom))}}

#ll-du[data-mode=''] .ll-du-finish,#ll-du[data-mode=''] .ll-du-new,#ll-du[data-mode='guide'] .ll-du-finish{display:none!important}

/* Readable message blocks and safe, independently scrollable Markdown tables. */
#ll-ai-panel .ll-rich{line-height:1.75}
#ll-ai-panel .ll-rich p,#ll-ai-panel .ll-rich ul,#ll-ai-panel .ll-rich ol,#ll-ai-panel .ll-rich .ll-table-wrap{margin:0 0 1em}
#ll-ai-panel .ll-rich h3{margin:1.15em 0 .55em;font-size:15px;line-height:1.5}
#ll-ai-panel .ll-rich h3:first-child{margin-top:0}#ll-ai-panel .ll-rich li{margin:.3em 0;line-height:1.75}
#ll-ai-panel .ll-rich>:last-child{margin-bottom:0}
#ll-ai-panel .ll-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border:1px solid #ded9dc;border-radius:4px}
#ll-ai-panel .ll-rich table{width:max-content;min-width:100%;max-width:none;margin:0;border-collapse:collapse;table-layout:auto;background:#fff;font-size:13px;line-height:1.65}
#ll-ai-panel .ll-rich th,#ll-ai-panel .ll-rich td{min-width:130px;max-width:260px;padding:9px 11px;border:1px solid #e6e1e3;text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;color:#242328;font-size:13px;line-height:1.65}
#ll-ai-panel .ll-rich th{background:#f3eff1;color:#492b37;font-weight:700}#ll-ai-panel .ll-table-wrap:focus-visible{outline:2px solid #60283b;outline-offset:2px}
#ll-ai-panel .ll-controls .ll-du-guide{order:1}#ll-ai-panel .ll-controls .ll-du-new{order:2}#ll-ai-panel .ll-controls .ll-du-finish{order:3;margin-left:auto;color:#60283b;font-weight:700}#ll-ai-panel .ll-controls .ll-du-previous,#ll-ai-panel .ll-controls .ll-du-resume,#ll-ai-panel .ll-controls .ll-du-consult,#ll-ai-panel .ll-controls .ll-du-back-consult{order:0}
#ll-ai-panel .ll-rich .ll-table-hint{font-size:11px;line-height:1.4;color:#625a60;margin:0 0 5px}

/* Preserve ordinary desktop tables; use labeled rows for short descriptive tables on small screens. */
@media(max-width:600px){
#ll-ai-panel .ll-rich .ll-table-hint[data-layout="cards"]{display:none}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"]{overflow:visible;border:0;border-radius:0}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] table,#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] tbody{display:block;width:100%;min-width:0;max-width:100%;background:transparent}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] tr{display:block;margin:0 0 10px;border:1px solid #ded9dc;border-radius:4px;background:#fff}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] tr:last-child{margin-bottom:0}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] td{display:grid;grid-template-columns:minmax(0,7em) minmax(0,1fr);gap:10px;min-width:0;max-width:none;width:100%;padding:9px 11px;border:0;border-top:1px solid #ece8e9;line-height:1.65}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] td:first-child{border-top:0}
#ll-ai-panel .ll-rich .ll-table-wrap[data-layout="cards"] td::before{content:attr(data-label);color:#60283b;font-weight:700;overflow-wrap:anywhere}
}

/* Guide topics are optional shortcuts; free text remains available. */
#ll-ai-panel .ll-guide-options{margin:18px 0 4px}#ll-ai-panel .ll-guide-options-title{font-size:13px;line-height:1.6;color:#555;margin:0 0 10px}#ll-ai-panel .ll-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#ll-ai-panel .ll-guide-choice{appearance:none;display:block;min-width:0;margin:0;padding:12px;text-align:left;border:1px solid #ded9dc;border-radius:4px;background:#fff;color:#242328;cursor:pointer;line-height:1.45}#ll-ai-panel .ll-guide-choice strong,#ll-ai-panel .ll-guide-choice span{display:block}#ll-ai-panel .ll-guide-choice strong{font-size:13px;color:#60283b}#ll-ai-panel .ll-guide-choice span{font-size:11px;color:#5c5860;margin-top:4px}#ll-ai-panel .ll-guide-choice:hover,#ll-ai-panel .ll-guide-choice:focus-visible{border-color:#60283b;background:#fbf8f8}@media(max-width:360px){#ll-ai-panel .ll-guide-grid{grid-template-columns:1fr}}

/* Optional consultation starters: selecting one fills an editable message. */
#ll-ai-panel .ll-consult-options{margin:16px 0 4px}#ll-ai-panel .ll-consult-options-title{font-size:13px;line-height:1.55;color:#555;margin:0 0 10px}#ll-ai-panel .ll-consult-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#ll-ai-panel .ll-consult-choice{appearance:none;display:block;min-width:0;margin:0;padding:11px;text-align:left;border:1px solid #ded9dc;border-radius:4px;background:#fff;color:#49303a;font-size:13px;font-weight:600;line-height:1.45;cursor:pointer}#ll-ai-panel .ll-consult-choice:hover,#ll-ai-panel .ll-consult-choice:focus-visible,#ll-ai-panel .ll-consult-choice[aria-pressed="true"]{border-color:#60283b;background:#fbf4f6}@media(max-width:360px){#ll-ai-panel .ll-consult-grid{grid-template-columns:1fr}}

/* Entry screen: compact choices with clear hierarchy, without changing the conversation layout. */
#ll-du[data-mode=""] #ll-ai-panel{height:auto;max-height:min(680px,calc(100dvh - 40px));overflow:hidden;border-radius:10px}
#ll-du[data-mode=""] #ll-ai-panel .ll-head{padding:14px 20px}
#ll-du[data-mode=""] #ll-ai-panel .ll-head strong{font:700 22px/1.25 Georgia,serif;color:white}
#ll-du[data-mode=""] #ll-ai-panel .ll-body{flex:0 1 auto;padding:23px 22px 20px}
#ll-du[data-mode=""] #ll-ai-panel .ll-title{font-family:inherit;font-size:19px;font-weight:700;line-height:1.45;letter-spacing:.01em;color:#242328}
#ll-du[data-mode=""] #ll-ai-panel .ll-topics{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:16px}
#ll-du[data-mode=""] #ll-ai-panel .ll-entry{appearance:none;display:grid;grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:auto auto;column-gap:12px;align-items:center;width:100%;min-width:0;margin:0;padding:16px 14px;border:1px solid #ded8dc;border-radius:8px;background:#fff;text-align:left;cursor:pointer;box-shadow:0 2px 8px rgba(32,24,36,.035);transition:border-color .15s,background-color .15s}
#ll-du[data-mode=""] #ll-ai-panel .ll-entry::after{grid-column:2;grid-row:1 / 3;content:"→";color:#60283b;font-size:19px;line-height:1;text-align:right}
#ll-du[data-mode=""] #ll-ai-panel .ll-entry strong,#ll-du[data-mode=""] #ll-ai-panel .ll-entry span{grid-column:1;display:block;min-width:0}
#ll-du[data-mode=""] #ll-ai-panel .ll-entry strong{font-size:16px;font-weight:700;line-height:1.5;color:#60283b}
#ll-du[data-mode=""] #ll-ai-panel .ll-entry span{margin-top:3px;font-size:12px;font-weight:400;line-height:1.6;color:#625d66}
#ll-du[data-mode=""] #ll-ai-panel .ll-entry:hover,#ll-du[data-mode=""] #ll-ai-panel .ll-entry:focus-visible{border-color:#60283b;background:#fbf8f9;outline:2px solid transparent}
#ll-du[data-mode=""] #ll-ai-panel>.ll-note{flex:0 0 auto;margin:0;padding:13px 22px 17px;border-top:1px solid #ebe8ea;background:#faf9fa;color:#66616a;font-size:11px;line-height:1.65}
@media(max-width:600px){#ll-du[data-mode=""] #ll-ai-panel{inset:auto 0 0;width:100%;height:auto;max-height:100dvh;border-radius:12px 12px 0 0}#ll-du[data-mode=""] #ll-ai-panel .ll-body{padding:21px 18px 18px}#ll-du[data-mode=""] #ll-ai-panel>.ll-note{padding:12px 18px max(14px,env(safe-area-inset-bottom))}}

#ll-du #ll-ai-launch {
  box-sizing:border-box; display:grid; grid-template-columns:1fr 28px; align-items:center;
  column-gap:15px; row-gap:4px; width:auto; height:auto; padding:11px 14px 12px 20px;
  right:max(20px,env(safe-area-inset-right)); bottom:calc(20px + env(safe-area-inset-bottom));
  background:linear-gradient(113deg,#28253e,#17162c 68%); color:#fff; border:1px solid #4a4659;
  border-radius:5px; text-align:left; font-family:system-ui,sans-serif;
  box-shadow:0 4px 14px #17152530,inset 4px 0 var(--burgundy, #6b2737),inset 0 4px var(--burgundy, #6b2737);
}
#ll-du .ll-launch-brand {grid-column:1;font:700 19px/1.15 Georgia,serif;color:#fff}
#ll-du .ll-launch-label {grid-column:1;display:flex;align-items:center;gap:8px;font:400 13px/1.45 system-ui,sans-serif;color:#e3dfe6;white-space:nowrap}
#ll-du .ll-launch-label span + span {padding-left:8px;border-left:1px solid #918898}
#ll-du .ll-launch-arrow {display:grid;place-items:center;grid-column:2;grid-row:1 / 3;box-sizing:border-box;width:28px;height:28px;border:1px solid #918898;border-radius:50%}
#ll-du .ll-launch-arrow::before {content:"";width:6px;height:6px;border-top:1.5px solid;border-right:1.5px solid;transform:translateX(-1px) rotate(45deg)}
#ll-du #ll-ai-launch:hover .ll-launch-arrow {background:#fff;color:#201d35}
#ll-du #ll-ai-launch:focus-visible {outline:3px solid #fff;outline-offset:1px;box-shadow:0 0 0 6px #29284c}
@media(max-width:600px){
  :root {--ll-launch-height:calc(48px + env(safe-area-inset-bottom,0px))}
  #ll-du #ll-ai-launch {left:0;right:0;bottom:0;width:100%;min-height:var(--ll-launch-height);border-radius:0;
    grid-template-columns:1fr auto 10px;column-gap:clamp(4px,calc(8vw - 22px),11px);row-gap:0;
    padding:7px max(clamp(10px,calc(12vw - 28px),20px),env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(clamp(12px,calc(12vw - 26px),22px),env(safe-area-inset-left))}
  #ll-du .ll-launch-label {grid-column:2;grid-row:1;font-size:12px;gap:6px}
  #ll-du .ll-launch-label span + span {padding-left:6px}
  #ll-du .ll-launch-brand {grid-row:1;font-size:clamp(14px,3.85vw,15px);white-space:nowrap}
  #ll-du .ll-launch-arrow {grid-column:3;grid-row:1;width:10px;height:20px;border:0;border-radius:0}
  #ll-du #ll-ai-launch:hover .ll-launch-arrow {background:transparent;color:inherit}
  #ll-du:has(#ll-ai-panel:not([hidden])) #ll-ai-launch {visibility:hidden}
}

#ll-du[data-mode=""] #ll-ai-panel .ll-entry span{line-break:strict;text-wrap:balance}
#ll-du[data-mode=""] #ll-ai-panel>.ll-note .ll-notice-sentence{display:inline-block;max-width:100%;line-break:strict;text-wrap:balance}
#ll-du[data-mode=""] #ll-ai-panel>.ll-note a{display:inline-block}
@media(max-width:600px){#ll-du[data-mode=""] #ll-ai-panel .ll-entry span{white-space:pre-line;text-wrap:wrap}}
@media(max-width:350px){#ll-du[data-mode=""] #ll-ai-panel .ll-entry span{white-space:normal;text-wrap:balance}}

#ll-ai-panel .ll-du-entry-back{display:none}
#ll-du[data-choosing="true"] #ll-ai-panel .ll-du-entry-back{display:inline-block;font:inherit;font-size:14px}
#ll-du[data-choosing="true"] #ll-ai-panel :is(.ll-du-finish,.ll-du-new,.ll-du-guide){display:none}
#ll-ai-panel .ll-consult-choice{align-content:center;min-height:44px;color:#312e36;text-wrap:balance}
#ll-ai-panel .ll-consult-choice:focus-visible{outline:2px solid #60283b;outline-offset:1px}

#ll-ai-panel form button[type="submit"]{background:#201d3f;color:#fff;border:0;border-radius:5px;padding:0 18px;font-weight:700;font-size:16px}
#ll-ai-panel form button[type="submit"]:disabled{opacity:.6}
#ll-ai-panel .ll-controls .ll-du-finish{color:#635f64;font-weight:400}

#ll-ai-panel .ll-msg.ll-diagnosis{background:#fff;border:1px solid #e2dade;border-radius:8px;padding:18px 16px;line-height:1.8}
#ll-ai-panel .ll-diagnosis>h2:first-child{font-size:19px;line-height:1.4;color:#242032;margin:0 0 14px}
#ll-ai-panel .ll-diagnosis>p{margin:0 0 .8em;line-height:1.75}
#ll-ai-panel .ll-diagnosis>h3{margin:18px 0 6px;color:#60283b}
#ll-ai-panel .ll-diagnosis li+li{margin-top:.5em}
#ll-ai-panel .ll-diagnosis>:last-child{margin-bottom:0}

#ll-ai-panel .ll-diagnosis .ll-decision-branches{margin:.35em 0 0;padding-left:1.15em;list-style:disc}
#ll-ai-panel .ll-diagnosis .ll-decision-branches>li+li{margin-top:.35em}

#ll-ai-panel .ll-completion{display:none}
#ll-du[data-completed="true"] #ll-ai-panel .ll-completion{display:block;flex:none;padding:12px 16px 0;border-top:1px solid #ded9dc;font-weight:600}
#ll-du[data-completed="true"] #ll-ai-panel form,#ll-du[data-completed="true"] #ll-ai-panel .ll-controls>button:not(.ll-du-new){display:none}
#ll-du[data-completed="true"] #ll-ai-panel .ll-du-new{min-height:44px;color:#60283b}

@media(max-width:600px){
#ll-du #ll-ai-launch{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:calc(6px + env(safe-area-inset-bottom,0px));width:auto;min-height:48px;border-radius:9px;padding-bottom:3px;padding-left:16px;padding-right:14px}
}

@media(max-width:600px){#ll-du .ll-launch-brand{display:inline-flex;align-items:center;gap:6px}#ll-du .ll-launch-brand::before{content:"";width:16px;height:16px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4.5h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-8l-5 4v-4H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2Z' stroke='black' stroke-linejoin='round' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") center/contain no-repeat}}
@media(max-width:600px){
  #ll-du[data-mode="guide"] #ll-ai-panel:has(.ll-guide-options:not([hidden]):last-child):not(:has(.ll-msg)){
    inset:auto 0 0;height:auto;max-height:100dvh;
  }
  #ll-du[data-mode="guide"] #ll-ai-panel:has(.ll-guide-options:not([hidden]):last-child):not(:has(.ll-msg)) .ll-body{
    flex:0 1 auto;padding-bottom:8px;
  }
}

@media(max-width:600px){
#ll-du #ll-ai-panel form input:not(:disabled){box-sizing:border-box;background:#fff;border:2px solid #797583;color:#242328}
#ll-du #ll-ai-panel form input:not(:disabled)::placeholder{color:#655f69;opacity:1}
#ll-du #ll-ai-panel form input:not(:disabled):focus{border-color:#682c42;outline:2px solid #682c42;outline-offset:1px}
}
