.study-entry { --start-gutter: clamp(20px,3.8vw,64px); }
.study-entry .st-main { max-width: 1530px; width: 100%; padding: 0 var(--start-gutter) 42px; margin: 0 auto; }
.study-entry .study-wizard { max-width: none; padding: 0; margin: 0; }
.study-entry .study-topic-layout { display: grid; grid-template-columns: minmax(0,1.48fr) minmax(0,1fr); gap: clamp(24px,4.4vw,82px); align-items: stretch; }
.study-entry #studyTopicForm { display: flex; flex-direction: column; min-width: 0; gap: clamp(13px,1.55vw,24px); padding: clamp(35px,5vw,85px) 0 20px; border: 0; background: transparent; }
.start-form-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 20px; margin-bottom: 6px; }
.start-form-title h1 { margin: 0; font: 650 clamp(38px,4.2vw,68px)/1.07 var(--brand-font); color: var(--brand-black); letter-spacing: -.055em; }
.start-format-change { border: 0; padding: 6px 0; background: none; font-size: 13px; color: var(--brand-slate); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.study-entry #studyTopicForm .study-field { margin: 0; gap: 6px; }
.study-entry .study-topic-form .study-field-label { color: var(--brand-black); font-size: clamp(16px,1.25vw,19px); font-weight: 580; }
.start-topic-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.study-entry .study-topic-form :is(#topicInput,#entrySubject,#subjectSearch) { background: white; border: 1px solid #939db0; border-radius: 9px; margin: 0; padding: 10px 15px; min-height: 48px; font-size: clamp(16px,1.26vw,20px); }
.study-entry #topicInput { flex: 1 1 260px; width: 0; min-width: 180px; }
.start-suggest,.start-custom { border: 1px solid #b2bacc; border-radius: 8px; background: white; color: var(--start-blue); cursor: pointer; padding: 8px 14px; min-height: 44px; font-weight: 500; }
.start-suggest:hover,.start-custom:hover,.start-choices button:hover { background: var(--start-pale); }
.start-subject { width: min(100%,560px); }
.start-subject-line { display: flex; }
.study-entry #entrySubject { flex: 1; min-width: 0; padding-right: 48px!important; }
.start-subject-line > button { border: 0; margin-left: -44px; z-index: 1; width: 44px; background: none; cursor: pointer; }
.start-subject-line > button[aria-expanded=true] svg { transform: rotate(180deg); }
.start-subject-picker { padding: 10px; background: white; border: 1px solid #d5d9e3; border-radius: 10px; box-shadow: 0 4px 16px #222c4514; }
.study-entry #subjectSearch { width: 100%; }
.start-choices { display: grid; gap: 2px; margin-top: 5px; max-height: 220px; overflow-y: auto; }
.start-choices button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 42px; padding: 7px 10px; border: 0; border-radius: 6px; text-align: left; color: var(--brand-black); background: white; cursor: pointer; }
.start-choices button[aria-pressed=true] { background: var(--start-pale); }
.start-choices button[aria-pressed=true]::after { content: '✓'; color: var(--start-blue); }
.start-custom { border: 0; border-top: 1px solid var(--brand-line); border-radius: 0; margin-top: 3px; width: 100%; text-align: left; }
.study-entry .entry-guide { border: 1px solid #aeb8cb; border-radius: 9px; padding: 9px 14px; background: white; flex-wrap: wrap; gap: 4px 13px; }
.study-entry .entry-guide .study-file-button { gap: 8px; min-height: 28px; }
.study-entry .entry-guide > small { font-size: 13px; color: var(--brand-slate); }
.study-entry .entry-settings { border-top: 0; }
.study-entry .entry-settings > summary { color: var(--brand-slate); font-size: 14px; }
.study-entry #studyTopicForm .study-actionbar { padding: 0; margin: 0; background: transparent; border: 0; position: static; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.study-entry #studyTopicForm .study-actionbar-info { order: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; line-height: 1.4; color: var(--brand-slate); }
.study-entry #studyTopicForm .study-actionbar-info :is(b,small) { font-size: inherit; font-weight: 400; }
.study-entry #studyTopicForm .study-submit-button { width: min(100%,460px); min-height: 50px; border: 1px solid var(--start-blue); border-radius: 9px; justify-content: center; gap: 10px; color: white; background: var(--start-blue); }
.study-entry #studyTopicForm .study-submit-button:hover { background: #19379b; }
.study-entry #studyTopicForm .study-submit-button:disabled { background: #e6e9f1; color: #525c6f; border-color: #b6bdcc; opacity: 1; }
.start-work-preview { align-self: stretch; min-width: 0; padding: clamp(18px,2.4vw,40px); background: #f5f6f9; }
.start-work-preview img { width: 100%; height: auto; margin: 0 auto 12px; mask-image: linear-gradient(to bottom,transparent,#000 7%,#000 85%,transparent); mix-blend-mode: multiply; }
.start-work-preview h2 { margin: 0; font: 600 clamp(23px,2.35vw,37px)/1.18 var(--brand-font); letter-spacing: -.04em; }
.start-work-preview ul { padding: 0; margin: 12px 0 0; list-style: none; }
.start-work-preview li { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #cdd3e0; padding: 14px 0; font-size: clamp(15px,1.25vw,20px); }
.start-work-preview li::before { content: ''; width: 8px; height: 8px; border: 1px solid #637394; transform: rotate(45deg); flex: none; }
.start-work-preview > p { font-size: 14px; color: var(--brand-slate); margin-top: 12px; }
.study-entry [data-step="work-type"].is-active,.study-entry [data-step="outline"].is-active { padding-block: 35px; }
@media (max-width: 780px) {
  .study-entry .study-topic-layout { display: block; }
  .study-entry #studyTopicForm { gap: 14px; padding-top: 21px; }
  .start-form-title { gap: 1px 14px; margin: 0; }
  .start-form-title h1 { font-size: clamp(33px,7vw,46px); }
  .start-format-change { min-height: 34px; }
  .start-topic-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
  .study-entry #topicInput { min-width: 0; width: 100%; }
  .start-suggest { padding: 6px 8px; font-size: 13px; }
  .study-entry .entry-guide { padding: 8px 10px; }
  .study-entry #studyTopicForm .study-actionbar { align-items: stretch; }
  .study-entry #studyTopicForm .study-actionbar-info { flex: 0 0 auto; }
  .study-entry .entry-ruble-price { display: inline; }
  .start-work-preview { position: relative; margin-top: 5px; padding: 20px 16px; border-radius: 10px; }
  .start-work-preview img { position: absolute; width: 86px; top: 5px; right: 12px; }
  .start-work-preview h2 { font-size: 21px; margin-right: 80px; }
  .start-work-preview li { padding: 9px 0; font-size: 14px; }
}
.start-free-preview { order: 1; background: none; color: var(--start-blue); border: none; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 44px; padding: 6px 0; align-self: flex-start; font: 500 15px var(--brand-font); }
@media (max-width: 780px) {
  .study-entry #topicField { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 6px; align-items: center; }
  .start-topic-row { display: contents; }
  .study-entry #topicInput,.study-entry #topicIdeas,.study-entry #topicError { grid-column: 1 / -1; }
  .study-entry #topicInput { grid-row: 2; }
  .start-suggest { grid-column: 2; grid-row: 1; min-height: 44px; color: var(--start-blue); border: none; padding: 0; text-decoration: underline; text-underline-offset: .2em; }
}
@media (min-width: 781px) {
  .study-entry:has([data-step="topic"].is-active) { background: linear-gradient(90deg,white 62%,#f5f6f9 62%); }
  .study-entry:has([data-step="topic"].is-active) .start-header { background: transparent; }
  .start-work-preview { align-content: start; }
}
.start-work-preview img { mask-image: linear-gradient(to right,transparent,#000 6%,#000 94%,transparent), linear-gradient(to bottom,transparent,#000 12%,#000 85%,transparent); mask-composite: intersect; }
@media (min-width: 781px) {
  .start-work-preview { background: transparent; }
}
