:root{font-family:Manrope,Arial,sans-serif;color:#202125;background:#fcfbf8;font-synthesis:none;--accent:#2f4bdf;--line:#e7e6e4;--muted:#6b6d75}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit}button,input,textarea,a,summary,[contenteditable]{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible,[contenteditable]:focus-visible{outline:3px solid #8d9ef5;outline-offset:4px}button:disabled{cursor:default;opacity:.45}button:not(:disabled),a,summary{transition:background .18s,border-color .18s,box-shadow .18s}button:not(:disabled):hover{filter:brightness(.96)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.site-header{min-height:82px;display:flex;align-items:center;gap:28px;padding:16px max(32px,calc((100vw - 1280px)/2));background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.brand{font:400 25px/1.2 Unbounded,Manrope,sans-serif;letter-spacing:-.6px;text-decoration:none;white-space:nowrap}.brand span{color:var(--accent)}.header-line{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:28px}.balance-button{margin-left:auto;border:1px solid var(--line);border-radius:30px;background:#fff;padding:10px 20px;font-weight:800;white-space:nowrap}.balance-button:hover{border-color:var(--accent);background:#f3f5ff!important}
.hero{background:radial-gradient(ellipse at 90% 20%,#e9edff88,transparent 55%),#fff;border-bottom:1px solid var(--line)}.hero-inner{max-width:1344px;margin:auto;padding:48px 32px 38px}.hero-eyebrow{font-size:10px;line-height:1.7;letter-spacing:.08em;text-transform:uppercase;color:#737782;max-width:890px}.eyebrow-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:8px}.hero h1{font:500 clamp(31px,3.7vw,52px)/1.27 Unbounded,Manrope,sans-serif;letter-spacing:-.045em;margin:21px 0 20px}.hero h1 span{display:block}.hero h1 .share-line{color:var(--accent)}.hero p{max-width:850px;margin:0 0 27px;font-size:14px;line-height:1.85;color:#666a75}.topic-form{display:flex;gap:10px;border:1px solid #dfe2eb;border-radius:16px;background:#fff;padding:7px;box-shadow:0 6px 24px #162a6e08;max-width:1000px}.topic-form input{border:0;background:transparent;flex:1;min-width:0;padding:13px 19px;font-size:14px;border-radius:10px}.topic-form input::placeholder{color:#858995}.topic-form button,.compose-button{border:0;border-radius:30px;background:var(--accent);color:#fff;font-weight:700;padding:16px 26px}.topic-form button span,.compose-button span{margin-left:12px}.hero-foot{display:flex;gap:16px;flex-wrap:wrap;margin-top:13px;font-size:10px;line-height:1.7;color:#818591}.hero-foot span+span{color:#5f6d9d}
.discover,.work-grid{max-width:1344px;margin:auto;padding-left:32px;padding-right:32px}.discover{padding-top:32px;padding-bottom:26px}.section-head,.panel-heading,.publication-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-kicker{font-size:9px;line-height:1.6;font-weight:800;letter-spacing:.13em;color:var(--accent);text-transform:uppercase}.section-head h2,.panel-heading h2{font:500 23px/1.4 Unbounded,Manrope,sans-serif;letter-spacing:-.045em;margin:4px 0 0}.rail-controls{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap;color:var(--muted)}.rail-controls>span{margin-right:8px}.rail-controls button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:20px}.rail-controls .all-materials{display:none;width:auto;border-radius:22px;padding:0 13px;font-size:11px}.story-rail{display:flex;gap:12px;overflow-x:auto;padding:20px 1px 12px;scrollbar-width:thin;scrollbar-color:#cdd2e5 transparent;scroll-snap-type:x proximity}.story-card{appearance:none;flex:0 0 238px;min-height:150px;display:flex;flex-direction:column;gap:12px;text-align:left;border:1px solid var(--line);border-radius:17px;padding:17px;background:#fff;scroll-snap-align:start}.story-card:hover{border-color:#8f9ce0}.story-card[aria-selected=true]{background:#222328;border-color:#222328;color:#fff;box-shadow:0 4px 12px #20212810}.card-top{display:flex;align-items:start;justify-content:space-between;gap:6px;font-size:9px;color:#727681}.card-top span:first-child{max-width:155px}.card-top span:last-child{font-size:9px;white-space:nowrap}.story-card[aria-selected=true] .card-top{color:#d4d6df}.card-title{font-size:13px;line-height:1.65;font-weight:800}.card-type{font-size:10px;color:#91949c;margin-top:auto}.story-card[aria-selected=true] .card-type{color:#c4c7d1}.rail-note{font-size:10px;line-height:1.8;color:#7f828d;margin:7px 0 0}.empty-rail{width:100%;padding:24px;border:1px dashed #ccd0df;border-radius:15px;color:var(--muted);font-size:13px;margin:0}
.work-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:28px;padding-top:35px;padding-bottom:60px;position:relative}.work-grid:before{content:"";position:absolute;top:0;left:calc((1344px - 100vw)/2);right:calc((1344px - 100vw)/2);border-top:1px solid var(--line);pointer-events:none}.panel-heading{min-height:44px;margin-bottom:20px}.panel-heading h2{font-size:20px}.source-card,.creation-card{background:#fff;border:1px solid var(--line);border-radius:23px;box-shadow:0 5px 18px #252b3b04;overflow:hidden}.source-card{padding:26px}.source-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#858894;font-size:10px}.source-meta span:last-child{margin-left:auto}.source-meta span:first-child:not(:empty){padding:4px 7px;background:#f3f4f8;border-radius:5px}.source-card h3{font:500 clamp(20px,2.1vw,28px)/1.5 Unbounded,Manrope,sans-serif;letter-spacing:-.045em;margin:20px 0}.story-image{margin:20px 0}.story-image img{display:block;max-height:320px;object-fit:contain;width:100%;border-radius:14px;background:#f6f7fa}.story-image figcaption{font-size:9px;line-height:1.7;color:#8a8d96;margin-top:8px}.source-facts,.source-meaning{border:1px solid #edeef3;border-radius:13px;padding:18px;margin-top:15px}.source-facts{background:#f8f9fd}.source-meaning{background:#fcfaf7}.source-card h4{font-size:11px;line-height:1.5;margin:0 0 10px;font-weight:800}.source-card p{font-size:13px;line-height:1.9;color:#555c69;margin:0}.content-basis{display:block;font-size:10px;line-height:1.7;color:#858995;margin-top:12px}.content-basis:empty{display:none}.source-link{display:flex;align-items:center;gap:13px;border:1px solid var(--line);padding:15px;border-radius:11px;text-decoration:none;margin-top:14px}.source-link>span{color:var(--accent);font-size:21px}.source-link strong{display:block;font-size:11px}.source-link small{display:block;color:#8a8d98;font-size:10px;line-height:1.5;margin-top:4px}.source-link:hover{border-color:#b2bced;background:#fafbff}.related-links{display:flex;gap:10px;flex-wrap:wrap;font-size:10px;margin-top:20px;color:#6b72a0}.related-links strong{width:100%;color:var(--muted)}
.author-card{padding:23px 24px 16px}.author-head{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;font-size:13px;font-weight:800;cursor:pointer}.author-head::-webkit-details-marker{display:none}.optional{color:#9699a4;font-size:9px;font-weight:500;white-space:nowrap}.optional span{display:inline-block;font-size:16px;margin-left:5px;transform:rotate(-90deg)}details[open] .optional span{transform:rotate(0)}.author-card>p{font-size:12px;line-height:1.8;color:#7b7f8c;margin:14px 0}.author-card textarea{display:block;resize:vertical;min-height:150px;width:100%;border:1px solid #e1e4ee;border-radius:12px;background:#f8f9fd;padding:15px;font-size:13px;line-height:1.85;color:#363d50}.author-card textarea::placeholder{color:#9196a6}.author-foot{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#969ba7;margin-top:10px;line-height:1.6}.compose-actions{padding:0 24px 20px}.compose-button{width:100%;font-size:12px}.compose-note{font-size:10px;line-height:1.7;color:#868b99;text-align:center;margin:10px 0 0}.publication-card{border-top:1px solid var(--line);padding:24px;background:#fdfdfe}.publication-head{align-items:start}.publication-head h2{font:500 16px/1.5 Unbounded,Manrope,sans-serif;letter-spacing:-.04em;margin:0}.ready-chip{max-width:135px;display:inline-block;font-size:8px;line-height:1.6;background:#eff1f6;color:#787d8c;border-radius:12px;padding:6px 9px}.publication-sheet{background:#fff;border:1px solid #e6e8f0;border-radius:14px;padding:21px;margin-top:19px}.pub-label{font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:#979caa}.publication-sheet h3{font:500 19px/1.6 Unbounded,Manrope,sans-serif;letter-spacing:-.04em;margin:12px 0}.publication-sheet>p{font-size:13px;line-height:1.9;color:#676e7e;white-space:pre-line}.publication-sheet .pub-source{font-size:10px;line-height:1.8;color:#9499a6}.pub-source a{color:var(--accent);overflow-wrap:anywhere}.pub-opinion{padding:15px;margin-top:20px;border-left:3px solid var(--accent);border-radius:6px;background:#f7f8ff}.pub-opinion span{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:var(--accent)}.pub-opinion p{font-size:13px;line-height:1.9;white-space:pre-line;margin:10px 0 0}.edit-note{color:#8b91a0;font-size:9px;line-height:1.7;margin:13px 0}.copy-button{display:block;width:100%;padding:14px;border:0;border-radius:30px;background:#222328;color:#fff;font-size:12px;font-weight:700}.copy-button span:first-child{margin-right:9px}.copy-foot{font-size:9px;line-height:1.7;color:#8b91a0;text-align:center;margin:12px 0 0}[contenteditable=true]{border-radius:3px;min-height:1.5em;cursor:text}[contenteditable=true]:hover{background:#fafaff}footer{display:flex;align-items:center;justify-content:space-between;gap:25px;max-width:1280px;margin:auto;padding:26px 0;border-top:1px solid var(--line)}footer .brand{font-size:15px}footer>span{color:#8a8e9a;font-size:10px;line-height:1.8}
.balance-dialog{width:min(460px,calc(100% - 32px));padding:32px;border:1px solid var(--line);border-radius:22px;color:#252a38;box-shadow:0 20px 70px #202b6240}.balance-dialog::backdrop{background:#151a3555;backdrop-filter:blur(4px)}.dialog-close{position:absolute;top:13px;right:15px;border:0;background:transparent;font-size:25px;color:#7f8490}.balance-dialog h2{font:500 23px/1.5 Unbounded,sans-serif;margin:14px 0}.balance-dialog p{font-size:13px;line-height:1.8;color:#747b8b}.account-notice{background:#f3f5ff;border-radius:13px;padding:17px;margin:24px 0}.account-notice strong{font-size:13px}.account-notice p{font-size:12px;margin-bottom:0}.account-foot{font-size:11px!important}
@media(max-width:1344px){.work-grid:before{left:0;right:0}footer{margin:0 32px}}@media(max-width:1000px){.header-line{max-width:300px;font-size:10px}.hero h1{font-size:36px}.panel-heading h2{font-size:17px}.work-grid{gap:18px}.source-card{padding:20px}.author-card,.publication-card{padding:20px}.compose-actions{padding:0 20px 18px}.publication-head{flex-direction:column;gap:8px}.publication-sheet{padding:16px}.source-card h3{font-size:21px}}@media(max-width:760px){.site-header{min-height:68px;padding:14px 20px}.brand{font-size:20px}.header-line{display:none}.balance-button{padding:9px 16px;font-size:12px}.hero-inner{padding:32px 20px 28px}.hero-eyebrow{font-size:8px;letter-spacing:.04em}.hero h1{font-size:clamp(25px,5vw,35px);letter-spacing:-.05em;line-height:1.4;margin:18px 0}.hero p{font-size:12px;line-height:1.9}.hero-foot{font-size:9px;gap:5px}.topic-form{flex-direction:column;padding:6px;border-radius:15px}.topic-form input{padding:13px;font-size:16px}.topic-form button{font-size:12px;padding:14px}.discover,.work-grid{padding-left:20px;padding-right:20px}.discover{padding-top:25px;padding-bottom:20px}.section-head{align-items:start;flex-direction:column;gap:15px}.section-head h2{font-size:19px}.rail-controls{width:100%}.rail-controls>span{margin-right:auto}.rail-controls .all-materials{display:block}.story-rail{display:grid;grid-template-columns:1fr;max-height:340px;overflow-y:auto;padding-top:15px;gap:9px}.story-card{min-height:100px;padding:14px;gap:7px}.card-top{font-size:9px}.card-top span:first-child{max-width:none}.card-title{font-size:12px}.story-rail.is-collapsed{display:none}.rail-note{margin-top:12px;font-size:9px}.rail-controls button{min-width:40px;height:40px}.work-grid{grid-template-columns:1fr;padding-top:25px;padding-bottom:35px;gap:28px}.panel-heading h2{font-size:19px}.panel-heading{margin-bottom:15px}.source-card{padding:19px;border-radius:18px}.source-card h3{font-size:20px;line-height:1.55}.source-meta{font-size:9px}.source-card p{font-size:13px}.source-facts,.source-meaning{padding:15px}.story-image img{max-height:260px}.source-link strong{font-size:11px}.author-card textarea{font-size:16px;min-height:160px}.creation-card{border-radius:18px}.publication-head{flex-direction:row}.publication-head h2{font-size:16px}.publication-sheet h3{font-size:18px}footer{margin:0 20px;align-items:start;flex-direction:column;gap:15px}footer>span{font-size:9px}.balance-dialog{padding:27px}.balance-dialog h2{font-size:21px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.material-navigation{position:sticky;top:88px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fcfbf8ed;backdrop-filter:blur(8px);padding:8px 0 12px;margin-top:-9px;font-size:11px;color:#6b7182}.material-navigation button{width:38px;height:38px;border:1px solid #e1e4ed;border-radius:50%;background:#fff;font-size:19px;color:#242b40}@media(max-width:760px){.material-navigation{top:68px}.material-navigation button{width:44px;height:44px}}

/* Read the whole question on a narrow screen without moving the form. */
.topic-field{position:relative;flex:1;min-width:0;display:flex}.topic-field input{width:100%}.topic-preview{display:none;position:absolute;inset:0;padding:13px;pointer-events:none;color:#858995;font-size:16px;line-height:normal}.topic-preview-clip{overflow:hidden;width:100%}.topic-preview span{display:inline-block;white-space:pre}.topic-field.has-topic .topic-preview{color:var(--ink,#222328)}
@keyframes topic-reveal{0%,18%{transform:translateX(0)}75%,90%{transform:translateX(var(--topic-travel))}100%{transform:translateX(0)}}
@media(max-width:760px){.topic-field{min-height:46px}.topic-field.is-overflowing:not(:focus-within) input{color:transparent}.topic-field.is-overflowing:not(:focus-within) input::placeholder{color:transparent}.topic-field.is-overflowing:not(:focus-within) .topic-preview,.topic-field.is-measuring .topic-preview{display:block}.topic-field.is-measuring .topic-preview{visibility:hidden}.topic-field.is-overflowing:not(:focus-within) .topic-preview span{animation:topic-reveal var(--topic-duration,14s) linear infinite}}
@media(max-width:760px) and (prefers-reduced-motion:reduce){.topic-field.is-overflowing:not(:focus-within) .topic-preview{position:relative;width:100%;line-height:1.6}.topic-field.is-overflowing:not(:focus-within) input{position:absolute;inset:0}.topic-field.is-overflowing:not(:focus-within) .topic-preview span{white-space:normal;overflow-wrap:anywhere;animation:none}}

/* Two steps: choose and read a material, then create the publication. */
.source-area > .rail-note{margin:0 0 16px;max-width:100%}.source-area .panel-heading{align-items:flex-start}.work-grid:before{display:none}

/* The chosen “Искра” family for the three main actions. */
.topic-form .spark-button,.spark-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;border:0;border-radius:18px;padding:14px 18px;background:linear-gradient(110deg,#2f4bdf,#6749c9);box-shadow:0 5px 14px #2f4bdf24;color:#fff;font-size:14px;line-height:1.5;font-weight:700;text-align:center;transition:filter .15s,transform .15s,box-shadow .15s}
.topic-form .spark-button span,.spark-button span,.copy-button.spark-button span:first-child{margin:0}
.spark-button .button-icon{display:block;width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.spark-button:not(:disabled):hover{filter:brightness(1.07);box-shadow:0 7px 18px #2f4bdf32}.spark-button:not(:disabled):active{transform:scale(.985)}.spark-button:disabled{box-shadow:none}
@media(prefers-reduced-motion:reduce){.topic-form .spark-button,.spark-button{transition:none}}

.publication-image{margin:20px 0;border-radius:12px;overflow:hidden;background:#f2f3fa}.publication-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.publication-sheet>.pub-source{margin-top:12px;padding-top:0;border-top:0}.pub-opinion p{font-size:13px;line-height:1.9}.edit-note #pub-image-note{color:#6a7090}

.service-info{max-width:1100px;margin:48px auto;padding:28px;border-top:1px solid #dedee8;line-height:1.7}.service-info h2{font-size:26px}.service-info a,footer a{color:#304ee8}footer{flex-wrap:wrap;gap:20px}footer nav{flex-basis:100%;line-height:2}#service-cost{padding:16px;border-radius:12px;background:#eef0ff;font-size:14px}.legal-main{max-width:850px;margin:48px auto;padding:0 24px;line-height:1.8}.legal-main h1{font-size:clamp(28px,5vw,44px);line-height:1.25}.legal-main h2{margin-top:32px;font-size:24px}.legal-main a{color:#304ee8}.site-header nav{display:flex;gap:20px}@media(max-width:600px){.service-info{margin:24px 12px;padding:16px}.site-header nav{font-size:13px;gap:10px}.legal-main{margin-top:24px}}

.operation-terms{font-size:12px;line-height:1.6;color:#626779;margin-top:12px}.operation-terms a{color:#304ee8}#account-history{padding-left:20px;font-size:13px;line-height:1.8}
