:root { --essay-purple: #7c3aed; --essay-deep: #4c1d95; --essay-soft: #f4efff; --essay-line: #e4daf4; --essay-ink: #21152f; --essay-muted: #71677c; }
.essay-screen { width: min(100%, 980px); }
.essay-header { align-items: center; }
.essay-credit-pill { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; gap: 0 7px; padding: 8px 13px; border: 2px solid var(--essay-line); border-radius: 15px; background: #fff; }
.essay-credit-pill > span { grid-row: 1 / 3; color: var(--essay-purple); font-size: 22px; }.essay-credit-pill strong { color: var(--essay-ink); font-size: 18px; line-height: 1; }.essay-credit-pill small { color: var(--essay-muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.essay-intro-card { display: flex; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 23px; border-radius: 20px; background: linear-gradient(135deg, var(--essay-deep), #8b5cf6); color: #fff; box-shadow: 0 6px 0 #3b147a; }
.essay-intro-card > div:first-child > span, .essay-history-section > header span, .essay-result > header span { font-size: 10px; font-weight: 900; letter-spacing: .11em; }.essay-intro-card h3 { margin: 5px 0; color: #fff; font-size: clamp(22px, 3vw, 31px); }.essay-intro-card p { max-width: 620px; margin: 0; color: #eee7ff; line-height: 1.5; }
.essay-price-card { display: grid; place-content: center; min-width: 145px; padding: 15px; border: 1px solid rgba(255,255,255,.35); border-radius: 16px; background: rgba(255,255,255,.13); text-align: center; }.essay-price-card strong { font-size: 20px; }.essay-price-card small { color: #eee7ff; }
.essay-privacy-card { display: flex; gap: 13px; align-items: flex-start; margin: 18px 0; padding: 14px 16px; border: 1px solid #cfe9dd; border-radius: 15px; background: #f0fbf6; }.essay-privacy-card > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #d8f5e7; color: #147a4b; }.essay-privacy-card strong { color: #145c3d; }.essay-privacy-card p { margin: 3px 0 0; color: #44665a; font-size: 13px; line-height: 1.45; }
.essay-form, .essay-result, .essay-history-section { padding: 22px; border: 2px solid var(--essay-line); border-radius: 19px; background: #fff; box-shadow: 0 3px 0 #ddd2eb; }
.essay-settings { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 13px; }.essay-settings label { display: grid; gap: 7px; color: var(--essay-ink); font-weight: 900; }.essay-settings input, .essay-settings select { min-height: 50px; padding: 0 13px; border: 2px solid var(--essay-line); border-radius: 13px; background: #fff; color: var(--essay-ink); font: inherit; }
.essay-editor-label { display: flex; justify-content: space-between; gap: 12px; margin: 19px 0 8px; color: var(--essay-ink); font-weight: 900; }.essay-editor-label small { color: var(--essay-muted); font-size: 11px; font-weight: 700; }
.essay-editor { width: 100%; min-height: 390px; resize: vertical; padding: 20px; border: 2px solid var(--essay-line); border-radius: 15px; outline: 0; background: #fdfcff; color: var(--essay-ink); font: 600 17px/1.75 Nunito, sans-serif; }.essay-editor:focus { border-color: var(--essay-purple); box-shadow: 0 0 0 4px #eee7ff; }
.essay-editor-footer { display: flex; justify-content: space-between; gap: 12px; padding: 8px 3px; color: var(--essay-muted); font-size: 11px; font-weight: 800; }
.essay-safety-confirm { display: flex; gap: 11px; align-items: flex-start; margin: 12px 0; padding: 13px; border-radius: 13px; background: var(--essay-soft); }.essay-safety-confirm input { width: 20px; height: 20px; accent-color: var(--essay-purple); }.essay-safety-confirm span { display: grid; gap: 2px; }.essay-safety-confirm strong { color: var(--essay-ink); }.essay-safety-confirm small { color: var(--essay-muted); }
.essay-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }.essay-actions > button:first-child { padding: 12px 17px; border: 2px solid var(--essay-line); border-radius: 13px; background: #fff; color: var(--essay-muted); font-weight: 900; }.essay-actions .start-button { width: auto; min-width: 250px; margin: 0; }
.essay-status { min-height: 20px; color: var(--essay-muted); font-weight: 800; }.essay-status.error { color: #b42318; }.essay-status.success { color: #16794b; }.essay-status.loading { color: var(--essay-purple); }
.essay-result { margin-top: 20px; }.essay-result > header { display: flex; justify-content: space-between; gap: 20px; align-items: center; }.essay-result h3 { margin: 4px 0; color: var(--essay-ink); }.essay-result > header p { margin: 0; color: var(--essay-muted); }.essay-score { display: grid; place-items: center; flex: 0 0 112px; height: 98px; border-radius: 24px; background: var(--essay-soft); color: var(--essay-purple); }.essay-score strong { font-size: 35px; line-height: 1; }.essay-score small { font-weight: 900; }
.essay-competencies { display: grid; gap: 10px; margin: 20px 0; }.essay-competencies article { padding: 13px 15px; border: 1px solid var(--essay-line); border-radius: 14px; }.essay-competencies header { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; }.essay-competencies header span { display: grid; place-items: center; height: 30px; border-radius: 9px; background: var(--essay-soft); color: var(--essay-purple); font-weight: 900; }.essay-competencies header strong { color: var(--essay-ink); }.essay-competencies header b { color: var(--essay-purple); }.essay-competencies i { display: block; height: 7px; margin: 10px 0 7px; overflow: hidden; border-radius: 99px; background: #ede8f3; }.essay-competencies i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--essay-purple), #a78bfa); }.essay-competencies p { margin: 0; color: var(--essay-muted); font-size: 13px; line-height: 1.45; }
.essay-feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.essay-feedback-grid article { display: flex; gap: 11px; padding: 16px; border-radius: 15px; background: #f6f3fa; }.essay-feedback-grid article > span { color: var(--essay-purple); font-size: 20px; font-weight: 900; }.essay-feedback-grid ul { margin: 7px 0 0; padding-left: 19px; color: var(--essay-muted); }
.essay-detailed-feedback, .essay-rewrite { margin-top: 14px; padding: 17px; border: 1px solid var(--essay-line); border-radius: 15px; }.essay-detailed-feedback h4, .essay-rewrite h4 { margin: 0 0 7px; color: var(--essay-ink); }.essay-detailed-feedback p, .essay-rewrite blockquote { margin: 0; color: var(--essay-muted); line-height: 1.6; }.essay-rewrite blockquote { padding-left: 14px; border-left: 4px solid #c4a9f5; }.essay-rewrite small { display: block; margin-top: 8px; color: var(--essay-muted); }.essay-disclaimer { margin: 15px 0 0; color: var(--essay-muted); font-size: 11px; text-align: center; }
.essay-history-section { margin-top: 20px; }.essay-history-section > header { display: flex; justify-content: space-between; align-items: center; }.essay-history-section h3 { margin: 3px 0; color: var(--essay-ink); }.essay-history-section > header button { padding: 8px 12px; border: 1px solid var(--essay-line); border-radius: 10px; background: #fff; color: var(--essay-purple); font-weight: 900; }.essay-history { display: grid; gap: 8px; margin-top: 14px; }.essay-history > button { display: flex; justify-content: space-between; gap: 15px; align-items: center; width: 100%; padding: 13px 15px; border: 1px solid var(--essay-line); border-radius: 13px; background: #fff; color: var(--essay-ink); text-align: left; }.essay-history > button > span { display: grid; gap: 2px; min-width: 0; }.essay-history small, .essay-history em { color: var(--essay-muted); font-size: 10px; font-style: normal; }.essay-history strong, .essay-history em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.essay-history > button > b { color: var(--essay-purple); font-size: 21px; }.essay-history > button > b small { display: block; }.essay-empty { margin: 8px 0; color: var(--essay-muted); text-align: center; }
@media (max-width: 700px) { .essay-header { display: grid !important; grid-template-columns: 42px minmax(0, 1fr) auto !important; gap: 9px !important; align-items: center !important; text-align: left !important; }.essay-header > div:nth-child(2) { min-width: 0; text-align: left !important; }.essay-header h2 { margin: 2px 0 0 !important; font-size: clamp(20px, 6.2vw, 26px) !important; line-height: 1.08 !important; }.essay-header .eyebrow { font-size: 8px !important; }.essay-credit-pill { min-width: 58px; padding: 8px 9px; }.essay-credit-pill > span { font-size: 17px; }.essay-credit-pill strong { font-size: 16px; }.essay-intro-card, .essay-result > header { align-items: stretch; flex-direction: column; }.essay-price-card { min-width: 0; }.essay-settings, .essay-feedback-grid { grid-template-columns: 1fr; }.essay-editor { min-height: 55dvh; padding: 15px; font-size: 16px; }.essay-editor-label, .essay-editor-footer { align-items: flex-start; flex-direction: column; }.essay-actions { flex-direction: column-reverse; }.essay-actions button, .essay-actions .start-button { width: 100%; min-width: 0; }.essay-score { width: 100%; height: 84px; }.essay-credit-pill small { display: none; } }
.tutorial-essay-demo { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; width: min(100%, 430px); margin: auto; padding: 18px; border-radius: 18px; background: #fff; color: var(--essay-ink); }.tutorial-essay-demo > div { display: grid; place-items: center; height: 110px; border-radius: 20px; background: var(--essay-soft); }.tutorial-essay-demo > div small { font-size: 8px; font-weight: 900; }.tutorial-essay-demo > div strong { color: var(--essay-purple); font-size: 33px; line-height: 1; }.tutorial-essay-demo section { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; }.tutorial-essay-demo section b { color: var(--essay-purple); }.tutorial-essay-demo section i { height: 8px; overflow: hidden; border-radius: 99px; background: #eee8f5; }.tutorial-essay-demo section i span { display: block; height: 100%; border-radius: inherit; background: var(--essay-purple); }.tutorial-essay-demo section small { grid-column: 1 / -1; color: var(--essay-muted); font-weight: 800; }
