:root{color:#2f2f2f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--brand-color:#b23212;--warm-border:#ead8d1;--header-height:76px;--footer-height:44px;background:#fff;font-family:Arial,Helvetica Neue,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}.site-header{background:var(--brand-color);color:#fff}.header-content{max-width:1040px;min-height:var(--header-height);align-items:center;margin:0 auto;padding:0 1.25rem;font-size:1.2rem;font-weight:700;display:flex}.chat-page{max-width:1040px;margin:0 auto;padding:3rem 1.25rem 4rem}.page-intro{margin-bottom:1.75rem}h1{color:#1f2937;margin:0 0 .65rem;font-size:clamp(1.8rem,5vw,2.4rem);line-height:1.1}.chat-card{border:1px solid var(--warm-border);background:#fff;border-radius:20px;padding:1.75rem;box-shadow:0 10px 24px #00000014}label{margin-bottom:.6rem;font-size:.98rem;font-weight:700;display:block}input,textarea{color:#333;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #d8d5d2;border-radius:14px;padding:.9rem 1rem;line-height:1.5;transition:border-color .2s,box-shadow .2s}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}input:focus,textarea:focus{border-color:var(--brand-color);outline:none;box-shadow:0 0 0 3px #b232121f}.conversation-label{margin-bottom:.6rem;font-size:.98rem;font-weight:700}.messages{border:1px solid var(--warm-border);background:#fcfaf9;border-radius:14px;flex-direction:column;gap:1rem;height:40vh;min-height:320px;padding:1rem;display:flex;overflow-y:auto}.messages:focus-visible{outline:2px solid var(--brand-color);outline-offset:3px}.chat-message{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:16px;flex-shrink:0;max-width:88%;padding:.85rem 1rem;line-height:1.65}.chat-message-user{background:var(--brand-color);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.chat-message-assistant{border:1px solid var(--warm-border);background:#fff;border-bottom-left-radius:4px;align-self:flex-start}.conversation-empty{color:#6b7280;text-align:center;margin:auto}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.question-section{border:1px solid var(--warm-border);background:#fcfaf9;border-radius:18px;margin-top:1.25rem;padding:1.25rem}.question-row{gap:.75rem;display:flex}.question-row input{flex:1}button{background:var(--brand-color);color:#fff;min-width:160px;font:inherit;cursor:pointer;border:none;border-radius:14px;flex-shrink:0;padding:.95rem 1.2rem;font-weight:700}button:hover{background:#87270f}button:focus-visible{outline:2px solid var(--brand-color);outline-offset:3px}.chat-status{color:#6b7280;margin:.75rem 0 0;font-size:.875rem;line-height:1.5}@media (width<=600px){.chat-page{padding:2rem .85rem 3rem}.chat-card{border-radius:16px;padding:1rem}.question-section{padding:1rem}.question-row{flex-direction:column}.messages{min-height:280px}}.header-content{justify-content:space-between;gap:1rem}.nav-links{align-items:center;gap:1.25rem;display:flex}.nav-links a{color:#fff;text-decoration:none}.nav-links a:hover,.nav-links a[aria-current=page]{text-underline-offset:6px;text-decoration:underline}.nav-brand{background:url(/assets/cloud-BH1BO-VY.png) 50%/100% 100% no-repeat;justify-content:center;align-items:center;width:190px;height:70px;display:flex}.nav-brand img{width:auto;height:63px;display:block}.nav-brand{transform-origin:50%;animation:5s ease-in-out logo-float}@keyframes logo-float{0%,to{transform:translate(0)rotate(0)}30%{transform:translate(2px,-6px)rotate(.8deg)}65%{transform:translate(-2px,-3px)rotate(-.6deg)}}@media (prefers-reduced-motion:reduce){.nav-brand{animation:none}}.profile-menu{position:relative}.profile-button{background:0 0;border-radius:50%;place-items:center;width:44px;min-width:0;height:44px;padding:0;display:grid}.profile-button:hover{background:#ffffff26}.profile-button svg{fill:currentColor;width:30px;height:30px}.profile-options{--cloud:#eef1fb;z-index:2;background:var(--cloud);color:#2f2f2f;text-align:center;filter:drop-shadow(0 0 1px #8f9bd0)drop-shadow(0 6px 10px #0003);border-radius:34px;width:270px;padding:1.5rem 1.4rem;position:absolute;top:calc(100% + 20px);right:0}.profile-options:before,.profile-options:after{content:"";z-index:-1;background:var(--cloud);border-radius:50%;width:46px;height:46px;position:absolute}.profile-options:before{box-shadow:52px -5px 0 0 var(--cloud), 104px 0 0 0 var(--cloud), 150px -4px 0 -2px var(--cloud), 196px -2px 0 -3px var(--cloud), -20px 40px 0 -4px var(--cloud), -18px 84px 0 -2px var(--cloud);top:-16px;left:10px}.profile-options:after{box-shadow:-52px 5px 0 0 var(--cloud), -104px 0 0 0 var(--cloud), -150px 4px 0 -2px var(--cloud), -196px 2px 0 -3px var(--cloud), 20px -40px 0 -4px var(--cloud), 18px -84px 0 -2px var(--cloud);bottom:-16px;right:10px}.profile-options button{border:1px solid var(--warm-border);width:100%;min-width:auto;color:var(--brand-color);background:#fff;border-radius:999px;margin:.35rem 0;padding:.55rem 1rem;font-size:.9rem;display:block}.profile-options button:hover:not(:disabled){background:#f5ede9}.profile-email{overflow-wrap:anywhere;padding:.4rem .25rem;font-size:.8rem;display:block}.auth-dialog{border:1px solid var(--warm-border);color:#2f2f2f;border-radius:20px;width:min(460px,100% - 2rem);max-height:90vh;padding:2rem}.auth-dialog::backdrop{background:#0007}.auth-dialog h2{margin-top:0;padding-right:2rem}.auth-dialog input{margin-bottom:1rem}.auth-dialog p{line-height:1.5}.auth-dialog form>button{width:100%}.close-button{color:#2f2f2f;background:0 0;min-width:auto;padding:.5rem .8rem;font-size:1.4rem;position:absolute;top:.4rem;right:.4rem}.close-button:hover{background:#f5ede9}.auth-links{flex-wrap:wrap;gap:.4rem;margin-top:1rem;display:flex}.auth-links button{min-width:auto;color:var(--brand-color);background:0 0;padding:.6rem .3rem;font-size:.9rem;text-decoration:underline}.auth-error{color:#a42116}button:disabled{opacity:.6;cursor:wait;opacity:.6;cursor:not-allowed}.app-layout{height:calc(100vh - var(--header-height) - var(--footer-height));height:calc(100dvh - var(--header-height) - var(--footer-height));display:flex}.rail{border-right:1px solid var(--warm-border);background:#fcfaf9;flex-direction:column;flex:0 0 56px;align-items:center;gap:.5rem;padding-top:1rem;display:flex}.rail-button{width:40px;min-width:0;height:40px;color:var(--brand-color);background:0 0;border-radius:10px;place-items:center;padding:0;display:grid}.rail-button:hover{background:#f0e2dc}.rail-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:22px;height:22px}.app-layout .chat-page{flex:1;min-width:0;max-width:none;margin:0;padding:0}.chat-pane{flex-direction:column;height:100%;padding:1rem 1.25rem .75rem;display:flex}.chat-pane .messages{flex:1;height:auto;min-height:0}.chat-pane .question-row{margin-top:1rem}.chat-pane .chat-status{min-height:1.5em}.history-dialog{border:1px solid var(--warm-border);color:#2f2f2f;border-radius:20px;width:min(460px,100% - 2rem);max-height:70vh;padding:1.5rem}.history-dialog::backdrop{background:#0007}.history-dialog h2{margin:0 2rem 1rem 0;font-size:1.15rem}.history{flex-direction:column;gap:.15rem;margin:0;padding:0;list-style:none;display:flex}.history-item{color:#2f2f2f;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border-radius:10px;justify-content:space-between;gap:1rem;width:100%;min-width:0;padding:.65rem .8rem;font-size:.95rem;font-weight:400;display:flex;overflow:hidden}.history-item:hover{background:#f5ede9}.history-item[aria-current=true]{background:#f0e2dc;font-weight:700}.history-empty{color:#6b7280;margin:0;font-size:.9rem;line-height:1.5}@media (width<=600px){.chat-pane{padding:.75rem .85rem .5rem}.chat-pane .question-row{flex-direction:row}}.history-title{text-overflow:ellipsis;min-width:0;overflow:hidden}.history-date{color:#6b7280;flex-shrink:0;font-size:.8rem;font-weight:400}.specialists{flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem;display:flex}.badge{border:1px solid var(--warm-border);min-width:0;color:var(--brand-color);cursor:pointer;background:#fff;border-radius:999px;padding:.35rem .9rem;font-size:.85rem;font-weight:700;line-height:1.2}.badge:hover:not(:disabled){background:#f5ede9}.badge[aria-pressed=true]{background:var(--brand-color);border-color:var(--brand-color);color:#fff}.badge:disabled{cursor:default}.badge-small{color:var(--brand-color);cursor:inherit;background:#f5ede9;flex-shrink:0;padding:.1rem .5rem;font-size:.7rem}.home{max-width:1040px;margin:0 auto;padding:4rem 1.25rem}.hero{max-width:720px}.hero p{font-size:1.15rem;line-height:1.6}.hero-actions{flex-wrap:wrap;gap:.75rem;margin-top:1.75rem;display:flex}.hero-actions .secondary{color:var(--brand-color);border:1px solid var(--brand-color);background:#fff}.hero-actions .secondary:hover{background:#f5ede9}.hero-actions .button-link{background:var(--brand-color);color:#fff;text-align:center;border-radius:14px;min-width:160px;padding:.95rem 1.2rem;font-weight:700;text-decoration:none;display:inline-block}.hero-actions .button-link:hover{background:#87270f}.features{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem;margin-top:3rem;display:grid}.feature{border:1px solid var(--warm-border);background:#fcfaf9;border-radius:20px;padding:1.5rem}.feature h2{color:#1f2937;margin:0 0 .5rem;font-size:1.15rem}.feature p{color:#4b5563;margin:0;line-height:1.6}.not-found{min-height:calc(100dvh - var(--header-height) - var(--footer-height));max-width:1040px;margin:0 auto;padding:4rem 1.25rem}@media (width<=600px){.nav-links{gap:.8rem;font-size:1rem}.home{padding:2.5rem .85rem}}.ornament-page{min-height:calc(100vh - var(--header-height) - var(--footer-height));min-height:calc(100dvh - var(--header-height) - var(--footer-height));background-position:50%;background-size:cover;place-items:center;padding:1.25rem;display:grid}.ornament-card{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);text-align:center;background:#ffffffd1;border-radius:20px;max-width:520px;padding:2rem;box-shadow:0 10px 24px #00000040}.ornament-card p{margin:0 0 1.5rem;font-size:1.1rem;line-height:1.6}.link-button{min-width:auto;color:var(--brand-color);background:0 0;padding:0;font-size:1.1rem;text-decoration:underline}.link-button:hover{color:#87270f;background:0 0}.home-page{min-height:calc(100vh - var(--header-height) - var(--footer-height));min-height:calc(100dvh - var(--header-height) - var(--footer-height));position:relative;overflow:hidden}.home-page:before{content:"";background:var(--home-logo) no-repeat center / min(900px, 95%);opacity:.18;pointer-events:none;position:absolute;inset:0}.home-page .home{position:relative}.site-footer{height:var(--footer-height);background:var(--brand-color);color:#fff;justify-content:center;align-items:center;font-size:.9rem;display:flex}.site-footer a{color:#fff}.hogcloud-badge{border:1px solid var(--warm-border);color:var(--brand-color);background:#fff;border-radius:999px;margin-top:1rem;padding:.35rem 1rem;font-size:.85rem;font-weight:700;text-decoration:none;display:inline-block}.hogcloud-badge:hover{background:#f5ede9}
