/* Work Caller w1-chat (row 1110): approved design package w1-chat/w1-chat.css, scoped to #w1-chat-view. */
#w1-chat-root{isolation:isolate;position:relative;color:#193d35;font:100%/1.5 system-ui,sans-serif;padding:clamp(1rem,3vw,3rem);min-height:0;overflow:hidden;display:flex;flex-direction:column}
#w1-chat-root::before{content:"";position:absolute;inset:0;z-index:-1;background:#fbf5eb url("../assets/w1-chat-kuutamo.webp") right top/cover no-repeat;pointer-events:none}
#w1-chat-root:has(.w1c-log-open)::before{opacity:.55}
#w1-chat-root *{box-sizing:border-box}
#w1-chat-root .w1c{display:flex;flex-direction:column;min-height:0;flex:1}
#w1-chat-root .w1c-top{display:flex;align-items:center;gap:2rem;flex-wrap:wrap}
#w1-chat-root .w1c-meta{color:#4d625b;font-size:.94rem;margin:.25rem 0}
#w1-chat-root .w1c-open{display:flex;gap:.6rem;flex-wrap:wrap}
#w1-chat-root h2,#w1-chat-root h3{font-family:Georgia,serif;line-height:1.15;margin:.3rem 0}
#w1-chat-root h2{font-size:1.65rem}#w1-chat-root h3{font-size:1.3rem}
#w1-chat-root small{font-size:.77rem;letter-spacing:.08em;font-weight:650;color:#426056}
#w1-chat-root .w1c-btn,#w1-chat-root summary{font:inherit;color:inherit;cursor:pointer}
#w1-chat-root .w1c-btn{border:1px solid #72887b;border-radius:.65rem;background:#fffaf0ea;min-height:44px;padding:.45rem .9rem}
#w1-chat-root .w1c-btn:focus-visible,#w1-chat-root summary:focus-visible,#w1-chat-root article:focus-visible{outline:3px solid #976521;outline-offset:2px}
#w1-chat-root .w1c-btn[aria-pressed=true]{background:#194539;color:#fff}
#w1-chat-root .w1c-feed{margin-top:2rem;width:min(61%,54rem);overflow-wrap:anywhere;overflow-y:auto;flex:1;min-height:16rem;max-height:calc(var(--wc-usable-height,100dvh) - 15rem);overscroll-behavior:contain;scroll-padding-bottom:2rem}
#w1-chat-root .w1c-day{border-block-end:1px solid #9fa99b;padding-bottom:.7rem}
#w1-chat-root .w1c-event{display:grid;grid-template-columns:4rem minmax(0,1fr);gap:1rem;padding:1rem 0;border-bottom:1px solid #acb6a8}
#w1-chat-root .w1c-event[aria-current=true]>div{border-inline-start-color:#194539}
#w1-chat-root .w1c-body{border-inline-start:2px solid #b5c5b7;padding-inline-start:1rem;min-width:0}
#w1-chat-root time{font:1rem/1.6 ui-monospace,monospace}
#w1-chat-root .w1c-body p{margin:.35rem 0;white-space:pre-wrap}
#w1-chat-root .w1c-meta-line,#w1-chat-root .w1c-translation{color:#4d625b;font-size:.9rem}
#w1-chat-root summary{padding:.35rem 0;text-decoration:underline}
#w1-chat-root .w1c-state{color:#4d625b;margin:1rem 0}
#w1-chat-root .w1c-state:empty{display:none}
#w1-chat-root .w1c-older{margin:.5rem 0}
#w1-chat-root .w1c-log{color:inherit;border:1px solid #bdc4b8;border-radius:1rem 0 0 1rem;padding:1.2rem;width:min(27rem,100%);position:fixed;top:0;right:0;bottom:0;z-index:40;isolation:isolate;background:#fbf7ee;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #163b3026}
#w1-chat-root .w1c-log[hidden]{display:none}
#w1-chat-root .w1c-log::before{content:"";position:absolute;pointer-events:none;z-index:-1;right:1.5rem;bottom:2rem;width:min(20rem,80%);height:40%;background:url("../assets/w1-chat-adele.png") center/contain no-repeat;filter:grayscale(.85);mix-blend-mode:multiply;opacity:.13}
#w1-chat-root .w1c-log-title{margin:1rem 0;font-size:2rem}
#w1-chat-root .w1c-switch{display:flex;gap:.5rem}
#w1-chat-root .w1c-log-body{overflow-y:auto;flex:1;min-height:0;overscroll-behavior:contain;margin-top:.8rem;padding-bottom:max(1rem,env(safe-area-inset-bottom))}
#w1-chat-root .w1c-row{display:grid;grid-template-columns:5.7rem 1fr;gap:.5rem;padding:.7rem 0;margin:0;border-bottom:1px solid #c5ccc1}
#w1-chat-root .w1c-row .w1c-body{border:0;padding:0}
@media(max-width:720px){
#w1-chat-root{padding:.8rem max(.8rem,env(safe-area-inset-right)) max(.8rem,env(safe-area-inset-bottom)) max(.8rem,env(safe-area-inset-left))}
#w1-chat-root .w1c-top{gap:.65rem;display:block}
#w1-chat-root .w1c-open{margin-top:.7rem}
#w1-chat-root .w1c-feed{width:100%;margin-top:1.4rem}
#w1-chat-root::before{background-image:linear-gradient(90deg,#fbf5ebf5,#fbf5ebc9),url("../assets/w1-chat-kuutamo.webp");background-position:70% top}
#w1-chat-root .w1c-event{gap:.4rem;grid-template-columns:3.2rem minmax(0,1fr)}
#w1-chat-root .w1c-body{padding-inline-start:.65rem}
#w1-chat-root .w1c-log{border:0;border-radius:0;width:100%;height:100%;height:var(--wc-usable-height,100dvh);padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}
}
#w1-chat-view.app-view:not(.hidden){display:flex;flex-direction:column;min-height:0}
#w1-chat-view #w1-chat-root{flex:1}
