/* NannyAI.net v1.4.0 — full-page chat only. Do not redesign the approved homepage. */
.page-chatroom #main{outline:0}
.workspace-shell{display:grid;grid-template-columns:248px minmax(0,1fr);height:calc(100dvh - 84px);min-height:720px;background:#f8f9fe}
.workspace-sidebar{display:flex;flex-direction:column;padding:29px 18px 20px;background:linear-gradient(165deg,#20263d,#171e31);color:#c9d1e6;border-right:1px solid #323953;min-width:0;overflow:auto}
.sidebar-heading{display:flex;align-items:center;gap:10px;margin-bottom:25px}
.sidebar-mark{width:36px;height:36px;display:grid;place-items:center;background:#b89ae51a;border:1px solid #ad90d338;border-radius:11px;color:#d7bbfc;flex:none}
.sidebar-heading strong{font-size:13px;font-weight:750;color:#fff;display:block;letter-spacing:-.02em}
.sidebar-heading>div>span{font-size:6.7px;font-weight:700;letter-spacing:.07em;color:#aab3cd;display:block;margin-top:3px}
.sidebar-new{width:100%;background:#d6baff;color:#291c3d;border:1px solid #e3d0ff;min-height:45px;justify-content:flex-start;font-size:12px;margin-bottom:29px}
.sidebar-new>span{margin-left:auto;font-size:21px;line-height:1;font-weight:400}
.sidebar-new .icon{width:17px;height:17px}
.sidebar-section-label{font-size:8px;font-weight:750;letter-spacing:.1em;color:#a9b1c9;display:flex;justify-content:space-between;gap:5px;align-items:center;margin-bottom:10px}
.sidebar-section-label>span{font-size:9px;color:#8a94ad}
.recent-chats{display:flex;flex-direction:column;gap:5px;max-height:252px;overflow:auto;scrollbar-width:thin}
.recent-chat{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:8px;background:none;color:#b9c3db;padding:11px 9px;width:100%;text-align:left;font-size:11px;min-height:42px}
.recent-chat.is-current{background:#9f7fc221;border-color:#b99bd333;color:#ebdbff}
.recent-chat:hover{background:#ffffff0b}
.recent-chat .icon{width:15px;height:15px;flex:none}
.recent-chat>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.session-note{font-size:9px;color:#a3adc5;margin:12px 8px 24px;display:flex;align-items:center;gap:6px}
.session-note .icon{width:11px;height:11px}
.sidebar-controls{padding-top:21px;border-top:1px solid #ffffff12}
.sidebar-controls select{background:#30374c;color:#e9e0f7;border:1px solid #50596f;padding:10px;border-radius:8px;min-height:42px;font:inherit;font-size:12px;width:100%}
.sidebar-controls>p{color:#b0b8cf;font-size:10px;line-height:1.6;margin-top:9px;min-height:34px}
.sidebar-score{margin-top:21px;display:grid;grid-template-columns:1fr auto;gap:10px;font-size:10px;color:#aab5cf}
.sidebar-score strong{color:#b7efd9;font-size:12px}
.sidebar-bottom{margin-top:auto;padding-top:30px;display:flex;flex-direction:column;gap:6px}
.sidebar-bottom a,.sidebar-bottom button{border:0;background:none;display:flex;align-items:center;gap:8px;font:inherit;font-size:10px;color:#c5cce0;padding:9px 3px;text-align:left;border-radius:5px;min-height:34px}
.sidebar-bottom a:hover,.sidebar-bottom button:hover{color:#e5caff;background:#ffffff08}
.sidebar-bottom .icon{width:14px;height:14px}
.sidebar-bottom a .icon:last-child:not(:first-child){width:11px;margin-left:auto}
.sidebar-motto{border-top:1px solid #ffffff12;margin-top:15px;padding-top:19px;font-size:12px;font-style:italic;color:#e1c7f6;line-height:1.6}
.sidebar-motto>span{color:#acb2c7}
.workspace-sidebar :focus-visible{outline-color:#e4bfff}
.chat-room{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:radial-gradient(ellipse at 50% 24%,#f0e9fb99,transparent 65%),#fafbff}
.room-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 31px;border-bottom:1px solid #e5e7f1;background:#ffffffa6}
.room-identity{display:flex;gap:10px;align-items:center;min-width:0}
.room-identity strong{font-size:14px;color:#262c42;display:flex;align-items:center;gap:10px}
.room-identity p{font-size:10px;color:#68738b;margin-top:3px}
.model-badge{font-size:8px;border:1px solid #ded1f0;border-radius:5px;padding:3px 6px;letter-spacing:.07em;background:#f3ebff;color:#705292;line-height:1.1}
.room-online{display:flex;align-items:center;gap:7px;color:#5b6a72;font-size:10px;white-space:nowrap}
.room-online .status-dot{background:#3aaf87;width:6px;height:6px}
.room-scroll{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9badf transparent;padding:30px 36px;scroll-behavior:smooth}
.room-welcome{max-width:760px;margin:auto;text-align:center;padding:2px 0 10px}
.welcome-mascot{display:inline-flex;position:relative;padding:6px;margin-bottom:15px}
.welcome-mascot:before{content:"";position:absolute;inset:-4px;border:1px solid #dfd1f3;border-radius:24px;background:#f0e7fb;transform:rotate(-7deg)}
.welcome-mascot>img{position:relative;z-index:1}
.welcome-mascot>span{position:absolute;z-index:2;right:-13px;bottom:-3px;padding:5px;border-radius:50%;background:#d9f9ee;box-shadow:0 0 0 4px #fafbff;color:#276d57;display:grid;place-items:center}
.welcome-mascot .icon{width:15px;height:15px}
.room-welcome>.eyebrow{font-size:8px;letter-spacing:.11em;margin:9px 0 10px;color:#7c6a8e}
.room-welcome h1{font-size:clamp(35px,3.7vw,52px);font-weight:850;letter-spacing:-.055em;line-height:1.06;color:#20293f}
.room-welcome h1>span{color:#8861b8}
.welcome-lede{font-size:13px;line-height:1.7;color:#667086;margin-top:16px}
.room-prompts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:25px;text-align:left}
.room-prompts button{position:relative;background:#ffffffd9;border:1px solid #dfe2ee;border-radius:13px;text-align:left;padding:15px 12px;box-shadow:0 3px 10px #36316304;transition:transform .18s,border-color .18s;font:inherit;min-width:0}
.room-prompts button:hover{transform:translateY(-3px);border-color:#b194d3;background:#fff}
.prompt-symbol{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;margin-bottom:12px}
.prompt-symbol .icon{width:17px;height:17px}
.prompt-symbol.lilac{color:#674487;background:#eee2fc}.prompt-symbol.mint{color:#2c7160;background:#def6ed}.prompt-symbol.rose{color:#a24b73;background:#fde5ef}.prompt-symbol.peach{color:#9b7330;background:#fff0d0}
.room-prompts strong{font-size:11px;display:block;color:#323a51;font-weight:750}
.room-prompts button>span:not(.prompt-symbol){font-size:9px;color:#667086;display:block;margin-top:5px;line-height:1.55}
.room-prompts button>.icon{position:absolute;top:20px;right:13px;width:13px;height:13px;color:#9c8db0}
.welcome-cat-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:19px auto 0;max-width:420px}
.welcome-cat-preview button{position:relative;overflow:hidden;border-radius:10px;aspect-ratio:1.7;background:#eae1ec;border:1px solid #e8deef}
.welcome-cat-preview img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.welcome-cat-preview button:hover img{transform:scale(1.06)}
.welcome-cat-preview span{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#172139e6);font-size:7px;line-height:1.3;color:#fff;padding:16px 4px 5px}
.welcome-footnote{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;color:#6a7587;margin-top:14px}
.welcome-footnote .icon{width:12px;height:12px;color:#7e62a3}
.room-log,.room-typing{width:min(100%,740px);margin-inline:auto}
.room-message{display:flex;gap:12px;align-items:flex-start;margin-bottom:26px;animation:room-appear .18s ease-out}
.room-message>.room-avatar{width:32px;height:32px;flex:none;margin-top:6px;background:#f0e7fa;border-radius:10px}
.room-message.user{justify-content:flex-end;padding-left:30px}
.room-message.user .room-bubble{background:#efe5fb;color:#3d3155;border:1px solid #e0d2ee;border-radius:15px 4px 15px 15px;max-width:90%;padding:13px 18px;font-size:13px;white-space:pre-wrap}
.room-bubble{min-width:0;overflow-wrap:anywhere}
.room-message.assistant .room-bubble{width:min(100%,560px)}
.room-bubble>.speaker-label{font-size:11px;font-weight:750;margin-bottom:5px;display:block;color:#3f3653}
.room-bubble>.reply-copy{font-size:13px;line-height:1.75;color:#505b73}
.cat-answer{margin-top:13px;border:1px solid #e0d6eb;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 16px #50426008;max-width:450px}
.cat-answer>.cat-image{display:block;background:#eee7f1;overflow:hidden;aspect-ratio:1.7}
.cat-answer img{width:100%;height:100%;object-fit:cover}
.cat-answer-copy{padding:15px 18px 14px}
.cat-answer .cat-approval{font-size:8px;letter-spacing:.09em;color:#30715f;display:flex;align-items:center;gap:5px;font-weight:750;text-transform:uppercase}
.cat-answer h2{font-size:18px;margin-top:8px;line-height:1.2}
.cat-answer .cat-caption-copy{font-size:11px;color:#637086;margin-top:7px;line-height:1.65}
.cat-answer-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:13px;padding-top:11px;border-top:1px solid #edf0f6;font-size:9px;color:#7c658e}
.cat-answer-footer a{color:#715095;text-decoration:underline;text-underline-offset:3px}
.cat-another{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:#775494;font-size:10px;font-weight:600;padding:9px 0;min-height:34px;margin-top:3px}
.cat-another:hover{color:#3f255e;text-decoration:underline}.cat-another .icon{width:13px;height:13px}
.room-typing{display:flex;align-items:center;gap:10px;font-size:11px;color:#7d6592;padding-bottom:15px}
.typing-dots{letter-spacing:3px;color:#a28abf;animation:thinking 1s ease-in-out infinite}
.room-composer-area{padding:12px 36px 15px;background:linear-gradient(#fafbff00,#fafbff 12%);width:100%;border-top:1px solid #efedf6}
.cat-moods{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;max-width:760px;margin:0 auto 9px}
.cat-moods>span{font-size:7.5px;letter-spacing:.09em;color:#8a789b;font-weight:750}
.cat-moods>div{display:flex;gap:5px;flex-wrap:wrap}
.cat-moods button{border:1px solid #e1dcea;background:#fff;border-radius:20px;padding:5px 10px;min-height:30px;color:#776586;font-size:9px;font-weight:600;white-space:nowrap}
.cat-moods button[aria-pressed=true]{background:#eee2fc;border-color:#c7a8e4;color:#623b83}
.room-form{max-width:760px;margin:auto;background:#fff;border:1px solid #d7c8e8;border-radius:15px;box-shadow:0 4px 18px #5a467208;overflow:hidden}
.room-form:focus-within{border-color:#a27ac9;box-shadow:0 0 0 3px #c9aceb25}
.room-form textarea{font:inherit;display:block;width:100%;border:0;background:transparent;color:#303c55;outline:0;padding:15px 18px 4px;resize:vertical;min-height:58px;max-height:150px;font-size:12px;line-height:1.6}
.room-form textarea::placeholder{color:#7e7a8e}
.composer-actions{display:flex;align-items:center;gap:12px;padding:5px 11px 10px}
.surprise-cat{display:flex;align-items:center;gap:6px;font-size:10px;padding:7px;border:0;border-radius:6px;background:none;color:#7f609f;margin-right:auto;min-height:33px}
.surprise-cat:hover{background:#f4edfb}.surprise-cat .icon{width:15px;height:15px}
#room-count{color:#80778d;font-size:8px}
.room-send{display:grid;place-items:center;background:linear-gradient(120deg,#b087e0,#976aca);border:1px solid #9a72c1;color:#fff;width:35px;height:35px;border-radius:10px;flex:none}
.room-send:hover{background:#9464c5}.room-send .icon{transform:rotate(-90deg);width:18px;height:18px}
.room-disclaimer{display:flex;gap:5px;justify-content:center;align-items:start;color:#787a89;font-size:8px;line-height:1.6;margin:8px auto 0;max-width:760px;text-align:center}
.room-disclaimer>.icon{width:9px;height:9px;margin-top:2px}.room-disclaimer a{text-decoration:underline;text-underline-offset:2px}
.page-chatroom .site-footer .footer-top{display:none}.page-chatroom .site-footer .footer-bottom{border:0;padding-block:15px}
.sidebar-toggle{color:#73518d;flex:none;width:33px;height:33px}
.room-empty-note{font-size:11px;color:#73667f;text-align:center;margin-bottom:16px}
@keyframes room-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes thinking{50%{opacity:.35}}
@media(min-width:1600px){.room-scroll{padding-top:46px}.room-welcome{padding-top:15px}.room-prompts{margin-top:33px}.welcome-cat-preview{margin-top:25px;max-width:480px}.room-welcome h1{font-size:58px}}
@media(max-width:1100px){.workspace-shell{grid-template-columns:218px minmax(0,1fr)}.workspace-sidebar{padding-inline:14px}.room-toolbar{padding-inline:23px}.room-scroll{padding-inline:24px}.room-composer-area{padding-inline:24px}.room-prompts{grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px;margin-inline:auto}.room-prompts button{padding:11px 12px}.prompt-symbol{margin-bottom:8px}.welcome-cat-preview{max-width:340px}.cat-moods{justify-content:center}.cat-moods>span{display:none}.room-welcome>.eyebrow{font-size:7px}.room-welcome h1{font-size:41px}.welcome-mascot{margin-bottom:8px}.room-welcome{padding-top:0}}
@media(max-width:850px){.workspace-shell{display:block;height:auto;min-height:0;position:relative}.workspace-sidebar{border-bottom:1px solid #404863;max-height:65dvh;overflow:auto;padding:18px 23px}.workspace-sidebar[hidden]{display:none}.sidebar-heading{margin-bottom:15px}.sidebar-new{margin-bottom:18px}.sidebar-bottom{padding-top:14px}.sidebar-motto{display:none}.sidebar-controls{padding-top:13px}.sidebar-controls select{max-width:340px}.sidebar-controls>p{min-height:0}.sidebar-score{margin-top:12px}.session-note{margin-bottom:14px}.recent-chats{max-height:155px}.chat-room{height:calc(100dvh - 76px);min-height:560px}.room-online{font-size:8px}.room-toolbar{padding:13px 19px}.room-scroll{padding:27px 22px}.room-composer-area{padding:10px 20px 12px}.room-identity p{font-size:9px}.room-welcome{max-width:560px}.room-prompts{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px;max-width:440px}.welcome-cat-preview{max-width:340px}.room-welcome h1{font-size:39px}.welcome-lede{font-size:12px;margin-top:13px}.room-message{gap:8px}.room-message.assistant .room-bubble{width:min(100%,560px)}}
@media(max-width:480px){.room-toolbar{padding:12px 12px;gap:8px}.room-identity{gap:7px}.room-identity>img{width:29px;height:29px}.room-identity strong{font-size:12px;gap:6px}.model-badge{font-size:6px;padding:3px 4px}.room-identity p{font-size:8px}.room-online{font-size:0;gap:0}.room-online .status-dot{width:7px;height:7px;margin-right:4px}.room-scroll{padding:24px 15px}.room-welcome>.eyebrow{font-size:6.3px;letter-spacing:.06em;max-width:270px;margin-inline:auto}.welcome-mascot img{width:46px;height:46px}.welcome-mascot{margin-bottom:12px}.room-welcome h1{font-size:37px}.welcome-lede{font-size:11px}.room-prompts{gap:8px;margin-top:20px}.room-prompts strong{font-size:10px}.room-prompts button>span:not(.prompt-symbol){font-size:8px}.room-prompts button{border-radius:11px;padding:12px 10px}.prompt-symbol{width:26px;height:26px;margin-bottom:8px}.room-prompts button>.icon{right:10px;top:17px}.welcome-cat-preview{margin-top:15px;gap:7px}.welcome-cat-preview span{font-size:6.5px}.welcome-footnote{font-size:8px}.room-composer-area{padding-inline:12px}.cat-moods>div{gap:4px}.cat-moods button{font-size:8px;min-height:29px;padding:5px 9px}.room-form textarea{padding:12px 12px 3px;font-size:11px}.composer-actions{padding:4px 8px 7px;gap:6px}.surprise-cat{font-size:9px;padding-inline:4px}.room-disclaimer{font-size:7px;max-width:320px}.room-message>.room-avatar{width:26px;height:26px}.room-bubble>.reply-copy{font-size:12px}.room-message.user .room-bubble{font-size:12px}.cat-answer-copy{padding:12px}.cat-answer h2{font-size:16px}.cat-answer .cat-caption-copy{font-size:10px}.cat-answer .cat-approval{font-size:7px}.cat-answer-footer{font-size:8px}.room-typing{font-size:9px}.room-message{margin-bottom:20px}.page-chatroom .footer-motto{display:none}}
@media(prefers-reduced-motion:reduce){.room-scroll{scroll-behavior:auto}.room-message,.typing-dots{animation:none}.room-prompts button,.welcome-cat-preview img{transition:none}}

/* Keep mobile text entry at a comfortable size; other site styling is unchanged. */
@media(max-width:480px){.room-form textarea{font-size:16px;min-height:70px}.composer-actions{gap:8px}}

/* Show complete portraits; do not stretch the retained small activity scenes. */
.cat-answer-portrait{max-width:336px}
.cat-answer-portrait>.cat-image{aspect-ratio:4/5}
.cat-answer-portrait img{object-fit:contain}
.cat-answer-scene{max-width:376px}
.cat-answer-scene>.cat-image{aspect-ratio:376/334}
.cat-answer-scene img{object-fit:scale-down}

/* Same welcome preview layout; choosing one now submits an ordinary cat request. */
.welcome-cat-preview button{padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.welcome-cat-preview button:disabled{cursor:default}
.welcome-cat-preview button:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
/* Keep offscreen speaker labels inside their scrollable message, not the document. */
#room-log .room-bubble{position:relative}

/* v1.3.0: fit the existing chat chrome inside the viewport, not underneath it.
   min-height:0 is essential: earlier 720/560px floors produced a second scrollbar. */
html.chat-viewport{height:100%;overflow:hidden;scroll-padding-top:0}
.page-chatroom{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.page-chatroom>.site-header,.page-chatroom>.site-footer{flex:none}
.page-chatroom #main{flex:1;display:flex;min-height:0;overflow:hidden}
.page-chatroom .workspace-shell{flex:1;width:100%;height:100%;min-height:0;position:relative}
.page-chatroom .chat-room{height:100%;min-height:0}
.page-chatroom .room-scroll{min-height:0;position:relative;overflow-x:hidden;overflow-y:auto}
.page-chatroom .room-composer-area{position:relative;min-width:0}
.page-chatroom .site-footer{padding-top:0}
.page-chatroom .footer-bottom{padding-block:8px}
.page-chatroom .room-form{position:relative}
.page-chatroom .room-form textarea{max-height:min(150px,20dvh)}
.sidebar-dismiss{display:none}
.sidebar-scrim{position:absolute;inset:0;background:#171c3070;border:0;z-index:29}
@media(max-width:850px){
 .page-chatroom .workspace-sidebar{position:absolute;inset:0 auto 0 0;width:min(290px,90%);height:100%;max-height:none;z-index:30;box-shadow:12px 0 30px #171c3026}
 .page-chatroom .sidebar-heading{padding-right:29px}
 .sidebar-dismiss{display:grid;position:absolute;top:15px;right:12px;color:#e2c9ff}
 .page-chatroom .recent-chats{max-height:none;flex-shrink:0}
 .page-chatroom .workspace-sidebar>*{flex-shrink:0}
 .page-chatroom .room-composer-area{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
 .page-chatroom .footer-bottom{padding-block:6px;gap:6px}
 .page-chatroom .footer-motto{display:none}
}
@media(max-height:600px){
 .page-chatroom .room-toolbar{padding-block:8px}
 .page-chatroom .room-composer-area{padding-top:6px;padding-bottom:5px}
 .page-chatroom .room-form textarea{min-height:40px;height:40px}
 .page-chatroom .room-disclaimer{margin-top:4px}
 .page-chatroom .cat-moods{margin-bottom:5px}
}
@media print{
 html.chat-viewport,.page-chatroom{height:auto;overflow:visible;display:block}
 .page-chatroom #main,.page-chatroom .workspace-shell,.page-chatroom .chat-room{display:block;height:auto;overflow:visible}
 .page-chatroom .room-scroll{overflow:visible;height:auto}
 .page-chatroom .workspace-sidebar,.page-chatroom .room-composer-area{display:none}
}
/* Short/landscape windows retain the same controls with less surrounding chrome. */
@media(max-height:480px){
 .page-chatroom .header-inner{min-height:49px;padding-block:5px}
 .page-chatroom .brand>img{width:30px;height:30px}
 .page-chatroom .wordmark{font-size:20px}.page-chatroom .tagline{font-size:6px}
 .page-chatroom .button-login{min-height:32px;padding-block:6px}
 .page-chatroom .room-toolbar{padding-block:6px}
 .page-chatroom .room-identity>img{width:27px;height:27px}
 .page-chatroom .room-identity p{display:none}
 .page-chatroom .cat-moods button{min-height:25px;padding-block:3px}
 .page-chatroom .room-composer-area{padding-top:4px;padding-bottom:3px}
 .page-chatroom .room-form textarea{min-height:34px;height:34px;padding-top:6px}
 .page-chatroom .composer-actions{padding-block:3px}
 .page-chatroom .room-send{height:30px;width:30px}
 .page-chatroom .surprise-cat{min-height:29px}
 .page-chatroom .room-disclaimer{margin-top:2px}
 .page-chatroom .footer-bottom{padding-block:3px}
}
@media(max-width:850px){html:not(.js) .page-chatroom .workspace-sidebar{display:none}}
/* Do not compress recent-chat buttons underneath adjacent controls on short desktops. */
.page-chatroom .workspace-sidebar>*{flex-shrink:0}

/* v1.4.0: optional, bounded appeal actions within the existing reply, not a new panel. */
#room-log .cat-reply-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin-top:6px}
#room-log .cat-reply-actions .cat-another{margin:0;min-height:36px}
#room-log .cat-appeal{font:inherit;font-size:12px;font-weight:650;line-height:1.4;min-height:36px;padding:7px 0;border:0;background:transparent;color:var(--purple);text-align:left;text-decoration:underline;text-underline-offset:3px}
#room-log .cat-appeal:hover{color:#4c2b7d}
#room-log .cat-appeal:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){#room-log .cat-appeal,#room-log .cat-reply-actions .cat-another{min-height:44px}}
