.cat-heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.cat-heading-row>h2{margin:0}.cat-launcher{display:flex;align-items:center;gap:12px;padding:4px 18px 4px 9px;border:1px solid var(--line);border-radius:24px 24px 24px 8px;background:color-mix(in srgb,var(--card) 88%,var(--pf-peach,#f0b879));color:var(--ink);font:inherit;font-weight:700;cursor:pointer;box-shadow:0 5px 18px #1d29420a;flex-shrink:0;touch-action:manipulation}.cat-launcher>span{text-align:left;font-size:14px}.cat-launch-hint{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:5px}.cat-launcher .cat-paw-art{width:62px;height:70px;overflow:visible;display:block}.cat-paw-hand{transform-origin:54px 101px}.cat-launcher:hover .cat-paw-hand,.cat-launcher:focus-visible .cat-paw-hand{animation:cat-paw-wave .85s ease-in-out infinite}.cat-launcher:hover .cat-paw-spark{animation:cat-spark 1s ease-in-out infinite}.cat-launcher:active{transform:scale(.96)}.cat-launcher:hover{border-color:#d79b63;box-shadow:0 8px 25px #d09a4c18}.cat-launcher:focus-visible,.cat-dialog button:focus-visible,.cat-dialog input:focus-visible,.cat-dialog textarea:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.cat-dialog{box-sizing:border-box;width:min(650px,calc(100vw - 28px));max-height:calc(100svh - 32px);padding:0;border:1px solid var(--line);border-radius:26px;background:var(--card);color:var(--ink);box-shadow:0 22px 90px #07122255;overflow:auto;font-family:var(--body,inherit)}.cat-dialog::backdrop{background:#0d173cb3;backdrop-filter:blur(7px)}.cat-dialog[open]{animation:cat-dialog-in .2s ease-out}.cat-dialog-body{padding:34px;position:relative}.cat-dialog .cat-close{position:absolute;right:14px;top:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:50%;width:36px;height:36px;font-size:24px;cursor:pointer;line-height:1}.cat-eyebrow{font-size:9px;letter-spacing:.13em;color:var(--muted);font-weight:700;max-width:calc(100% - 25px);margin:5px 0 16px}.cat-dialog h2{font-family:var(--head);font-size:29px;letter-spacing:-.025em;line-height:1.2;margin:0 0 12px;padding:0}.cat-dialog #cat-dialog-description{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 22px}.cat-choices{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cat-choice{border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);font:inherit;padding:15px 12px 20px;cursor:pointer;display:flex;align-items:center;flex-direction:column;gap:10px;transition:transform .2s,border-color .2s,box-shadow .2s;min-width:0;touch-action:manipulation}.cat-choice:hover,.cat-choice:focus-visible{transform:translateY(-4px);border-color:#d79b63;box-shadow:0 8px 16px #d39e5520}.cat-choice:active{transform:scale(.97)}.cat-choice strong{font-size:15px;line-height:1.35}.cat-choice>span{font-size:12px;line-height:1.55;color:var(--muted);max-width:190px}.cat-dialog .cat-face-art{width:170px;max-width:100%;height:auto;display:block;overflow:visible;flex-shrink:0}.cat-face{transform-origin:88px 122px}.cat-choice:hover .cat-face{animation:cat-nuzzle .8s ease-in-out infinite}.cat-choice:hover .cat-miaw-bubble{animation:cat-bubble .8s ease-in-out infinite}.cat-dialog .cat-message-form[hidden],.cat-dialog .cat-choices[hidden],.cat-dialog .cat-success[hidden]{display:none}.cat-compose-face{float:right;width:90px;margin:-10px 0 5px 10px}.cat-message-form label{display:block;font-size:14px;font-weight:600;margin:16px 0 8px}.cat-message-form label small{font-weight:400;color:var(--muted);font-size:11px}.cat-message-form input,.cat-message-form textarea{display:block;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--bg);color:var(--ink);font:inherit;font-size:14px}.cat-message-form input{max-width:calc(100% - 105px)}.cat-message-form textarea{resize:vertical;min-height:110px;max-height:250px}.cat-form-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 0}.cat-form-actions button,.cat-success>button{padding:11px 15px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.cat-form-actions #cat-send,.cat-success>button{background:var(--ink);color:var(--card);border-color:var(--ink)}.cat-dialog button:disabled{opacity:.6;cursor:wait}.cat-dialog .cat-privacy{font-size:10px;line-height:1.65;color:var(--muted);border-top:1px solid var(--line);margin:22px 0 0;padding-top:15px}.cat-dialog #cat-greeting-status{font-size:13px;line-height:1.6;margin:14px 0 0;color:var(--muted)}.cat-dialog #cat-greeting-status:empty{display:none}.cat-success{text-align:center;padding:5px 0 12px}.cat-success .cat-face-art{width:150px;margin:auto;animation:cat-nuzzle 1s ease-in-out 2}.cat-success h3{font-family:var(--head);font-size:23px;margin:5px 0 12px}.cat-success p{font-size:14px;color:var(--muted);line-height:1.6}.cat-success>button{margin-top:8px}html.cat-greeting-open{overflow:hidden}
@keyframes cat-paw-wave{0%,100%{transform:rotate(-9deg)}50%{transform:rotate(14deg)}}@keyframes cat-spark{50%{opacity:.35;transform:translateY(-3px)}}@keyframes cat-nuzzle{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg) translateY(-3px)}}@keyframes cat-bubble{50%{transform:translateY(-4px)}}@keyframes cat-dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.cat-heading-row{gap:10px;align-items:center}.cat-heading-row>h2{font-size:25px}.cat-launcher{padding:3px 9px 3px 4px;gap:4px;border-radius:20px 20px 20px 6px}.cat-launcher .cat-paw-art{width:43px;height:51px}.cat-launcher>span{font-size:12px}.cat-launch-hint{font-size:8px;max-width:74px}.cat-dialog-body{padding:28px 18px 22px}.cat-dialog h2{font-size:24px;padding-right:10px}.cat-choices{gap:9px}.cat-choice{padding:12px 8px 16px;border-radius:15px}.cat-choice strong{font-size:13px}.cat-choice>span{font-size:11px}.cat-dialog .cat-face-art{width:145px}.cat-dialog .cat-privacy{font-size:10px}.cat-eyebrow{font-size:8px;line-height:1.6;padding-right:15px}.cat-compose-face{width:74px}.cat-message-form input{max-width:calc(100% - 85px)}}
@media(prefers-reduced-motion:reduce){.cat-dialog,.cat-dialog *,.cat-launcher,.cat-launcher *{animation:none!important;transition:none!important}.cat-choice:hover{transform:none}}
.cat-heading-row{justify-content:flex-end}html.cat-greeting-open,html.cat-greeting-open *{cursor:auto!important}html.cat-greeting-open .cat-dialog button,html.cat-greeting-open .cat-dialog button *{cursor:pointer!important}html.cat-greeting-open #cu{opacity:0!important}.cat-choice,.cat-launcher{user-select:none}

