.thesis-builder-page { background: #fff; color: #0a203e; }
.thesis-builder-hero { padding-block: 72px 68px; border-bottom: 1px solid #dce5ee; background: linear-gradient(115deg, #f8fbff 0%, #fff 56%, #f3f7fb 100%); }
.thesis-builder-hero h1 { max-width: 920px; margin: 10px 0 18px; font: 500 clamp(46px, 5.2vw, 70px)/1.03 Georgia, serif; letter-spacing: -.042em; }
.thesis-builder-hero .container > p:not(.eyebrow) { max-width: 800px; margin: 0; color: #53667d; font-size: 17px; line-height: 1.66; }
.thesis-builder-hero__principles { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 25px; }
.thesis-builder-hero__principles span { position: relative; padding-left: 17px; color: #245174; font-size: 12px; font-weight: 750; }
.thesis-builder-hero__principles span::before { position: absolute; left: 0; color: #16805f; content: '✓'; }
.thesis-builder { display: grid; grid-template-columns: minmax(360px, .83fr) minmax(500px, 1.17fr); gap: 62px; align-items: start; padding-block: 58px 36px; }
.thesis-builder__form { display: grid; gap: 31px; }
.thesis-builder__source { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 20px 22px; border-left: 4px solid #1764db; background: #f4f8fe; }
.thesis-builder__source strong { display: block; font: 600 18px/1.35 Georgia, serif; }
.thesis-builder__source p:not(.eyebrow) { margin: 5px 0 0; color: #5b6e84; font-size: 12px; line-height: 1.55; }
.thesis-builder__source > a { color: #155bc8; font-size: 12px; font-weight: 800; white-space: nowrap; }
.thesis-builder__form fieldset { display: grid; gap: 17px; margin: 0; padding: 0 0 30px; border: 0; border-bottom: 1px solid #dbe4ee; }
.thesis-builder__form legend { display: grid; grid-template-columns: 36px 1fr; gap: 2px 13px; width: 100%; margin-bottom: 4px; padding: 0; }
.thesis-builder__form legend > span { grid-row: 1 / 3; display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: #eaf2ff; color: #155bc8; font-size: 10px; font-weight: 850; }
.thesis-builder__form legend strong { display: block; font: 600 20px/1.25 Georgia, serif; }
.thesis-builder__form legend small { display: block; margin-top: 3px; color: #65768b; font-size: 11px; line-height: 1.45; }
.thesis-builder__form label { display: grid; gap: 7px; color: #263f5b; font-size: 11px; font-weight: 800; }
.thesis-builder__form input[type='text'], .thesis-builder__form textarea { width: 100%; border: 1px solid #cbd8e6; border-radius: 7px; background: #fff; color: #0a203e; font: 500 13px/1.55 Arial, sans-serif; box-shadow: 0 1px 2px rgba(15, 40, 70, .035); }
.thesis-builder__form input[type='text'] { min-height: 45px; padding: 10px 12px; }
.thesis-builder__form textarea { min-height: 112px; padding: 11px 12px; resize: vertical; }
.thesis-builder__form input:focus, .thesis-builder__form textarea:focus, .thesis-horizon input:focus-visible + span { border-color: #1764db; outline: 3px solid rgba(23, 100, 219, .14); outline-offset: 1px; }
.thesis-horizon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thesis-horizon label { display: block; }
.thesis-horizon input { position: absolute; opacity: 0; }
.thesis-horizon span { display: grid; min-height: 40px; place-items: center; border: 1px solid #cfdae7; border-radius: 6px; color: #53667d; font-size: 11px; font-weight: 750; cursor: pointer; }
.thesis-horizon input:checked + span { border-color: #1764db; background: #eef5ff; color: #155bc8; }
.thesis-builder__submit { width: 100%; min-height: 49px; }
.thesis-builder__form-status { min-height: 18px; margin: -20px 0 0; color: #16805f; font-size: 11px; line-height: 1.5; }
.thesis-ledger { position: sticky; top: 96px; border-top: 4px solid #1764db; outline: 0; background: #fff; box-shadow: 0 18px 55px rgba(15, 42, 73, .09); }
.thesis-ledger:focus { box-shadow: 0 0 0 3px rgba(23, 100, 219, .14), 0 18px 55px rgba(15, 42, 73, .09); }
.thesis-ledger > header { display: flex; justify-content: space-between; gap: 25px; padding: 30px 32px 25px; border: 1px solid #dce5ee; border-top: 0; }
.thesis-ledger h2 { margin: 5px 0 9px; font: 600 31px/1.12 Georgia, serif; }
.thesis-ledger > header p:last-child { display: flex; gap: 7px; margin: 0; color: #68798d; font-size: 11px; }
.thesis-ledger__quality { flex: 0 0 auto; text-align: right; }
.thesis-ledger__quality span { display: block; color: #718097; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.thesis-ledger__quality strong { display: block; margin-top: 4px; color: #1764db; font: 600 25px/1 Georgia, serif; }
.thesis-ledger__section { display: grid; grid-template-columns: 37px 1fr; gap: 17px; padding: 24px 32px; border-inline: 1px solid #dce5ee; border-bottom: 1px solid #e3eaf1; }
.thesis-ledger__section > span { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #cad7e5; border-radius: 50%; color: #66788e; font-size: 9px; font-weight: 850; }
.thesis-ledger__section small, .thesis-ledger__review small { color: #1764db; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.thesis-ledger__section p, .thesis-ledger__review p { margin: 7px 0 0; color: #304963; font-size: 13px; line-height: 1.62; white-space: pre-line; }
.thesis-ledger__section--thesis { background: #f7faff; }
.thesis-ledger__section--invalidation { border-left: 4px solid #c65b5b; background: #fffafa; padding-left: 29px; }
.thesis-ledger__section--invalidation > span { border-color: #dbb3b3; color: #b04d4d; }
.thesis-ledger__section--invalidation small { color: #a54848; }
.thesis-ledger__review { display: grid; grid-template-columns: 1fr 1fr; border-inline: 1px solid #dce5ee; border-bottom: 1px solid #dce5ee; }
.thesis-ledger__review > div { padding: 22px 32px; }
.thesis-ledger__review > div + div { border-left: 1px solid #e3eaf1; }
.thesis-ledger > footer { padding: 24px 32px 28px; border: 1px solid #dce5ee; border-top: 0; background: #f8fafc; }
.thesis-ledger > footer strong { font: 600 16px/1.3 Georgia, serif; }
.thesis-ledger > footer p { margin: 6px 0 0; color: #68798d; font-size: 10px; line-height: 1.55; }
.thesis-ledger__actions { display: flex; gap: 9px; margin-top: 19px; }
.thesis-ledger__actions .button { min-height: 38px; padding: 9px 15px; font-size: 10px; }
.thesis-ledger__actions button:disabled { cursor: wait; opacity: .65; }
.thesis-record-history { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 55px; margin-bottom: 32px; padding-block: 28px; border-block: 1px solid #dce5ee; }
.thesis-record-history[hidden] { display: none; }
.thesis-record-history h2 { margin: 5px 0 8px; font: 600 28px/1.18 Georgia, serif; }
.thesis-record-history > div:first-child > p:last-child { margin: 0; color: #617389; font-size: 12px; line-height: 1.6; }
.thesis-record-history [data-mm-thesis-history-list] { border-top: 1px solid #dce5ee; }
.thesis-record-history article { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 13px 0; border-bottom: 1px solid #dce5ee; }
.thesis-record-history article strong,.thesis-record-history article small { display: block; }
.thesis-record-history article small { margin-top: 3px; color: #6b7b90; font-size: 10px; }
.thesis-record-history article button { border: 0; background: transparent; color: #155bc8; font-size: 11px; font-weight: 800; cursor: pointer; }
.thesis-builder-note { display: flex; justify-content: space-between; gap: 25px; margin-bottom: 70px; padding-block: 18px; border-block: 1px solid #dce5ee; }
.thesis-builder-note p { max-width: 940px; margin: 0; color: #617389; font-size: 11px; line-height: 1.6; }
.thesis-builder-note a { flex: 0 0 auto; color: #155bc8; font-size: 11px; font-weight: 800; }
@media (max-width: 980px) { .thesis-builder { grid-template-columns: 1fr; gap: 42px; } .thesis-ledger { position: static; } .thesis-record-history { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 680px) { .thesis-builder-hero { padding-block: 48px; } .thesis-builder-hero h1 { font-size: 42px; } .thesis-builder { padding-block: 40px 28px; } .thesis-builder__source { grid-template-columns: 1fr; } .thesis-horizon, .thesis-ledger__review { grid-template-columns: 1fr; } .thesis-ledger__review > div + div { border-top: 1px solid #e3eaf1; border-left: 0; } .thesis-ledger > header { align-items: flex-start; padding: 25px 20px; } .thesis-ledger__section { padding: 21px 20px; } .thesis-ledger__section--invalidation { padding-left: 17px; } .thesis-ledger__review > div, .thesis-ledger > footer { padding-inline: 20px; } .thesis-builder-note { display: block; } .thesis-builder-note a { display: inline-block; margin-top: 12px; } }
@media (prefers-reduced-motion: reduce) { .thesis-ledger { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .thesis-builder-hero, .thesis-builder__form, .thesis-builder-note, .thesis-ledger__actions { display: none !important; } .thesis-builder { display: block; padding: 0; } .thesis-ledger { position: static; box-shadow: none; } .thesis-builder-page { background: #fff; } }
