/* ORIGO Chat V1 - isolato dal CSS del portale. */
:root { --och-ink:#161d24;--och-paper:#f7f6f2;--och-line:#d6dadd;--och-slate:#5d6974; }
#origo-chat-root {position:fixed;right:22px;bottom:24px;z-index:11000;font-family:inherit;color:var(--och-ink);}
#origo-chat-root *,#origo-chat-root *::before,#origo-chat-root *::after {box-sizing:border-box;}
#origo-chat-root button,#origo-chat-root input {font:inherit}
.och-launcher {width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:var(--och-ink);color:white;border:1px solid #38424d;border-radius:50%;box-shadow:0 12px 36px #0003;cursor:pointer;transition:transform .16s,background .16s;position:relative;margin-left:auto;}
.och-launcher:hover,.och-launcher:focus-visible {transform:translateY(-2px);background:#303e4a;outline-offset:4px}
.och-launcher svg {width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.och-badge {position:absolute;right:-3px;top:-4px;background:#bce4d3;color:#173d33;width:19px;height:19px;border:2px solid white;border-radius:50%;font-size:12px;line-height:16px;font-weight:800;display:none;text-align:center}
.och-badge[hidden] {display:none!important}
.och-badge:not([hidden]) {display:block}
.och-launcher.och-bump {animation:och-nudge .58s cubic-bezier(.36,.07,.19,.97) 2 both}
@keyframes och-nudge{0%,100%{transform:rotate(0)}15%,45%,75%{transform:rotate(-9deg)}30%,60%,90%{transform:rotate(9deg)}}
.och-nudge {position:absolute;bottom:72px;right:0;max-width:255px;min-width:212px;padding:12px 36px 12px 14px;background:var(--och-paper);border:1px solid var(--och-line);border-radius:13px;box-shadow:0 16px 40px #0002;font-size:13px;line-height:1.45;text-align:left;color:var(--och-ink)}
.och-nudge[hidden],.och-panel[hidden]{display:none!important}
.och-nudge-close{position:absolute;top:6px;right:7px;cursor:pointer;border:0;background:transparent;color:var(--och-slate);font-size:19px;line-height:1;padding:4px}
.och-panel {position:absolute;bottom:73px;right:0;width:min(390px,calc(100vw - 28px));height:min(560px,calc(100dvh - 115px));min-height:min(430px,calc(100dvh - 115px));display:flex;flex-direction:column;background:#fff;border:1px solid #d5d9da;border-radius:17px;box-shadow:0 18px 70px #10182030;overflow:hidden;text-align:left}
.och-panel-head {background:var(--och-ink);color:white;padding:16px 18px;display:flex;align-items:center;gap:10px;flex-shrink:0}
.och-panel-icon {width:32px;height:32px;border:1px solid #ffffff55;border-radius:50%;display:grid;place-items:center;font-size:11px;letter-spacing:.1em;font-weight:700}
.och-panel-head-text{flex:1}.och-panel-head strong{display:block;letter-spacing:.07em;font-size:12px}.och-panel-head small{display:block;color:#b3c0c6;font-size:11px;margin-top:2px}
.och-panel-close{border:0;background:transparent;color:white;font-size:24px;cursor:pointer;padding:2px 6px}
.och-messages{padding:18px 16px;overflow-y:auto;min-height:0;flex:1;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}
.och-msg{max-width:91%;font-size:13.5px;line-height:1.55}.och-msg b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--och-slate);margin:0 0 4px}.och-msg p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;background:var(--och-paper);padding:12px 13px;border-radius:12px 12px 12px 4px}.och-msg--visitor{align-self:flex-end}.och-msg--visitor b{text-align:right}.och-msg--visitor p{background:var(--och-ink);color:white;border-radius:12px 12px 4px 12px}.och-msg--system p{background:#eaf0f3}
.och-choices{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;max-width:320px}
.och-choice{max-width:100%;text-align:left;display:inline-block;cursor:pointer;color:var(--och-ink);background:white;text-decoration:none;border:1px solid #bfc7cb;border-radius:8px;padding:8px 10px;font-size:12.5px;line-height:1.3}
.och-choice:hover,.och-choice:focus-visible{background:#eaf0ee;border-color:#879a9d;color:var(--och-ink)}
.och-privacy-consent{display:flex;gap:8px;font-size:11px;align-items:start;margin:10px 0 7px;line-height:1.4}
.och-privacy-consent input{width:17px;height:17px;flex-shrink:0;accent-color:#162127;margin:0}.och-privacy-consent a{color:inherit;text-decoration:underline}
.och-compose {display:flex;gap:7px;padding:12px;border-top:1px solid var(--och-line);background:#fff;flex-shrink:0}
.och-input {width:100%;min-width:0;padding:11px 12px;border:1px solid #cbd0d3;border-radius:9px;background:#fff;color:var(--och-ink);font-size:16px!important;min-height:43px}
.och-send {border:0;border-radius:8px;background:var(--och-ink);color:white;padding:0 15px;cursor:pointer;min-height:43px}.och-send:disabled{opacity:.5;cursor:wait}
.och-fineprint{text-align:center;color:#65717c;font-size:10.5px;background:#fff;padding:0 8px 10px;flex-shrink:0}
.och-fineprint a{color:inherit;text-decoration:underline}
.och-error{color:#9a2c24;padding:9px 12px;background:#fff0ee;font-size:12px;margin:0 12px 7px;border-radius:8px}
.och-error[hidden]{display:none}.och-muted{color:var(--och-slate);font-size:12px}
@media (max-width:700px) {
  #origo-chat-root{bottom:calc(85px + env(safe-area-inset-bottom,0px));right:14px}
  .och-panel{bottom:68px;width:min(390px,calc(100vw - 24px));height:min(570px,calc(100dvh - 174px));border-radius:14px}
  .och-launcher{width:54px;height:54px}
}
@media(max-width:370px){.och-panel{width:calc(100vw - 20px);right:-5px}.och-messages{padding:12px}.och-msg{font-size:13px}}
@media(prefers-reduced-motion:reduce){.och-launcher.och-bump{animation:none!important}.och-launcher{transition:none}}
