.ly-ai-content {
--ly-content-ink: #07152f;
--ly-content-muted: #667085;
--ly-content-line: #dfe6f2;
--ly-content-blue: #2558ed;
background: #f7f9fc;
color: var(--ly-content-ink);
font-size: 15px;
line-height: 1.65;
padding: 36px 0 88px;
}
.ly-ai-content *, .ly-ai-content *::before, .ly-ai-content *::after { box-sizing: border-box; }
.ly-ai-content [hidden] { display: none !important; }
.ly-ai-content__shell { width: min(100% - 64px, 1180px); margin-inline: auto; }
.ly-ai-content__intro { margin-bottom: 30px; }
.ly-ai-content__back { display: inline-flex; gap: 8px; margin-bottom: 30px; color: #526078; font-size: 13px; font-weight: 650; text-decoration: none; }
.ly-ai-content__back:hover { color: var(--ly-content-blue); }
.ly-ai-content__eyebrow { display: block; margin-bottom: 10px; color: var(--ly-content-blue); font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.ly-ai-content h1 { margin: 0; color: var(--ly-content-ink); font-size: clamp(34px, 4vw, 48px); font-weight: 780; line-height: 1.2; letter-spacing: -.045em; }
.ly-ai-content__intro > p { margin: 14px 0 0; color: var(--ly-content-muted); font-size: 16px; }
.ly-ai-content__notice { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 12px 16px; border: 1px solid #dce6fb; border-radius: 10px; background: #edf3ff; color: #355282; font-size: 13px; }
.ly-ai-content__notice p { margin: 0; }
.ly-ai-content__notice-dot { flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--ly-content-blue); }
.ly-ai-content__login-notice { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding: 24px 28px; border: 1px solid var(--ly-content-line); border-radius: 16px; background: #fff; }
.ly-ai-content__login-notice strong { font-size: 16px; }
.ly-ai-content__login-notice p { margin: 5px 0 0; color: var(--ly-content-muted); font-size: 13px; }
.ly-ai-content__form { margin: 0; }
.ly-ai-content__tasks { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.ly-ai-content__tasks legend { float: none; width: auto; margin: 0 0 16px; padding: 0; color: var(--ly-content-ink); font-size: 18px; font-weight: 750; line-height: 1.4; }
.ly-ai-content__step { display: inline-block; margin-right: 10px; color: #6980a3; font-size: 12px; font-weight: 700; vertical-align: middle; }
.ly-ai-content__task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ly-ai-content__task { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
.ly-ai-content__task input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ly-ai-content__task-body { display: flex; height: 100%; flex-direction: column; padding: 16px 20px 18px; border: 1px solid var(--ly-content-line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.ly-ai-content__task:hover .ly-ai-content__task-body { border-color: #91acf6; }
.ly-ai-content__task input:checked + .ly-ai-content__task-body { border-color: var(--ly-content-blue); background: #f0f5ff; box-shadow: inset 0 0 0 1px var(--ly-content-blue); }
.ly-ai-content__task-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.ly-ai-content__task-number { color: #8a98ac; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.ly-ai-content__radio-mark { display: grid; width: 16px; height: 16px; place-items: center; border: 1px solid #ccd5e3; border-radius: 50%; background: #fff; }
.ly-ai-content__task input:checked + .ly-ai-content__task-body .ly-ai-content__radio-mark { border-color: var(--ly-content-blue); background: var(--ly-content-blue); }
.ly-ai-content__task input:checked + .ly-ai-content__task-body .ly-ai-content__radio-mark::after { width: 6px; height: 6px; border-radius: 50%; background: #fff; content: ''; }
.ly-ai-content__task input:checked + .ly-ai-content__task-body .ly-ai-content__task-number { color: var(--ly-content-blue); }
.ly-ai-content__task strong { color: var(--ly-content-ink); font-size: 16px; font-weight: 750; }
.ly-ai-content__task-description { margin-top: 4px; color: var(--ly-content-muted); font-size: 12px; }
.ly-ai-content__workspace { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.ly-ai-content__input-panel, .ly-ai-content__result-panel { min-width: 0; overflow-wrap: anywhere; border: 1px solid var(--ly-content-line); border-radius: 18px; background: #fff; }
.ly-ai-content__input-panel { padding: 28px; }
.ly-ai-content__panel-heading { margin-bottom: 24px; }
.ly-ai-content__panel-heading h2 { margin: 0; color: var(--ly-content-ink); font-size: 20px; font-weight: 750; line-height: 1.4; }
.ly-ai-content__panel-heading p { margin: 8px 0 0; color: var(--ly-content-muted); font-size: 13px; }
.ly-ai-content__field { min-width: 0; margin: 0 0 21px; }
.ly-ai-content__field > label { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: #25354e; font-size: 13px; font-weight: 700; }
.ly-ai-content__required, .ly-ai-content__optional { color: #8390a2; font-size: 11px; font-weight: 400; }
.ly-ai-content__field textarea, .ly-ai-content__field select, .ly-ai-content__field input { display: block; width: 100%; max-width: 100%; min-height: 46px; margin: 0; padding: 12px 14px; border: 1px solid #d8e0ec; border-radius: 9px; background-color: #fff; box-shadow: none; color: #20314c; font: inherit; font-size: 14px; line-height: 1.7; }
.ly-ai-content__field textarea { resize: vertical; }
.ly-ai-content__field select { padding-right: 32px; cursor: pointer; }
.ly-ai-content__field textarea::placeholder, .ly-ai-content__field input::placeholder { color: #8995a7; opacity: 1; }
.ly-ai-content__field-note { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-top: 7px; color: #7c899e; font-size: 11px; line-height: 1.6; }
.ly-ai-content__field-note--end { justify-content: flex-end; }
.ly-ai-content__count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.ly-ai-content__input-limit { margin: -7px 0 16px; color: var(--ly-content-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.ly-ai-content__input-limit[data-over-limit="true"] { color: #a6332d; }
.ly-ai-content__field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ly-ai-content__button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; box-shadow: none; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ly-ai-content__button--primary { background: #0b1b38; color: #fff; }
.ly-ai-content__button--primary:hover, .ly-ai-content__button--primary:focus { background: #173361; color: #fff; }
.ly-ai-content__button--secondary { border-color: #dce3ed; background: #fff; color: #2d405d; }
.ly-ai-content__button--secondary:hover { border-color: #a9b9d2; background: #f5f8fd; color: #183559; }
.ly-ai-content__button--text { padding-inline: 8px; background: transparent; color: #576c8a; }
.ly-ai-content__button--text:hover { background: #f5f8fd; color: var(--ly-content-blue); }
.ly-ai-content__button:disabled { cursor: wait; opacity: .6; }
.ly-ai-content__generate { width: 100%; min-height: 50px; justify-content: space-between; padding-inline: 20px; font-size: 14px; }
.ly-ai-content__privacy { margin: 13px 0 0; color: #7a879a; font-size: 11px; line-height: 1.8; }
.ly-ai-content__error { margin: 0 0 16px; padding: 11px 13px; border: 1px solid #f2cbca; border-radius: 9px; background: #fff4f3; color: #a6332d; font-size: 13px; }
.ly-ai-content__error a { color: #8d2723; text-decoration: underline; text-underline-offset: 3px; }
.ly-ai-content__result-panel { display: flex; min-height: 612px; flex-direction: column; }
.ly-ai-content__result-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 25px 26px 22px; border-bottom: 1px solid #e7ecf4; }
.ly-ai-content__result-heading .ly-ai-content__eyebrow { margin-bottom: 6px; color: #8799b6; font-size: 9px; }
.ly-ai-content__result-heading h2 { margin: 0; color: var(--ly-content-ink); font-size: 20px; font-weight: 750; line-height: 1.4; }
.ly-ai-content__result-task { flex-shrink: 0; padding: 5px 9px; border: 1px solid #e2e8f2; border-radius: 6px; color: #60738f; font-size: 11px; }
.ly-ai-content__empty { display: flex; min-height: 400px; flex: 1; align-items: center; justify-content: center; flex-direction: column; padding: 42px 26px; text-align: center; }
.ly-ai-content__paper { position: relative; width: 79px; height: 97px; margin-bottom: 25px; padding: 25px 17px 14px; transform: rotate(-5deg); border: 1px solid #dce5f4; border-radius: 11px; background: linear-gradient(140deg, #fff, #f1f5fc); box-shadow: 5px 7px 0 #f4f7fc; }
.ly-ai-content__paper > span { display: block; width: 100%; height: 3px; margin-bottom: 8px; border-radius: 2px; background: #dce5f3; }
.ly-ai-content__paper > span:nth-child(1) { width: 55%; background: #a9bee6; }
.ly-ai-content__paper > span:nth-child(4) { width: 70%; }
.ly-ai-content__paper b { position: absolute; top: -21px; right: -16px; color: #5277bc; font-size: 34px; font-weight: 400; }
.ly-ai-content__empty h3 { margin: 0; color: #334661; font-size: 17px; font-weight: 650; }
.ly-ai-content__empty p { max-width: 270px; margin: 10px 0 0; color: #7c899d; font-size: 13px; line-height: 1.9; }
.ly-ai-content__result-content { padding: 24px 26px; }
.ly-ai-content__mock-label { margin: 0 0 18px; padding: 8px 10px; border-radius: 7px; background: #edf3ff; color: #47649a; font-size: 11px; }
.ly-ai-content__result-text { min-height: 270px; color: #253650; font-size: 14px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }
.ly-ai-content__result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; padding-top: 18px; border-top: 1px solid #e8edf5; }
.ly-ai-content__status { margin: 0; padding: 0 26px; color: #557099; font-size: 12px; }
.ly-ai-content__status:not(:empty) { padding-bottom: 18px; }
.ly-ai-content__result-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 17px 26px; border-top: 1px solid #e8edf5; background: #fafbfd; border-radius: 0 0 18px 18px; color: #8794a7; font-size: 11px; }
.ly-ai-content__result-footer > span { color: #7e97bd; font-size: 15px; }
.ly-ai-content :is(a, button, textarea, input, select, [tabindex]):focus-visible { outline: 3px solid #7399f5; outline-offset: 3px; }
.ly-ai-content__task input:focus-visible + .ly-ai-content__task-body { outline: 3px solid #7399f5; outline-offset: 3px; }
.ly-ai-content__field :is(input, textarea, select):focus { border-color: #6f95ee; }
.ly-ai-content__result-panel[aria-busy="true"] .ly-ai-content__paper { animation: ly-ai-draft-pulse 1.6s ease-in-out infinite; }
@keyframes ly-ai-draft-pulse { 50% { opacity: .45; transform: translateY(-5px) rotate(-5deg); } }
@media (max-width: 1024px) {
.ly-ai-content__shell { width: min(100% - 48px, 1180px); }
.ly-ai-content__workspace { gap: 18px; }
.ly-ai-content__input-panel { padding: 22px; }
.ly-ai-content__result-heading, .ly-ai-content__result-content { padding-inline: 22px; }
.ly-ai-content__task-body { padding-inline: 16px; }
.ly-ai-content__field-row { gap: 12px; }
}
@media (max-width: 760px) {
.ly-ai-content { padding: 24px 0 56px; }
.ly-ai-content__shell { width: min(100% - 32px, 1180px); }
.ly-ai-content__back { margin-bottom: 25px; }
.ly-ai-content__intro { margin-bottom: 24px; }
.ly-ai-content__intro > p { max-width: 330px; font-size: 14px; }
.ly-ai-content__notice { align-items: baseline; font-size: 12px; }
.ly-ai-content__task-grid { grid-template-columns: 1fr; gap: 9px; }
.ly-ai-content__task-body { position: relative; padding: 14px 46px 14px 44px; }
.ly-ai-content__task-top { position: static; margin: 0; }
.ly-ai-content__task-number { position: absolute; top: 19px; left: 16px; }
.ly-ai-content__radio-mark { position: absolute; top: calc(50% - 8px); right: 16px; }
.ly-ai-content__task strong { font-size: 15px; }
.ly-ai-content__task-description { margin-top: 2px; font-size: 11px; }
.ly-ai-content__tasks { margin-bottom: 24px; }
.ly-ai-content__workspace { grid-template-columns: 1fr; gap: 20px; }
.ly-ai-content__input-panel { padding: 22px 20px; }
.ly-ai-content__field textarea, .ly-ai-content__field select, .ly-ai-content__field input { font-size: 16px; }
.ly-ai-content__field-row { grid-template-columns: 1fr; gap: 0; }
.ly-ai-content__field-note { font-size: 10px; }
.ly-ai-content__result-panel { min-height: 470px; }
.ly-ai-content__result-heading { padding: 22px 20px; }
.ly-ai-content__result-content { padding: 22px 20px; }
.ly-ai-content__empty { min-height: 320px; padding: 36px 20px; }
.ly-ai-content__result-footer { padding: 16px 20px; }
.ly-ai-content__status { padding-inline: 20px; }
.ly-ai-content__login-notice { align-items: stretch; flex-direction: column; gap: 18px; padding: 20px; }
.ly-ai-content__login-notice .ly-ai-content__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.ly-ai-content *, .ly-ai-content *::before, .ly-ai-content *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}