/* Inline response forms follow the supplied question-card reference. */
.ip-opening{margin-top:0;margin-bottom:30px}
.message.assistant .ip-form-content{white-space:normal}
.message.assistant .ip-form-content .ip-form-intro{margin:0 0 20px;color:var(--color-text);font-size:16px;line-height:1.8}
.message.assistant .ip-form-content .ip-form-helper{margin:14px 0 0;color:var(--color-muted);font-size:13px;line-height:1.7}
.ip-answer-card{padding:24px;border:1px solid #e3e3e6;border-radius:20px;background:#fff;min-width:0}
.ip-answer-card label{display:block;font-size:16px;font-weight:600;line-height:1.65;margin:0 0 12px;color:var(--color-text)}
.ip-answer-card textarea{display:block;width:100%;min-height:88px;resize:vertical;padding:12px 14px;border:1px solid #d9d9dc;border-radius:9px;background:#fff;font-size:16px;line-height:1.65;box-shadow:0 0 0 1px #00000002}
.ip-answer-card textarea[readonly]{background:#fafafa;color:#55555b;resize:none}
.ip-answer-card .ip-submit{display:flex;width:100%;min-height:44px;padding:10px 18px;gap:10px;margin-top:24px;border:0;border-radius:999px;background:#111;color:#fff;font-size:14px;font-weight:600;line-height:24px}
.ip-answer-card .ip-submit .ui-icon{width:20px;height:20px}
.ip-answer-card .ip-submit:hover:not(:disabled){background:#303030}
.ip-answer-card .ip-submit:active:not(:disabled){background:#000}
.ip-answer-card .ip-submit:disabled{opacity:1;background:#ebebed;color:#9a9a9f}
.ip-form-receipt{margin-top:14px;font-size:13px;line-height:20px;color:var(--color-muted)}
.message.assistant .ip-form-content .ip-research-title{margin:0 0 12px;font-size:20px;font-weight:600;line-height:1.5;letter-spacing:0}
.message.assistant .ip-form-content .ip-research-title+.ip-form-intro{margin-bottom:8px}
.message.assistant .ip-form-content .ip-form-helper+.ip-research-form{margin-top:20px}
.ip-form-count{display:block;font-size:12px;line-height:20px;color:var(--color-muted);font-weight:400}
.ip-question-group{margin:24px 0 0}
.message.assistant .ip-form-content .ip-question-group h3{font-size:13px;line-height:20px;font-weight:500;color:var(--color-muted);margin:0 0 20px}
.ip-question{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #ededee}
.ip-question-group .ip-question:last-child{margin-bottom:0}
.ip-form-bottom{margin-top:20px}
.ip-form-bottom .ip-submit{margin-top:12px}
@media(max-width:767px){.ip-answer-card{padding:18px 16px;border-radius:18px}.ip-answer-card label{font-size:15px;line-height:1.65}.ip-answer-card textarea{min-height:92px;padding:12px;font-size:16px}.message.assistant .ip-form-content .ip-form-intro{font-size:15px;margin-bottom:16px}.ip-question{padding-bottom:22px;margin-bottom:22px}.message.assistant .ip-form-content .ip-research-title{font-size:19px}}

.ip-question label{margin-bottom:6px}
.message.assistant .ip-form-content .ip-answer-reference{margin:0 0 12px;color:var(--color-muted);font-size:13px;line-height:20px;font-weight:400;white-space:normal}

.message.assistant .ip-form-content .ip-form-error{color:var(--color-danger);font-size:13px;line-height:20px;margin:8px 0 0}

.ip-copy-actions{align-items:center}.ip-copy-actions [data-ip-copy-status]{font-size:12px;color:var(--color-muted)}
@media(max-width:767px){.message-actions.ip-copy-actions .icon-button{width:44px;height:44px;min-height:44px}}

.copy-requirements-field{margin-top:24px}.copy-requirements-field label{display:flex;justify-content:space-between;gap:12px}.copy-requirements-field label span{font-size:13px;font-weight:400;color:var(--color-text-secondary,#888)}.copy-requirements-field textarea{min-height:106px}.copy-preview-value{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;line-height:1.7;margin-bottom:24px}.copy-preview-actions{display:flex;align-items:center;gap:12px}.copy-preview-actions .ip-submit{margin-top:0}.copy-preview-actions>button:first-child{flex-shrink:0;padding:10px 18px;border:1px solid #ddd;border-radius:999px;background:#fff;min-height:44px}.copy-preview-actions .ui-icon{width:18px;height:18px}

/* Copywriting intake: a compact, scoped form using the site's neutral palette. */
.copy-intake-card{padding:28px!important;border:1px solid #e7e7eb;border-radius:24px;background:#fff;box-shadow:0 6px 24px #1d1d1f04}
.copy-intake-heading{display:flex;align-items:center;gap:14px;margin-bottom:28px}
.copy-intake-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;background:#f2f3f6;border:1px solid #eaeaf0;border-radius:14px;color:#55555e}
.copy-intake-icon .ui-icon{width:22px;height:22px}
.copy-intake-heading h3{margin:0;font-size:20px;font-weight:600;line-height:1.5;letter-spacing:-.4px}
.copy-intake-heading p{margin:4px 0 0;font-size:13px;color:#86868b;line-height:1.6}
.copy-intake-card label{font-size:14px;margin-bottom:10px}
.copy-intake-card textarea{border-radius:14px;padding:14px 16px;background:#f8f8fa;border-color:#e8e8ed;font-size:15px;line-height:1.75;box-shadow:none;transition:border-color .16s,box-shadow .16s,background .16s}
.copy-intake-card textarea::placeholder{color:#96969e}
.copy-intake-card textarea:focus{outline:none;background:#fff;border-color:#86868b;box-shadow:0 0 0 3px #1d1d1f08}
.copy-intake-card #copyIntake{min-height:168px}
.copy-intake-card .copy-requirements-field{margin-top:22px}
.copy-intake-card #copyRequirements{min-height:88px}
.copy-intake-card .copy-requirements-field label span{font-size:11px;border-radius:6px;padding:1px 6px;background:#f2f2f5;color:#86868b}
.copy-intake-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #f0f0f3;margin-top:24px;padding-top:20px}
.copy-intake-footer>span{font-size:12px;color:#86868b}
.copy-intake-card .copy-intake-footer .ip-submit{width:auto;margin:0;min-width:136px;justify-content:center;padding:10px 20px}
@media(max-width:767px){.copy-intake-card{padding:20px 16px!important;border-radius:20px}.copy-intake-heading{gap:12px;margin-bottom:24px}.copy-intake-heading h3{font-size:18px}.copy-intake-heading p{font-size:12px}.copy-intake-card textarea{font-size:16px}.copy-intake-footer{gap:10px}.copy-intake-footer>span{font-size:11px}.copy-intake-card .copy-intake-footer .ip-submit{min-width:120px;padding:10px 16px}}

.copy-intake-card .copy-intake-footer{justify-content:flex-end}

.copy-intake-card label{display:flex;align-items:center;justify-content:flex-start;gap:8px}
.copy-intake-card label .copy-field-status{font-size:11px;font-weight:400;border-radius:6px;padding:1px 6px;background:#f2f2f5;color:#86868b}