/* A single compact greeting joins the navigation, without a separate content row. */
#bar .cat-header-launcher{height:44px;min-width:44px;gap:7px;padding:3px 12px 3px 5px;border-radius:12px;background:var(--card);box-shadow:none;flex:0 0 auto}
#bar .cat-header-launcher .cat-paw-art{width:31px;height:36px}
#bar .cat-header-launcher>span{font-size:12px;white-space:nowrap;line-height:1.2}
#bar .cat-header-launcher .cat-launch-hint{display:none}
#bar .cat-header-launcher:hover{border-color:#d79b63;background:color-mix(in srgb,var(--card) 85%,#f7bd7f)}
@media(max-width:1050px){#bar .cat-header-launcher{width:44px;padding:4px;justify-content:center}#bar .cat-header-launcher>span{display:none}}
@media(max-width:850px) and (min-width:701px){#bar .brand{display:none}}
@media(max-width:520px){#bar .hbar{gap:8px;padding-left:10px;padding-right:10px}#bar .appearance-picker>summary{width:44px;height:44px;padding:9px 0;text-align:center}#bar .appearance-picker>summary>span{display:none}#bar .title-search{min-width:0}#bar .title-search input{min-width:0;width:100%}}
@media print{.cat-header-launcher,.cat-dialog{display:none!important}}
#bar .appearance-picker{margin-top:0;margin-bottom:0}
@media(min-width:1000px) and (max-width:1150px){body.open #bar .brand{display:none}body.open #bar .cat-header-launcher{width:44px;padding:4px;justify-content:center}body.open #bar .cat-header-launcher>span{display:none}}
#bar .appearance-picker>summary{box-sizing:border-box}
