/* ════════════════════════════════════════════════════════════════
   ask.css — Ask-a-question view + Q-modal + rate-modal
   ════════════════════════════════════════════════════════════════
   Extracted from dashboard.css in C-port turn 7. Holds .ask-*,
   .q-*, and .rate-* rules.
   ════════════════════════════════════════════════════════════════ */


    .ask-layout{flex:1;display:flex;flex-direction:column;overflow:hidden;}

    .ask-subbar{padding:8px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0;}

    .ask-powered{font-size:10px;font-weight:700;letter-spacing:.08em;padding:3px 8px;border:1px solid var(--border);border-radius:4px;color:var(--muted);}

    .ask-body{flex:1;overflow-y:auto;padding:20px 24px;display:flex;flex-direction:column;gap:14px;}

    .ask-bubble-wrap{display:flex;gap:10px;align-items:flex-end;}

    .ask-bubble-wrap.me{flex-direction:row-reverse;}

    .ask-bubble{max-width:72%;padding:11px 15px;border-radius:14px;font-size:14px;line-height:1.6;word-break:break-word;}

    .ask-bubble-wrap:not(.me) .ask-bubble{background:var(--surface);border-bottom-left-radius:3px;}

    .ask-bubble-wrap.me .ask-bubble{background:var(--accent);color:white;border-bottom-right-radius:3px;}

    .ask-avatar{width:30px;height:30px;border-radius:50%;background:var(--accent-light);color:var(--accent);font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;}

    .ask-footer{padding:12px 16px;border-top:1px solid var(--border);display:flex;flex-wrap:nowrap;gap:8px;flex-shrink:0;align-items:flex-end;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden;}

    .ask-input{flex:1 1 0;min-width:0;padding:10px 13px;border:1px solid var(--border);border-radius:8px;font-family:inherit;font-size:14px;outline:none;transition:border-color .15s;resize:none;min-height:44px;max-height:120px;line-height:1.4;width:100%;box-sizing:border-box;}

    .ask-input:focus{border-color:var(--accent);}

    .ask-send{background:var(--accent);color:white;border:none;padding:10px 20px;border-radius:8px;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s;white-space:nowrap;height:44px;}

    .ask-send:hover{background:var(--accent-dark);}

    .ask-send:disabled{opacity:.5;cursor:not-allowed;}

    .ask-welcome{text-align:center;padding:40px 20px;color:var(--muted);}

    .ask-welcome-icon{font-size:40px;margin-bottom:12px;}

    .ask-welcome h3{font-size:16px;font-weight:700;color:var(--text);margin-bottom:6px;}

    .ask-welcome p{font-size:13px;line-height:1.6;max-width:320px;margin:0 auto;}

    .ask-typing{display:flex;gap:4px;align-items:center;padding:12px 15px;background:var(--surface);border-radius:14px;border-bottom-left-radius:3px;width:fit-content;}

    .ask-typing span{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:typing-bounce .8s infinite;}

    .ask-typing span:nth-child(2){animation-delay:.15s;}

    .ask-typing span:nth-child(3){animation-delay:.3s;}

    .ask-spinner{width:28px;height:28px;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite;}