/* One locally served font with complete Kazakh, Cyrillic and Latin glyph coverage. */
@font-face { font-family:"QMJ Noto Sans"; src:url("/dialog-qmj-lab/assets/qmj-noto-sans-regular.ttf?v=11") format("truetype"); font-style:normal; font-weight:400 600; font-display:swap; }
@font-face { font-family:"QMJ Noto Sans"; src:url("/dialog-qmj-lab/assets/qmj-noto-sans-bold.ttf?v=11") format("truetype"); font-style:normal; font-weight:700 900; font-display:swap; }

:root { color-scheme: light; }
.qmj-site { --ink:#19353B; --secondary:#637A7D; --accent:#126B61; --tint:#E4F0EC; --line:#D8E4E6; --ground:#F4F7F8; font-family:"QMJ Noto Sans", Arial, sans-serif; color:var(--ink); background:#fff; min-height:100dvh; font-size:16px; }
.qmj-site * { box-sizing:border-box; }
.qmj-site button, .qmj-site input, .qmj-site textarea, .qmj-site select { font:inherit; }
.qmj-site button { cursor:pointer; }
.qmj-site button:disabled { opacity:.54; cursor:not-allowed; }
.qmj-site button:focus-visible, .qmj-site input:focus-visible, .qmj-site select:focus-visible, .qmj-site textarea:focus-visible { outline:3px solid #72B3A7; outline-offset:3px; }
.qmj-site .wrap { max-width:1240px; width:calc(100% - 80px); margin:0 auto; }
.site-header { position:sticky; top:0; z-index:50; height:82px; background:rgba(255,255,255,.96); border-bottom:1px solid #DDE6E7; backdrop-filter:blur(18px); }
.nav-shell { max-width:1440px; width:calc(100% - 80px); margin:auto; height:100%; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.brand-button { background:none; padding:0; border:0; text-align:left; color:inherit; flex-shrink:0; }
.wordmark { display:inline-flex; align-items:center; gap:12px; color:#143D40; font-weight:800; letter-spacing:-1.1px; font-size:23px; line-height:1; white-space:nowrap; }
.wordmark strong { color:#126B61; }
.wordmark small { display:block; color:#6F8184; font-size:8px; font-weight:700; letter-spacing:1.3px; padding-top:6px; }
.brand-symbol { width:45px; height:45px; border-radius:12px; display:inline-grid; place-items:center; background:#126B61; color:white; position:relative; flex-shrink:0; }
.brand-symbol span { font-weight:700; font-size:28px; letter-spacing:-4px; margin-left:-4px; }
.brand-symbol i { position:absolute; width:10px; height:3px; background:white; right:7px; bottom:10px; transform:rotate(-38deg); border-radius:4px; }
.site-nav { display:flex; align-items:center; gap:32px; flex:1; justify-content:center; }
.nav-link { border:0; background:transparent; padding:29px 0 26px; font-size:14px; color:#637B7C; font-weight:600; border-bottom:3px solid transparent; white-space:nowrap; transition:color .15s,border-color .15s; }
.nav-link:hover,.nav-link.active { color:#126B61; border-bottom-color:#126B61; }
.nav-actions { display:flex; align-items:center; gap:12px; }
.header-action { color:#fff; background:#126B61; border:0; border-radius:8px; padding:13px 18px; font-weight:700; font-size:13px; white-space:nowrap; }
.header-action:hover { background:#0F514B; }
.header-action span { padding-left:8px; }
.menu-button { display:none; border:1px solid #C6DBD5; background:#fff; color:#15594F; border-radius:7px; padding:8px 12px; font-size:22px; line-height:1; }
.page { width:100%; }
.hero { min-height:590px; display:grid; grid-template-columns:minmax(0,1.06fr) minmax(390px,.94fr); align-items:center; gap:54px; padding:75px 0 80px; }
.hero-copy { max-width:650px; }
.overline,.kicker { color:#107367; font-size:11px; font-weight:800; letter-spacing:2.3px; }
.overline { display:flex; align-items:center; gap:11px; }
.tiny-square { width:7px; height:7px; background:#15917C; transform:rotate(45deg); display:inline-block; }
.hero h1 { font-size:clamp(58px,5.7vw,85px); line-height:1.07; letter-spacing:-4.4px; font-weight:700; margin:26px 0; }
.hero h1 em,.page-heading h1 em,.forum-heading h1 em { color:#12806B; font-style:italic; }
.hero-copy>p { font-size:19px; color:#72898A; line-height:1.75; max-width:540px; margin:0 0 37px; }
.hero-jump { border:0; background:#126B61; padding:8px 9px 8px 23px; color:#fff; border-radius:9px; display:inline-flex; align-items:center; gap:24px; font-weight:700; font-size:15px; box-shadow:0 11px 25px rgba(18,107,97,.16); }
.jump-ring { width:38px; height:38px; background:rgba(255,255,255,.15); border-radius:7px; display:grid; place-items:center; font-size:24px; }
.hero-art { height:435px; position:relative; border-radius:20px; background:linear-gradient(135deg,#E8F2EF,#C8E0D8); overflow:hidden; box-shadow:inset 0 0 0 1px rgba(28,98,82,.07); }
.art-grid { position:absolute; inset:0; opacity:.23; background-image:linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px); background-size:30px 30px; }
.art-paper { background:#fff; border-radius:10px; position:absolute; width:228px; height:270px; box-shadow:0 20px 45px #176a5430; padding:25px 22px; }
.paper-back { top:62px; left:88px; transform:rotate(-15deg); opacity:.78; }
.paper-front { top:80px; left:143px; transform:rotate(5deg); }
.art-paper span { display:block; height:7px; border-radius:4px; background:#D5E9E3; margin:18px 0 0; }
.art-paper span:nth-of-type(even) { width:77%; }
.art-paper small { font-size:10px; letter-spacing:2px; color:#56998C; font-weight:800; }
.art-heading { width:68%; height:17px; border-radius:4px; background:#1D6E61; margin-top:20px; }
.art-lens { width:197px; height:197px; border:15px solid #176F63; background:rgba(235,250,245,.92); position:absolute; right:36px; bottom:40px; border-radius:50%; box-shadow:0 10px 20px #10564755, inset 0 0 0 8px #CFE6DF; display:grid; place-items:center; }
.art-lens:after { content:""; width:90px; height:23px; border-radius:12px; background:#176F63; position:absolute; right:-72px; bottom:-36px; transform:rotate(47deg); box-shadow:0 5px 9px #124c4230; }
.lens-inside { display:flex; flex-direction:column; text-align:center; align-items:center; color:#126B61; }
.lens-inside strong { font-size:92px; line-height:1; letter-spacing:-10px; margin-left:-10px; }
.lens-inside span { font-size:11px; font-weight:800; letter-spacing:2px; }
.art-footnote { position:absolute; bottom:17px; left:25px; font-size:11px; font-weight:700; letter-spacing:1px; color:#4D8F81; }
.analysis-section { background:#F3F7F7; padding:83px 0 95px; border-top:1px solid #E1EBEA; border-bottom:1px solid #E1EBEA; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:35px; }
.section-head h2 { font-size:clamp(35px,4vw,50px); margin:12px 0 0; letter-spacing:-2px; }
.section-head>p { max-width:390px; color:#769090; line-height:1.65; margin:0 0 7px; font-size:15px; }
.workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; align-items:start; }
.input-pane,.result-pane { min-width:0; background:#fff; border:1px solid #E0E8E7; border-radius:14px; padding:32px 35px; box-shadow:0 10px 40px rgba(25,80,75,.035); }
.pane-title { display:flex; align-items:center; gap:17px; margin-bottom:26px; }
.pane-number { width:44px; height:44px; flex-shrink:0; display:grid; place-items:center; background:#E4F2EC; color:#126B61; border-radius:10px; font-size:13px; font-weight:800; }
.pane-title h3 { margin:0 0 5px; font-size:19px; letter-spacing:-.3px; }
.pane-title p { margin:0; font-size:13px; color:#94A4A6; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.upload-box { display:flex; align-items:center; flex-direction:column; justify-content:center; text-align:center; border:2px dashed #B9D5CD; min-height:208px; background:#F8FBFA; border-radius:10px; padding:18px; gap:7px; }
.upload-symbol { color:#228C78; font-size:30px; line-height:1; padding:0 0 5px; }
.upload-box strong { font-size:15px; font-weight:700; }
.upload-box>span { color:#90A4A3; font-size:12px; }
.upload-box button { margin-top:11px; background:#E0F0EA; color:#126B61; border:0; border-radius:7px; padding:10px 16px; font-size:13px; font-weight:800; }
.input-divider { display:flex; align-items:center; gap:13px; margin:25px 0 22px; }
.input-divider:before,.input-divider:after { content:""; height:1px; background:#E1EAE9; flex:1; }
.input-divider span { color:#A1B2B2; font-size:10px; font-weight:800; letter-spacing:1.5px; white-space:nowrap; }
.field-label { display:block; margin:0 0 10px; font-size:14px; color:#416663; font-weight:700; }
.q-text { display:block; width:100%; min-height:200px; background:#FBFCFC; border:1px solid #D6E3E1; border-radius:8px; padding:16px; color:#254344; font-size:14px; line-height:1.65; resize:vertical; }
.q-text::placeholder { color:#9FB2B2; }
.field-foot { display:flex; align-items:center; justify-content:space-between; margin-top:9px; font-size:12px; color:#8A9D9F; }
.field-foot button { border:0; background:none; color:#778F90; text-decoration:underline; }
.form-error { color:#A33938; background:#FFF1F0; border:1px solid #F0C9C6; padding:12px; font-size:14px; border-radius:7px; }
.analyze-action { width:100%; border:0; border-radius:9px; margin-top:20px; min-height:54px; background:#126B61; color:white; display:flex; align-items:center; justify-content:space-between; font-weight:700; padding:0 20px; font-size:16px; transition:background .2s,transform .1s; }
.analyze-action:hover { background:#0B544D; }
.analyze-action:active { transform:scale(.99); }
.input-privacy { margin:12px 0 0; color:#879C9F; font-size:12px; line-height:1.5; }
.waiting-result { padding:72px 20px 45px; text-align:center; }
.waiting-figure { width:200px; height:160px; position:relative; margin:0 auto 20px; }
.waiting-ring { width:142px; height:142px; border-radius:50%; border:12px solid #D9EBE5; position:absolute; left:28px; top:2px; display:grid; place-items:center; }
.waiting-ring:after { content:""; position:absolute; width:30px; height:30px; background:#E8F2F0; right:-10px; bottom:-8px; border-radius:10px; transform:rotate(25deg); }
.waiting-ring span { color:#A5C6BC; font-size:60px; font-weight:600; }
.waiting-lines { display:flex; gap:5px; position:absolute; bottom:3px; left:49px; }
.waiting-lines span { background:#8BB4A9; width:28px; height:5px; border-radius:4px; }
.waiting-lines span:nth-child(2) { width:46px; background:#BDD4CE; }
.waiting-lines span:nth-child(3) { width:15px; background:#D5E8E2; }
.waiting-result h3 { font-size:21px; margin:0 0 10px; }
.waiting-result p { max-width:340px; margin:0 auto; color:#839698; line-height:1.65; font-size:15px; }
.preview-tags { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:25px; }
.preview-tags span { color:#718D88; border:1px solid #DDE9E5; background:#F7FAF9; padding:9px 11px; border-radius:6px; font-size:12px; }
.score-hero { display:flex; gap:24px; align-items:center; padding:11px 0 29px; border-bottom:1px solid #E3EBEB; }
.score-circle { width:153px; height:153px; flex-shrink:0; border-radius:50%; display:grid; place-items:center; }
.score-circle>div { width:125px; height:125px; border-radius:50%; background:white; display:flex; justify-content:center; flex-direction:column; align-items:center; }
.score-circle strong { font-size:53px; font-weight:700; line-height:1; letter-spacing:-2px; }
.score-circle span { font-size:13px; color:#809497; margin-top:5px; }
.score-caption { color:#0D7467; font-size:11px; font-weight:800; letter-spacing:1.3px; }
.score-hero h3 { margin:7px 0; font-size:20px; line-height:1.25; }
.score-hero p { margin:0; font-size:13px; line-height:1.6; color:#809396; }
.result-subhead { display:flex; justify-content:space-between; font-size:15px; font-weight:700; margin:22px 0 8px; }
.result-subhead span { color:#9AABAD; font-weight:400; font-size:12px; }
.mini-row { display:flex; align-items:center; gap:9px; padding:11px 0; border-bottom:1px solid #EFF2F2; font-size:13px; }
.mini-dot { width:8px; height:8px; flex-shrink:0; border-radius:50%; }
.mini-dot.good { background:#1A8D72; } .mini-dot.partial { background:#CA9F53; } .mini-dot.missing { background:#CD7776; }
.mini-name { flex:1; color:#436063; }
.mini-score { font-family:monospace; font-weight:700; color:#254A4B; }
.text-action { border:0; background:none; color:#0E685C; padding:13px 0; font-size:13px; font-weight:700; }
.text-action span { margin-left:10px; }
.advice-box { background:#F3F8F6; padding:18px; border-left:3px solid #126B61; border-radius:5px; margin:16px 0 20px; }
.advice-box strong { font-size:14px; }
.advice-box p { font-size:13px; line-height:1.6; margin:11px 0 0; color:#56736F; }
.result-actions { display:flex; gap:10px; flex-wrap:wrap; }
.result-actions button { flex:1; min-width:125px; border:1px solid #B4CBC6; border-radius:8px; padding:11px 8px; color:#0C665B; background:white; font-size:13px; font-weight:700; }
.result-actions button:last-child { background:#126B61; color:white; border-color:#126B61; }
.result-disclaimer { font-size:11px; line-height:1.5; color:#92A1A3; margin-top:15px; }
.benefit-strip { display:flex; align-items:center; justify-content:space-around; flex-wrap:wrap; min-height:130px; gap:14px; font-size:24px; letter-spacing:-.6px; color:#748A89; }
.benefit-strip b { color:#C4D6D2; font-weight:400; } .benefit-strip strong { color:#126B61; }
.mini-community { padding:60px 0 95px; display:grid; grid-template-columns:1fr .8fr; gap:70px; align-items:center; border-top:1px solid #E5ECEC; }
.mini-community h2 { font-size:clamp(35px,4vw,55px); line-height:1.13; letter-spacing:-2px; margin:14px 0; }
.mini-community p { max-width:400px; color:#748A8B; line-height:1.6; }
.mini-community button { margin-top:16px; padding:0 0 10px; border:0; border-bottom:2px solid #126B61; background:none; color:#126B61; font-weight:800; font-size:16px; }
.community-ornament { height:295px; border-radius:15px; background:#E5EFEA; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.community-ornament:before { content:""; position:absolute; width:350px; height:350px; border:1px solid #B5D0C8; border-radius:50%; }
.community-ornament:after { content:""; position:absolute; width:270px; height:270px; border:1px solid #B5D0C8; border-radius:50%; }
.community-ornament>span { font-size:140px; letter-spacing:-20px; font-weight:700; color:#216A5B; z-index:1; }
.community-ornament small { position:absolute; left:24px; bottom:18px; font-size:10px; color:#698F83; letter-spacing:1.3px; font-weight:800; z-index:2; }
.footer { border-top:1px solid #E1E9E9; background:#F9FBFB; }
.footer-inner { min-height:120px; display:flex; justify-content:space-between; align-items:center; gap:25px; }
.footer-inner p, .footer-inner>span { color:#809496; font-size:13px; }
.inner-page { padding:66px 0 105px; min-height:calc(100dvh - 205px); }
.page-heading { max-width:770px; margin-bottom:60px; }
.page-heading h1, .forum-heading h1 { font-size:clamp(48px,5vw,72px); line-height:1.06; letter-spacing:-3px; margin:20px 0; }
.page-heading p, .forum-heading p { color:#74888A; font-size:18px; line-height:1.7; max-width:610px; margin:0; }
.rubric-table { border-top:2px solid #19353B; }
.rubric-top { display:grid; grid-template-columns:1.25fr 1.2fr 65px; gap:30px; padding:19px 15px; font-size:11px; color:#8B9DA0; font-weight:800; letter-spacing:1.4px; }
.rubric-top span:last-child { text-align:right; }
.rubric-item { display:grid; grid-template-columns:1.25fr 1.2fr 65px; gap:30px; align-items:center; padding:20px 15px; border-top:1px solid #E0E9E9; }
.rubric-item>div { display:flex; gap:24px; align-items:center; }
.rubric-index { color:#90A5A6; font-family:monospace; font-size:12px; }
.rubric-item b { font-size:16px; }
.rubric-item p { color:#70888A; margin:0; line-height:1.5; font-size:14px; }
.rubric-item>strong { text-align:right; font-size:21px; color:#126B61; }
.rubric-bottom { display:flex; justify-content:space-between; padding:22px 15px; background:#E7F1ED; font-size:20px; border-top:1px solid #CADDD7; }
.rubric-bottom strong { color:#126B61; }
.rubric-note { margin-top:60px; padding:40px 44px; background:#F4F8F7; border-radius:13px; }
.rubric-note h2 { margin:0 0 30px; font-size:28px; letter-spacing:-1px; }
.rubric-bands { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid #C9DDDA; border-bottom:1px solid #C9DDDA; }
.rubric-bands div { padding:23px 22px; display:flex; flex-direction:column; gap:7px; border-right:1px solid #C9DDDA; }
.rubric-bands div:last-child { border:0; }
.rubric-bands b { color:#126B61; font-size:27px; }
.rubric-bands span { color:#657F7D; font-size:14px; }
.rubric-note p { margin:25px 0; color:#6A8382; line-height:1.7; max-width:850px; }
.rubric-note button { padding:13px 17px; color:#fff; background:#126B61; border:0; border-radius:8px; font-weight:700; }
.forum-heading { display:flex; justify-content:space-between; align-items:end; gap:35px; margin-bottom:35px; }
.create-topic { border:0; background:#126B61; color:white; padding:15px 22px; font-weight:700; border-radius:8px; white-space:nowrap; }
.forum-alert { background:#FFF0EC; border:1px solid #F0BFB4; color:#A0493D; padding:14px; border-radius:8px; display:flex; justify-content:space-between; margin:15px 0; }
.forum-alert button, .success-toast button { background:none; border:0; color:inherit; font-size:20px; }
.success-toast { background:#E6F6ED; color:#197C5C; border:1px solid #B2DECB; border-radius:8px; padding:13px; display:flex; justify-content:space-between; margin-bottom:18px; }
.topic-composer { padding:28px; border:1px solid #CFDED9; border-radius:12px; background:#F7FAF9; margin-bottom:30px; }
.composer-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:25px; }
.composer-head h2 { margin:0; font-size:24px; }
.composer-head button { border:0; background:none; color:#718A86; }
.compose-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.topic-composer input, .topic-composer select, .reply-form input { padding:12px 14px; min-height:45px; margin-bottom:22px; }
.topic-composer textarea { margin-bottom:12px; }
.topic-composer>p { font-size:12px; color:#839995; max-width:700px; line-height:1.5; }
.submit-topic, .reply-form>button { border:0; border-radius:8px; background:#126B61; color:white; padding:13px 19px; font-weight:700; margin-top:12px; }
.forum-toolbar { display:flex; gap:15px; justify-content:space-between; align-items:center; padding-bottom:22px; border-bottom:2px solid #1B3B3F; }
.forum-search { position:relative; flex:1; max-width:600px; }
.forum-search span { position:absolute; top:7px; left:14px; color:#86A09B; font-size:28px; }
.forum-search input { width:100%; border:1px solid #D8E5E4; border-radius:8px; padding:13px 15px 13px 46px; min-height:50px; color:#19353B; background:#F9FBFB; outline:none; }
.forum-toolbar select { background:#F9FBFB; border:1px solid #D8E5E4; border-radius:8px; padding:13px; min-height:50px; min-width:190px; color:#355A5A; }
.forum-toolbar>button { border:1px solid #C9DDDB; background:white; color:#126B61; padding:13px; border-radius:8px; min-height:50px; }
.forum-loading { padding:60px; text-align:center; color:#79908D; }
.topic-list { border-bottom:1px solid #DCE8E6; }
.topic-row { display:flex; gap:22px; align-items:flex-start; width:100%; text-align:left; border:0; border-bottom:1px solid #E1EBEA; background:transparent; padding:26px 14px; transition:background .15s; color:inherit; }
.topic-row:hover { background:#F4F9F7; }
.topic-initial { width:48px; height:48px; display:grid; place-items:center; background:#DDEFE8; color:#126B61; border-radius:11px; font-size:21px; font-weight:800; flex-shrink:0; }
.topic-content { flex:1; display:flex; flex-direction:column; gap:7px; min-width:0; }
.topic-content small, .topic-label { color:#127367; font-size:12px; font-weight:800; }
.topic-content strong { font-size:20px; letter-spacing:-.5px; }
.topic-content>span { color:#718689; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.topic-content em { color:#9DADAF; font-size:12px; font-style:normal; }
.topic-stats { color:#89A19C; display:flex; gap:18px; font-size:13px; font-family:monospace; font-weight:400; }
.topic-stats b { white-space:nowrap; }
.forum-empty { display:flex; align-items:center; flex-direction:column; padding:85px 20px; text-align:center; }
.empty-symbol { font-size:83px; font-weight:800; color:#B7D3CA; line-height:1; }
.forum-empty h2 { font-size:29px; margin:13px 0 6px; }
.forum-empty p { max-width:400px; color:#7D9191; line-height:1.6; }
.forum-empty button { color:#126B61; border:0; border-bottom:2px solid #126B61; background:none; padding:11px 0; font-weight:700; }
.back-discussions { border:0; background:none; color:#126B61; font-weight:700; margin-bottom:35px; padding:0; }
.thread-detail { max-width:860px; margin:25px auto; }
.thread-detail h2 { font-size:clamp(31px,4vw,50px); line-height:1.15; letter-spacing:-1.5px; margin:16px 0 10px; }
.thread-meta { color:#93A3A5; font-size:14px; }
.thread-main { padding:30px 0; border-bottom:1px solid #E0EAEA; font-size:17px; white-space:pre-wrap; line-height:1.8; overflow-wrap:anywhere; }
.thread-toolbar { display:flex; justify-content:space-between; padding:18px 0 35px; }
.thread-toolbar button { border:0; background:none; color:#126B61; font-size:14px; }
.thread-toolbar button:last-child { color:#92A6A7; }
.thread-detail>h3 { border-bottom:1px solid #DCE7E6; padding-bottom:17px; font-size:23px; }
.thread-detail>h3 span { color:#97ADAB; }
.empty-replies { padding:28px; background:#F6F9F8; text-align:center; border-radius:8px; color:#8BA09F; }
.reply-item { border-bottom:1px solid #E2ECEA; padding:23px 0; }
.reply-item>div { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.reply-item time { font-size:12px; color:#93A5A5; }
.reply-item p { color:#456364; white-space:pre-wrap; line-height:1.75; overflow-wrap:anywhere; }
.reply-item button { border:0; padding:0; background:none; color:#9AAEAF; font-size:12px; }
.reply-form { display:flex; flex-direction:column; align-items:stretch; gap:0; background:#F5F9F7; padding:30px 32px; border:1px solid #E1D7FF; border-radius:16px; margin-top:32px; min-width:0; }
.reply-form h3 { margin:0 0 25px; font-size:24px; line-height:1.3; letter-spacing:-.4px; color:#2C215B; }
.reply-form label { display:block; margin:0 0 9px; color:#45376F; font-size:15px; line-height:1.4; font-weight:700; }
.reply-form input,.reply-form textarea { display:block; box-sizing:border-box; width:100%; min-width:0; border:1px solid #D9D0EE; border-radius:11px; background:#fff; color:#292444; font:inherit; font-size:16px; line-height:1.5; padding:14px 16px; box-shadow:0 2px 6px rgba(65,42,117,.025); transition:border-color .2s,box-shadow .2s; }
.reply-form input { min-height:52px; margin:0 0 22px; }
.reply-form textarea { min-height:145px; margin:0 0 20px; resize:vertical; }
.reply-form input::placeholder,.reply-form textarea::placeholder { color:#928DA5; opacity:1; }
.reply-form input:focus,.reply-form textarea:focus { border-color:#7958ED; box-shadow:0 0 0 3px rgba(98,54,245,.12); }
.reply-form>button { align-self:flex-end; display:inline-flex; align-items:center; justify-content:center; min-height:50px; margin:0; padding:12px 24px; font-size:15px; }
@media(max-width:640px){.reply-form { padding:22px 18px; border-radius:14px; }.reply-form h3 { font-size:22px; margin-bottom:20px; }.reply-form>button { align-self:stretch; width:100%; }}
.about-steps { display:grid; grid-template-columns:repeat(3,1fr); border-top:2px solid #1D4242; border-bottom:1px solid #DDE8E5; }
.about-steps>div { padding:37px 30px 45px; border-right:1px solid #DDE8E5; }
.about-steps>div:first-child { padding-left:0; }
.about-steps>div:last-child { border:0; }
.about-steps span { font-family:monospace; font-size:18px; color:#2A8071; }
.about-steps h2 { font-size:25px; margin:48px 0 12px; }
.about-steps p { color:#7B8F91; line-height:1.65; }
.about-caution { margin-top:60px; background:#F1F6F5; border-left:4px solid #126B61; padding:30px 37px; max-width:850px; }
.about-caution h2 { margin:0 0 15px; }
.about-caution p { color:#607E7C; line-height:1.7; }
.criterion-detail { border-bottom:1px solid #E6EDED; padding:12px 0; }
.criterion-detail summary { cursor:pointer; color:#285952; font-size:14px; font-weight:700; line-height:1.6; }
.criterion-detail[open] summary { margin-bottom:10px; }
.criterion-check { display:flex; justify-content:space-between; align-items:start; gap:12px; padding:9px 5px 9px 15px; border-top:1px solid #F1F4F4; font-size:12px; line-height:1.5; }
.criterion-check span { flex:1; color:#5D7674; }
.criterion-check span strong { color:#1A776B; font-family:monospace; font-size:11px; }
.criterion-check span small { display:block; margin-top:4px; color:#92A4A1; line-height:1.5; font-size:11px; }
.criterion-check b { font-weight:600; font-size:11px; white-space:nowrap; }
.criterion-check .detected { color:#13735F; }
.criterion-check .unverified { color:#A47B45; }
.rubric-note a { color:#126B61; text-decoration:underline; text-underline-offset:3px; }
.observation-panel { margin-top:65px; border:1px solid #D8E6E2; border-radius:17px; padding:38px; background:#F9FBFA; }
.observation-title { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-bottom:27px; }
.observation-title h2 { margin:12px 0; font-size:clamp(29px,3.2vw,41px); letter-spacing:-1.3px; }
.observation-title p { margin:0; color:#6F8985; line-height:1.6; }
.observation-badge { color:#146B5E; background:#DCECE6; border-radius:10px; padding:16px 18px; font-weight:800; font-size:19px; white-space:nowrap; }
.observer-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:28px; }
.observer-meta label { display:flex; flex-direction:column; gap:8px; color:#4D706B; font-size:14px; font-weight:700; }
.observer-meta input { width:100%; min-width:0; background:white; color:#19353B; border:1px solid #C9DCD6; border-radius:8px; padding:12px 13px; font-size:15px; font-weight:400; }
.observation-group { margin-bottom:19px; background:white; border:1px solid #E0EAE7; border-radius:11px; overflow:hidden; }
.observation-group h3 { display:flex; align-items:center; gap:15px; background:#EAF3F0; padding:16px 19px; margin:0; font-size:17px; letter-spacing:-.3px; }
.observation-group h3 span { color:#167967; font-family:monospace; font-size:14px; letter-spacing:0; }
.observation-row { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:61px; padding:11px 17px; border-top:1px solid #EAF0EF; }
.observation-row label { flex:1; color:#385C58; font-size:14px; line-height:1.55; cursor:pointer; }
.observation-row label b { color:#137566; font-family:monospace; margin-right:10px; }
.observation-row label small { display:inline-block; margin-left:7px; padding:2px 7px; border-radius:4px; background:#FFF2DC; color:#93682A; font-size:11px; white-space:nowrap; }
.observation-row select { border:1px solid #B7D2C9; background:#fff; color:#1F554B; border-radius:7px; padding:9px 12px; min-width:82px; min-height:43px; text-align:center; font-size:16px; font-weight:700; }
.observation-footer { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:22px 0; border-top:2px solid #22695E; }
#observationSummary { display:flex; flex-direction:column; gap:7px; }
#observationSummary strong { font-size:24px; color:#145D51; }
#observationSummary span { color:#668780; line-height:1.5; font-size:14px; }
.observation-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.observation-actions button { border:0; border-radius:8px; padding:13px 18px; background:#126B61; color:white; font-weight:700; font-size:14px; }
.observation-actions .reset-grades { color:#52736D; border:1px solid #C6D8D2; background:#fff; }
.observation-disclaimer { color:#8A9D97; font-size:12px; line-height:1.6; margin:5px 0 0; }

@media (max-width:1100px) {
  .qmj-site .wrap,.nav-shell { width:calc(100% - 48px); }
  .site-nav { gap:14px; }
  .nav-link { font-size:13px; }
  .header-action { display:none; }
  .hero { gap:24px; }
  .hero h1 { font-size:58px; }
  .art-lens { width:170px; height:170px; }
  .input-pane,.result-pane { padding:25px; }
  .score-hero { flex-direction:column; text-align:center; gap:12px; }
}
@media (max-width:760px) {
  .qmj-site .wrap,.nav-shell { width:calc(100% - 36px); }
  .site-header { height:70px; }
  .wordmark { font-size:21px; }
  .brand-symbol { width:39px; height:39px; }
  .brand-symbol span { font-size:26px; }
  .site-nav { display:none; position:absolute; top:70px; left:0; right:0; height:auto; background:#fff; padding:14px 20px 22px; border-bottom:1px solid #DDE8E7; box-shadow:0 13px 16px rgba(15,47,41,.07); }
  .site-nav.is-open { display:flex; flex-direction:column; align-items:stretch; gap:0; }
  .site-nav .nav-link { height:49px; text-align:left; font-size:16px; }
  .menu-button { display:block; }
  .hero { grid-template-columns:1fr; padding:51px 0 45px; min-height:0; gap:30px; }
  .hero h1 { font-size:clamp(46px,11vw,65px); letter-spacing:-2.4px; }
  .hero-copy p { font-size:16px; }
  .hero-art { min-height:270px; }
  .art-paper { padding:15px; }
  .paper-back { left:18%; }
  .art-lens { width:130px; height:130px; border-width:10px; }
  .lens-inside strong { font-size:45px; letter-spacing:-5px; }
  .lens-inside span { font-size:9px; letter-spacing:3px; }
  .analysis-section { padding:60px 0 70px; }
  .section-head { flex-direction:column; align-items:start; gap:15px; }
  .section-head h2 { font-size:34px; }
  .workspace { grid-template-columns:1fr; }
  .input-pane { border-right:0; border-bottom:1px solid #E1E9EA; }
  .input-pane,.result-pane { padding:24px 19px; }
  .score-hero { flex-direction:row; text-align:left; }
  .score-circle { width:116px; height:116px; }
  .score-circle>div { width:96px; height:96px; }
  .score-circle strong { font-size:39px; }
  .score-hero h3 { font-size:17px; }
  .benefit-strip { font-size:18px; padding:35px 0; }
  .mini-community { grid-template-columns:1fr; gap:27px; padding:50px 0 65px; }
  .community-ornament { height:220px; }
  .footer-inner { flex-wrap:wrap; gap:15px; padding:25px 0; }
  .footer-inner p { order:3; width:100%; margin:0; }
  .inner-page { padding:50px 0 70px; }
  .page-heading { margin-bottom:36px; }
  .page-heading h1,.forum-heading h1 { font-size:48px; letter-spacing:-2px; }
  .page-heading p,.forum-heading p { font-size:16px; }
  .rubric-top { display:none; }
  .rubric-item { grid-template-columns:1fr 40px; padding:19px 5px; gap:8px; }
  .rubric-item>div { gap:14px; }
  .rubric-item p { grid-column:1/2; padding-left:34px; }
  .rubric-item>strong { grid-column:2; grid-row:1/3; }
  .rubric-note { padding:26px 20px; }
  .rubric-bands { grid-template-columns:1fr; }
  .rubric-bands div { border-right:0; border-bottom:1px solid #C9DDDA; padding:15px 6px; }
  .forum-heading { align-items:start; flex-direction:column; }
  .forum-toolbar { flex-wrap:wrap; }
  .forum-search { flex-basis:100%; max-width:none; }
  .forum-toolbar select { flex:1; min-width:0; }
  .topic-row { padding:22px 5px; gap:12px; }
  .topic-initial { width:39px; height:39px; font-size:17px; }
  .topic-stats { flex-direction:column; gap:6px; }
  .topic-content strong { font-size:18px; }
  .compose-grid { grid-template-columns:1fr; gap:0; }
  .topic-composer,.reply-form { padding:20px; }
  .about-steps { grid-template-columns:1fr; }
  .about-steps>div,.about-steps>div:first-child { padding:23px 8px 28px; border-right:0; border-bottom:1px solid #DDE8E5; }
  .about-steps h2 { margin:19px 0 7px; }
}
@media (prefers-reduced-motion:reduce) {
  .qmj-site *, .qmj-site *:before,.qmj-site *:after { transition:none !important; animation:none !important; scroll-behavior:auto !important; }
}
@media (max-width:760px) {
  .observation-panel { padding:22px 15px; margin-top:42px; }
  .observation-title { align-items:start; flex-direction:column; }
  .observation-badge { font-size:15px; padding:10px 12px; }
  .observer-meta { grid-template-columns:1fr; }
  .observation-row { padding:10px 12px; gap:8px; }
  .observation-row label { font-size:13px; }
  .observation-row select { min-width:65px; }
  .observation-footer { flex-direction:column; align-items:stretch; }
  .observation-actions button { flex:1; }
  .criterion-check { flex-direction:column; gap:5px; }
}

/* Dialog QMJ Lab: vivid educational design system */
.qmj-site { --ink:#24164e;--secondary:#716b8e;--accent:#6236f5;--tint:#f0eaff;--line:#e6e2f6;--ground:#f8f7ff;font-family:"QMJ Noto Sans",Arial,sans-serif;color:var(--ink);background:#fff; }
.qmj-site button:focus-visible,.qmj-site input:focus-visible,.qmj-site select:focus-visible,.qmj-site textarea:focus-visible { outline-color:#19bee4; }
.site-header { background:rgba(255,255,255,.94);border-color:#eeeafb;box-shadow:0 3px 22px rgba(82,39,156,.04); }
.wordmark { color:#25174e;font-size:24px; }
.wordmark strong { color:#6236f5; }
.wordmark small { color:#8273a7;font-size:9px; }
.brand-symbol { background:linear-gradient(145deg,#835cff,#5022dc);border-radius:15px;box-shadow:0 7px 18px rgba(91,50,224,.22); }
.nav-link { color:#756b92;font-size:14px;border:0;border-radius:999px;padding:11px 14px; }
.nav-link:hover,.nav-link.active { color:#5530d9;background:#f1edff;border-bottom-color:transparent; }
.header-action,.analyze-action,.create-topic,.submit-topic,.reply-form>button,.observation-actions button:not(.reset-grades) { background:#6236f5;border-radius:999px; }
.header-action:hover,.analyze-action:hover,.create-topic:hover { background:#4525c7; }
.header-action { padding:13px 23px;box-shadow:0 9px 17px rgba(98,54,245,.17);font-size:14px; }
.menu-button { color:#5c35e4;border-color:#dcd3ff; }
.hero { position:relative;min-height:550px;margin-top:32px;margin-bottom:0;padding:65px 52px 78px;gap:12px;overflow:hidden;isolation:isolate;border-radius:34px;background:radial-gradient(circle at 88% 14%,#aa76ff 0%,transparent 35%),radial-gradient(circle at 7% 98%,#8251f6 0%,transparent 36%),linear-gradient(120deg,#341383 0%,#5930d4 56%,#7147ec 100%);box-shadow:0 22px 44px rgba(68,33,149,.16); }
.hero:before,.hero:after { content:"";position:absolute;border:1px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none;z-index:-1; }
.hero:before { width:420px;height:420px;left:-250px;top:-200px; }
.hero:after { width:350px;height:350px;right:-190px;bottom:-215px; }
.hero-copy { position:relative;z-index:3;max-width:670px; }
.overline { display:inline-flex;padding:9px 15px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);border-radius:999px;color:#f2ebff;letter-spacing:1px;font-size:11px; }
.tiny-square { background:#d2ff69;width:8px;height:8px;border-radius:50%;transform:none; }
.hero h1 { font-size:clamp(51px,5.3vw,77px);line-height:1.09;letter-spacing:-3.8px;font-weight:800;color:white;margin:24px 0 22px; }
.hero h1 em { color:#d0ff73;font-style:normal; }
.hero-copy>p { color:#e6ddff;font-size:18px;line-height:1.7;max-width:555px;margin-bottom:28px; }
.hero-buttons { display:flex;gap:13px;align-items:center;flex-wrap:wrap; }
.hero-jump { background:#cbff64;border-radius:999px;color:#2d176f;box-shadow:0 10px 24px rgba(27,15,99,.18);padding:7px 8px 7px 22px;font-size:15px;gap:17px; }
.hero-jump:hover { background:#e4ffb0;transform:translateY(-2px); }
.jump-ring { border-radius:50%;height:41px;width:41px;background:#a9eb40;font-size:19px; }
.hero-secondary { border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(255,255,255,.11);color:white;padding:17px 18px;font-size:14px;font-weight:750; }
.hero-secondary:hover { background:rgba(255,255,255,.2); }
.hero-trust { margin-top:25px;color:#d2c5ff;font-size:13px; }
.hero-art { height:460px;width:100%;min-width:0;overflow:visible;background:transparent url("/dialog-qmj-lab/assets/qmj-hero.webp?v=8") center/contain no-repeat;border:0;box-shadow:none;filter:drop-shadow(0 24px 19px rgba(27,5,95,.22)); }
.hero-art .art-grid,.hero-art .art-paper,.hero-art .art-lens,.hero-art .art-footnote { display:none; }
.hero-art:before { content:"✓  САПА";position:absolute;top:23px;right:5px;color:#3e2891;background:#fff;padding:11px 18px;border-radius:13px;box-shadow:0 12px 24px rgba(33,18,115,.15);font-weight:800;font-size:12px;transform:rotate(5deg); }
.hero-art:after { content:"✦  102 БАЛЛ";position:absolute;left:-12px;bottom:38px;color:#382379;background:#ceff62;padding:12px 18px;border-radius:13px;box-shadow:0 12px 25px rgba(33,18,115,.17);font-weight:800;font-size:14px;transform:rotate(-6deg); }
.quick-stats { position:relative;z-index:2;max-width:1130px!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #ebe6ff;border-radius:22px;box-shadow:0 16px 45px rgba(82,47,154,.11);margin-top:-31px!important;margin-bottom:47px!important;padding:14px 8px; }
.quick-stats>div { display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:93px;gap:2px;border-right:1px solid #ede8fc; }
.quick-stats>div:last-child { border-right:0; }
.quick-stats strong { color:#6236f5;font-weight:800;font-size:37px;letter-spacing:-1.5px; }
.quick-stats span { font-size:13px;color:#7e719b;text-align:center; }
.quick-stats .stats-highlight strong { color:#fb5c86; }
.kicker { color:#7041e8;font-size:12px;letter-spacing:1.5px; }
.analysis-section { background:linear-gradient(180deg,#f7f5ff,#f9fcff);border-color:#eee9ff;padding:73px 0 89px; }
.section-head h2 { font-size:clamp(34px,4vw,48px);color:#281a59;font-weight:800; }
.section-head>p { color:#756f93;font-size:15px; }
.workspace { gap:24px; }
.input-pane,.result-pane { border:1px solid #e9e4fb;border-radius:22px;box-shadow:0 19px 36px rgba(54,37,117,.07); }
.pane-number { background:#e7dcff;color:#6137e9;border-radius:13px; }
.pane-title h3 { font-weight:800;color:#2b2059; }
.pane-title p { color:#80799b;font-size:13px; }
.upload-box { border:2px dashed #ae9bf6;border-radius:16px;background:linear-gradient(145deg,#f9f6ff,#effbff); }
.upload-box:hover,.upload-box:focus-within { border-color:#6540ea;background:#f6f1ff; }
.upload-symbol { display:grid;place-items:center;width:55px;height:55px;margin-bottom:4px;background:#e4dcff;color:#6a3bf1;border-radius:17px;font-size:32px; }
.upload-box button { background:#6236f5;color:white;border-radius:999px;font-size:14px; }
.upload-box button:hover { background:#4926ce; }
.q-text { background:#fcfbff;border-color:#e2dcf3;color:#2f2557;border-radius:12px;font-size:15px; }
.field-label { color:#44346f; }
.analyze-action { border-radius:13px;background:linear-gradient(100deg,#6336f6,#8f45f5);box-shadow:0 11px 22px rgba(99,54,245,.21);min-height:58px; }
.input-privacy { color:#78718f;font-size:13px; }
.waiting-ring { border-color:#daceff; }
.waiting-ring span { color:#9e85ed; }
.waiting-ring:after { background:#d7f8ff; }
.waiting-lines span { background:#835cf0; }
.preview-tags span { border-color:#e6ddff;background:#f6f2ff;color:#6746b7;font-size:13px;border-radius:999px; }
.score-caption,.text-action { color:#6236f5; }
.score-hero h3 { color:#29195c; }
.result-language { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 13px; margin:8px 0 18px; padding:11px 14px; background:linear-gradient(110deg,#f0eaff,#effcf6); border:1px solid #e0d8fa; border-radius:12px; font-size:13px; color:#574392; }
.result-language strong { color:#4b25bf; }
.result-language small { color:#6d897e; font-size:12px; }
.mini-dot.good { background:#12b69f; }
.mini-dot.partial { background:#f6ae4b; }
.mini-dot.missing { background:#ff7291; }
.advice-box { background:#f6f2ff;border-left-color:#7047ed; }
.advice-box p { color:#615684; }
.result-actions button { border-color:#d7cefa;color:#6037df;border-radius:12px; }
.result-actions button:last-child { background:#6236f5;border-color:#6236f5; }
.result-disclaimer,.criterion-check span small { font-size:12px; }
.benefits-section { padding-top:82px;padding-bottom:96px; }
.benefits-heading { margin-bottom:33px; }
.benefits-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px; }
.benefit-card { min-height:310px;border-radius:24px;padding:29px;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden; }
.benefit-card:after { content:"";width:160px;height:160px;border:1px solid currentColor;border-radius:50%;position:absolute;right:-70px;top:-75px;opacity:.18; }
.benefit-card-violet { background:#6942eb;color:white; }
.benefit-card-coral { background:#ffe3e4;color:#461d65; }
.benefit-card-cyan { background:#d3faff;color:#1d3e6b; }
.benefit-icon { width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.22);font-size:35px;line-height:1; }
.benefit-card-coral .benefit-icon,.benefit-card-cyan .benefit-icon { background:rgba(255,255,255,.7);color:#6436ea; }
.benefit-card h3 { font-size:26px;letter-spacing:-.9px;margin:30px 0 8px;line-height:1.16; }
.benefit-card p { max-width:310px;font-size:15px;line-height:1.62;margin:0 0 32px;opacity:.88; }
.benefit-card>span { margin-top:auto;font-size:12px;font-weight:800;letter-spacing:1.3px;opacity:.78; }
.mini-community { background:linear-gradient(105deg,#21145e,#4c25a9);border:0;border-radius:30px;color:white;padding:43px 52px;gap:22px;margin-bottom:90px; }
.mini-community .kicker { color:#caff75; }
.mini-community h2 { font-size:clamp(39px,4.3vw,55px);color:white; }
.mini-community p { color:#ded8f6;font-size:16px; }
.mini-community button { background:#cbff67;color:#30236a;border:0;border-radius:999px;padding:15px 22px;font-size:15px; }
.mini-community button:hover { background:#edffc9;transform:translateY(-2px); }
.community-ornament { height:330px;background:transparent url("/dialog-qmj-lab/assets/qmj-teachers.webp?v=8") center/contain no-repeat;overflow:visible; }
.community-ornament:before,.community-ornament:after,.community-ornament>span { display:none; }
.community-ornament small { bottom:5px;left:50%;transform:translateX(-50%);background:#fff;color:#5d30db;padding:10px 13px;border-radius:999px;white-space:nowrap;letter-spacing:1px; }
.footer { background:#25175a;border:0; }
.footer .wordmark,.footer .footer-inner p,.footer .footer-inner>span { color:#f0ebff; }
.footer .wordmark strong { color:#b3ff6e; }
.footer .wordmark small { color:#c5bcea; }
.inner-page { background:linear-gradient(180deg,#faf9ff 0%,#fff 22%); }
.page-heading h1,.forum-heading h1 { color:#2e205d; }
.page-heading h1 em,.forum-heading h1 em { color:#6a3bef; }
.page-heading p,.forum-heading p { color:#766e97; }
.rubric-table { border-top-color:#6741e8; }
.rubric-item>strong,.rubric-bottom strong,.rubric-bands b { color:#6435ed; }
.rubric-bottom,.rubric-note,.observation-group h3 { background:#efeaff; }
.rubric-note { border-radius:20px; }
.rubric-note a,.back-discussions,.thread-toolbar button,.forum-empty button { color:#693be7; }
.observation-panel { background:#faf9ff;border-color:#e7e0ff; }
.observation-badge { background:#eae2ff;color:#5f32e9; }
.observation-group { border-color:#eae5f7; }
.observation-row select { border-color:#d3c8fa;color:#5b30d6;border-radius:10px; }
.observation-footer { border-top-color:#6945eb; }
#observationSummary strong { color:#6136e7; }
.topic-composer,.reply-form { background:#f8f5ff;border-color:#e1d7ff; }
.topic-composer {
  position:relative; overflow:hidden; isolation:isolate;
  padding:34px 38px 30px; margin-bottom:36px;
  border:1px solid #ddd2ff; border-radius:25px;
  background:linear-gradient(135deg,#fbfaff 0%,#f4efff 100%);
  box-shadow:0 22px 60px rgba(71,39,164,.09);
}
.topic-composer[hidden] { display:none; }
.topic-composer:before {
  content:""; position:absolute; z-index:-1; pointer-events:none;
  width:300px; height:300px; right:-135px; top:-195px; border-radius:50%;
  background:radial-gradient(circle,#d8c9ff 0%,rgba(216,201,255,0) 72%);
}
.topic-composer .composer-head { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin:0 0 28px; }
.composer-intro { display:flex; align-items:flex-start; gap:16px; min-width:0; }
.composer-emblem { flex:none; display:grid; place-items:center; width:52px; height:52px; border-radius:17px; color:#d7ff71; background:#6236f5; font-size:29px; box-shadow:0 9px 19px rgba(98,54,245,.18); }
.composer-eyebrow { display:block; margin:1px 0 6px; color:#7956d9; font-size:11px; font-weight:800; letter-spacing:1.5px; }
.topic-composer .composer-head h2 { margin:0 0 5px; color:#2d205e; font-size:clamp(25px,2.7vw,33px); letter-spacing:-.8px; line-height:1.17; }
.composer-intro p { color:#80749e; line-height:1.6; margin:0; font-size:14px; }
.topic-composer .composer-close { display:inline-flex; align-items:center; justify-content:center; gap:6px; flex:none; border:1px solid #e2dcf6; border-radius:999px; padding:9px 14px; color:#6d608e; background:#fff; font-size:13px; font-weight:700; }
.topic-composer .composer-close:hover { background:#ebe4ff; color:#5d30dc; }
.composer-fields { display:flex; flex-direction:column; gap:21px; padding:26px; border:1px solid #e7e1f9; border-radius:18px; background:rgba(255,255,255,.92); }
.topic-composer .compose-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.composer-field { display:flex; flex-direction:column; gap:9px; min-width:0; }
.composer-field label { display:block; margin:0; color:#3a2b6b; font-weight:750; font-size:14px; line-height:1.4; }
.composer-field label span { color:#ff678a; }
.topic-composer .composer-field input,
.topic-composer .composer-field select,
.topic-composer .composer-field textarea {
  display:block; width:100%; min-width:0; max-width:100%; margin:0;
  border:1px solid #ded7ef; border-radius:12px; background:#fcfbff;
  color:#2f255f; outline:none; font-size:16px; line-height:1.5;
  transition:background .2s,border-color .2s,box-shadow .2s;
}
.topic-composer .composer-field input,
.topic-composer .composer-field select { height:55px; padding:13px 17px; }
.topic-composer .composer-field select {
  appearance:none; padding-right:47px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236c48db' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position:right 17px center; background-size:20px; background-repeat:no-repeat;
}
.topic-composer .composer-field textarea { min-height:162px; padding:15px 17px; resize:vertical; }
.topic-composer .composer-field :is(input,textarea)::placeholder { color:#a59bb9; opacity:1; }
.topic-composer .composer-field :is(input,select,textarea):focus { border-color:#8b6af5; background:#fff; box-shadow:0 0 0 4px rgba(120,81,244,.11); }
.composer-attachment { display:flex; flex-direction:column; gap:14px; padding:20px; border:1px dashed #beafe9; border-radius:16px; background:linear-gradient(110deg,#faf7ff,#f4fff5); }
.composer-attachment-head { display:flex; align-items:center; gap:13px; }
.composer-attachment-icon { display:grid; place-items:center; flex:none; width:49px; height:49px; border-radius:14px; background:#eae2ff; font-size:24px; }
.composer-attachment-head strong { color:#34266a; font-size:16px; }
.composer-attachment-head p { margin:4px 0 0; color:#776c92; font-size:13px; line-height:1.6; }
.topic-composer .topic-file-input { position:absolute; width:1px; height:1px; min-height:0; margin:0; padding:0; opacity:0; overflow:hidden; pointer-events:none; }
.composer-attachment-actions { display:flex; flex-wrap:wrap; align-items:center; gap:13px; }
.topic-attach-button { display:inline-flex; align-items:center; justify-content:center; padding:12px 17px; color:#5732c8; background:#fff; border:1px solid #cec1f5; border-radius:11px; font-size:14px; font-weight:800; cursor:pointer; }
.topic-attach-button:hover,.topic-file-input:focus-visible~.composer-attachment-actions .topic-attach-button { background:#eee7ff; }
.topic-file-selected { display:flex; align-items:center; gap:9px; color:#2c6c4a; font-size:13px; font-weight:800; min-width:0; overflow-wrap:anywhere; }
.topic-file-selected button { display:grid; place-items:center; width:28px; height:28px; border:0; border-radius:50%; background:#fce8ef; color:#a8415a; font-size:21px; cursor:pointer; flex:none; }
.topic-file-consent { display:flex; align-items:flex-start; gap:10px; padding:12px; border:1px solid #cce8cf; border-radius:11px; background:#f4fff5; cursor:pointer; color:#42654c; font-size:13px; line-height:1.65; }
.topic-file-consent input[type=checkbox] { flex:none; width:20px; height:20px; min-height:0; margin:1px 0 0; padding:0; accent-color:#5b38e0; cursor:pointer; }
.topic-content>.topic-attachment-chip { align-self:flex-start; display:inline-flex; align-items:center; gap:6px; padding:6px 10px; color:#4f6f48; background:#eaf8df; border-radius:999px; font-style:normal; font-size:12px; font-weight:800; }
.topic-file-card { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:22px 0 6px; padding:18px; border:1px solid #d7cef3; border-radius:16px; background:linear-gradient(105deg,#f4efff,#f6ffec); }
.topic-file-card-text { display:flex; gap:12px; align-items:center; min-width:0; }
.topic-file-card-icon { display:grid; place-items:center; flex:none; width:48px; height:48px; border-radius:13px; background:#e7ddff; font-size:23px; }
.topic-file-card-text strong { display:block; color:#342568; overflow-wrap:anywhere; font-size:14px; }
.topic-file-card-text span { display:block; margin-top:5px; color:#7e7396; font-size:13px; }
.topic-file-card a { flex:none; padding:11px 15px; border-radius:11px; background:#6034e8; color:#fff; text-decoration:none; font-weight:800; font-size:13px; }
.topic-file-card a:hover { background:#4b27c4; }
.composer-bottom { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:23px; }
.topic-composer .composer-privacy { flex:1; display:flex; gap:10px; align-items:flex-start; max-width:660px; margin:0; color:#766c94; font-size:13px; line-height:1.65; }
.composer-privacy span { color:#754aec; font-size:18px; line-height:1.2; }
.topic-composer .submit-topic { display:inline-flex; justify-content:center; align-items:center; gap:13px; flex:none; border:0; border-radius:999px; margin:0; padding:15px 21px; background:#6236f5; color:#fff; box-shadow:0 12px 25px rgba(98,54,245,.2); font-weight:800; font-size:15px; }
.topic-composer .submit-topic span { color:#d7ff71; font-size:19px; }
.topic-composer .submit-topic:hover { background:#5328e1; transform:translateY(-1px); }
@media(max-width:760px) {
  .topic-composer { padding:22px 18px; border-radius:21px; }
  .topic-composer .composer-head { margin-bottom:22px; }
  .composer-intro { gap:11px; }
  .composer-emblem { width:43px; height:43px; border-radius:14px; font-size:23px; }
  .composer-eyebrow { font-size:10px; letter-spacing:.9px; }
  .topic-composer .composer-close { padding:7px 10px; }
  .topic-composer .composer-close span { display:none; }
  .composer-fields { padding:17px; gap:18px; border-radius:15px; }
  .composer-attachment { padding:15px; }
  .topic-file-card { align-items:stretch; flex-direction:column; }
  .topic-file-card a { text-align:center; }
  .topic-composer .compose-grid { grid-template-columns:1fr; gap:18px; }
  .composer-bottom { flex-direction:column; align-items:stretch; gap:17px; }
  .topic-composer .submit-topic { width:100%; }
}
.forum-search input,.forum-toolbar select { background:#faf9ff;border-color:#e2dcf8; }
.topic-row:hover { background:#f8f5ff; }
.topic-initial { background:#eae2ff;color:#6437e8; }
.topic-content small,.topic-label { color:#6942e8; }
.topic-content strong { color:#332567; }
.about-steps { border-top-color:#6844e7; }
.about-steps span { color:#6a39e8; }
.about-caution { background:#f4f0ff;border-left-color:#7047ec; }
.about-caution p { color:#70668f; }
@media(max-width:1100px){
  .hero { gap:8px;padding:55px 34px 70px;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr); }
  .hero h1 { font-size:clamp(44px,5.3vw,65px); }
  .hero-art { height:400px; }
  .mini-community { padding:35px 32px; }
}
@media(max-width:760px){
  .site-nav { background:#fff;box-shadow:0 17px 26px rgba(67,33,151,.09);border-color:#eee7ff; }
  .site-nav .nav-link { border-radius:12px;padding:13px 15px; }
  .hero { width:calc(100% - 24px)!important;grid-template-columns:1fr;gap:2px;margin-top:12px;border-radius:23px;padding:39px 23px 23px;min-height:0; }
  .overline { font-size:10px;letter-spacing:.65px; }
  .hero h1 { font-size:clamp(43px,10.5vw,64px);letter-spacing:-2px;margin:21px 0 16px; }
  .hero-copy>p { font-size:16px;line-height:1.57; }
  .hero-buttons { gap:9px; }
  .hero-jump { font-size:14px; }
  .hero-secondary { padding:13px 17px; }
  .hero-trust { margin-top:17px;font-size:11px; }
  .hero-art { min-height:0;height:290px;width:100%;background-size:contain; }
  .hero-art:before { top:5px;right:2px;padding:8px 12px;font-size:10px; }
  .hero-art:after { bottom:14px;left:0;padding:8px 13px;font-size:11px; }
  .quick-stats { width:calc(100% - 35px)!important;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-9px!important;margin-bottom:35px!important;gap:0;padding:8px;border-radius:18px; }
  .quick-stats>div { min-height:80px;padding:9px 5px; }
  .quick-stats>div:nth-child(2) { border-right:0; }
  .quick-stats>div:nth-child(-n+2) { border-bottom:1px solid #ede8fc; }
  .quick-stats strong { font-size:30px; }
  .quick-stats span { font-size:12px; }
  .analysis-section { padding-top:55px; }
  .input-pane,.result-pane { border-radius:18px;padding:24px 20px; }
  .benefits-section { padding-top:62px;padding-bottom:60px; }
  .benefits-grid { grid-template-columns:1fr;gap:12px; }
  .benefit-card { min-height:230px;padding:24px; }
  .benefit-card h3 { margin-top:18px; }
  .benefit-card p { margin-bottom:23px; }
  .mini-community { width:calc(100% - 28px)!important;grid-template-columns:1fr;padding:33px 23px 13px;gap:0;margin-bottom:60px;border-radius:23px; }
  .mini-community h2 { font-size:40px; }
  .community-ornament { height:265px; }
  .community-ornament small { bottom:0; }
}
.hero-art { display:none; }
.hero-art-display { position:relative;height:460px;width:100%;min-width:0;display:grid;place-items:center; }
.hero-art-display img { display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 24px 19px rgba(27,5,95,.20)); }
.hero-image-label { position:absolute;bottom:29px;left:-12px;color:#382379;background:#ceff62;padding:12px 18px;border-radius:13px;box-shadow:0 12px 25px rgba(33,18,115,.17);font-weight:800;font-size:14px;transform:rotate(-6deg); }
.community-ornament { background:none;overflow:hidden; }
.community-ornament img { width:100%;height:100%;object-fit:contain;display:block; }
/* The longer Dialog QMJ Lab wordmark remains legible without crowding navigation. */
.wordmark { font-size:20px;letter-spacing:-.7px; }
.wordmark small { font-size:8px;letter-spacing:.8px; }
@media(max-width:400px){
  .wordmark { font-size:17px;letter-spacing:-.6px;gap:8px; }
  .wordmark small { font-size:7px;letter-spacing:.35px; }
  .brand-symbol { width:35px;height:35px; }
}
@media(max-width:1100px){.hero-art-display { height:400px; }}
@media(max-width:760px){
  .hero-art-display { height:285px; }
  .hero-image-label { bottom:7px;left:3px;padding:9px 13px;font-size:12px; }
  .community-ornament img { object-position:center; }
}

/* Teacher–platform comparison: parallel scoring without conflating missing and zero. */
.site-nav { gap:clamp(4px,1.1vw,17px); }
.nav-shell { gap:clamp(12px,2vw,25px); }
.compare-page { padding-top:50px; padding-bottom:100px; }
.compare-hero {
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);
  align-items:center; gap:26px; position:relative; overflow:hidden;
  padding:48px; border-radius:30px; color:white;
  background:radial-gradient(circle at 94% 6%,#9466ff 0%,transparent 38%),linear-gradient(120deg,#2e186e 0%,#5d34d8 65%,#7944ef 100%);
  box-shadow:0 23px 45px rgba(74,44,170,.16);
}
.compare-hero:after { content:""; position:absolute; width:330px; height:330px; right:-130px; bottom:-190px; border:1px solid rgba(255,255,255,.2); border-radius:50%; pointer-events:none; }
.compare-eyebrow { color:#d4ff85; letter-spacing:1.8px; font-size:12px; font-weight:800; }
.compare-hero h1 { color:white; line-height:1.09; letter-spacing:-2.5px; font-size:clamp(43px,4.8vw,62px); margin:18px 0 18px; }
.compare-hero h1 em { color:#d0ff73; font-style:normal; }
.compare-hero p { color:#e3dafa; line-height:1.65; font-size:16px; max-width:600px; margin:0; }
.compare-hero-actions { display:flex; gap:18px; align-items:center; flex-wrap:wrap; margin-top:26px; }
.compare-hero-actions button { border:0; background:#cdff6d; color:#2d175b; font-weight:800; border-radius:999px; padding:15px 22px; }
.compare-hero-actions button:hover { background:#e8ffad; }
.compare-hero-actions span { color:#d2c5ef; font-size:13px; }
.compare-illustration { display:flex; align-items:center; justify-content:center; gap:0; min-width:0; transform:rotate(-4deg); }
.compare-illustration-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; width:174px; min-height:200px; border-radius:23px; box-shadow:0 20px 34px rgba(30,12,90,.22); text-align:center; padding:20px 13px; }
.compare-illustration-card.human { background:#fff; color:#3b2477; transform:rotate(-7deg); }
.compare-illustration-card.machine { background:#d1fbff; color:#285279; transform:rotate(7deg); }
.compare-illustration-card>span { font-size:12px; letter-spacing:.2px; font-weight:800; }
.compare-illustration-card strong { font-size:48px; line-height:1.2; letter-spacing:-2px; }
.compare-illustration-card small { font-size:12px; opacity:.75; }
.compare-illustration-center { display:grid; place-items:center; flex:none; width:55px; height:55px; border-radius:50%; margin:0 -14px; z-index:1; background:#cbff68; color:#361b88; font-size:31px; font-weight:800; border:5px solid #663add; }
.compare-intro { display:flex; align-items:end; justify-content:space-between; gap:25px; margin:64px 0 23px; }
.compare-intro h2,.compare-table-title h2 { color:#291c59; font-size:clamp(27px,3vw,36px); margin:9px 0 10px; letter-spacing:-1px; }
.compare-intro p,.compare-table-title p { margin:0; color:#807699; line-height:1.6; font-size:15px; max-width:660px; }
.compare-steps { display:flex; gap:7px; flex-wrap:wrap; max-width:480px; justify-content:flex-end; }
.compare-steps span { display:flex; align-items:center; gap:7px; background:#f2edff; border:1px solid #e8dfff; border-radius:999px; padding:7px 11px; color:#67518f; font-size:12px; font-weight:700; white-space:nowrap; }
.compare-steps b { width:23px; height:23px; display:grid; place-items:center; border-radius:50%; background:#7749ed; color:#fff; font-size:12px; }
.compare-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.compare-stat { min-width:0; display:flex; flex-direction:column; gap:8px; padding:27px 26px; border-radius:21px; border:1px solid #e8e0ff; }
.compare-stat>span { font-size:14px; font-weight:750; }
.compare-stat strong { line-height:1.08; font-size:clamp(35px,4vw,50px); letter-spacing:-2px; font-variant-numeric:tabular-nums; }
.compare-stat strong small { font-size:17px; font-weight:600; letter-spacing:0; padding-left:4px; }
.compare-stat p { margin:0; font-size:13px; opacity:.8; line-height:1.45; }
.compare-stat-site { background:#f2edff; color:#5630c1; }
.compare-stat-teacher { background:#e7faff; border-color:#d4f1fa; color:#19657d; }
.compare-stat-gap { background:#efffd9; border-color:#e2f9c2; color:#47691c; }
.compare-progress { margin-top:24px; padding:22px 25px; border:1px solid #eae6fa; border-radius:18px; background:#fcfbff; }
.compare-progress-top { display:flex; justify-content:space-between; gap:14px; margin-bottom:12px; color:#463568; font-size:14px; }
.compare-progress-top span { font-weight:800; color:#6b40d5; font-variant-numeric:tabular-nums; }
.compare-progress-track { height:12px; background:#eee9fc; overflow:hidden; border-radius:999px; }
.compare-progress-track span { display:block; width:0; height:100%; border-radius:999px; background:linear-gradient(90deg,#6b43eb,#9be35b); transition:width .2s; }
.compare-insight { display:flex; align-items:center; gap:17px; background:#f5f1ff; border:1px solid #e5dcff; border-radius:17px; padding:19px 22px; margin-top:15px; color:#594584; }
.compare-insight-icon { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:13px; color:#fff; background:#6b40e9; font-size:23px; }
.compare-insight>div { display:flex; flex-direction:column; gap:4px; font-size:14px; line-height:1.6; }
.compare-insight strong { color:#362568; font-size:15px; }
.compare-table-title { display:flex; align-items:end; justify-content:space-between; gap:24px; margin:60px 0 22px; }
.compare-table-title button { border:1px solid #dacdff; color:#5a34d6; background:#f8f5ff; border-radius:999px; font-size:13px; font-weight:800; padding:13px 19px; }
.compare-table-title button:not(:disabled):hover { background:#eae1ff; }
.compare-table-head,.compare-row { display:grid; grid-template-columns:minmax(0,1fr) 108px 160px 116px; gap:16px; align-items:center; }
.compare-table-head { padding:0 21px 12px; color:#827499; text-align:center; font-size:13px; font-weight:800; }
.compare-table-head span:first-child { text-align:left; }
.compare-criteria { display:flex; flex-direction:column; gap:13px; }
.compare-group { border:1px solid #e8e1fa; border-radius:17px; background:white; overflow:hidden; box-shadow:0 5px 22px rgba(66,38,137,.045); }
.compare-group summary { display:flex; align-items:center; gap:14px; padding:20px 22px; cursor:pointer; list-style:none; color:#352567; background:#f8f6ff; }
.compare-group summary::-webkit-details-marker { display:none; }
.compare-group-code { color:#5d37d9; font-weight:800; font-size:17px; min-width:44px; }
.compare-group-name { flex:1; font-weight:800; font-size:17px; }
.compare-group-count { color:#8c80a4; font-size:12px; }
.compare-group-chevron { font-size:27px; line-height:1; color:#7654d9; transition:transform .15s; }
.compare-group[open] .compare-group-chevron { transform:rotate(180deg); }
.compare-group-rows { padding:0 20px; }
.compare-row { padding:18px 0; border-top:1px solid #f0ecf9; color:#352d56; }
.compare-criterion { display:flex; gap:12px; min-width:0; align-items:flex-start; line-height:1.5; font-size:14px; }
.compare-criterion>span { flex:none; color:#7044e3; background:#ede5ff; border-radius:8px; padding:4px 7px; font-size:12px; font-weight:850; }
.compare-criterion>div { min-width:0; }
.compare-condition { display:block; margin-top:4px; color:#9387ab; font-size:12px; }
.compare-auto,.compare-diff,.compare-teacher { min-width:0; text-align:center; font-variant-numeric:tabular-nums; font-weight:750; font-size:15px; }
.compare-auto.is-present { color:#6040cd; }
.compare-teacher select { width:100%; min-height:45px; cursor:pointer; border:1px solid #dcd4f7; border-radius:10px; background-color:#fcfbff; color:#3c2b71; padding:9px 34px 9px 13px; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236c48db' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; }
.compare-diff { color:#968ba9; font-size:13px; }
.compare-diff.is-equal { color:#0c9277; }
.compare-diff.is-higher { color:#6540cf; }
.compare-diff.is-lower { color:#be5979; }
.compare-footer { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:25px; padding:23px 26px; border:1px solid #e7e0fa; border-radius:17px; background:#faf8ff; }
.compare-footer p { max-width:620px; color:#857b9e; line-height:1.6; font-size:13px; margin:0; }
.compare-footer>div { display:flex; flex-wrap:wrap; gap:9px; justify-content:flex-end; }
.compare-footer button { border-radius:999px; padding:13px 17px; font-size:13px; font-weight:800; }
.compare-reset { border:1px solid #d7cdf1; background:white; color:#655583; }
.compare-export { border:0; background:#6336ee; color:#fff; }
.compare-export:hover:not(:disabled) { background:#4821c8; }
.compare-view-result { border:0; background:#13a58b; color:white; font-weight:850; box-shadow:0 10px 22px rgba(19,165,139,.17); }
.compare-view-result:hover:not(:disabled) { background:#07856f; }
.compare-summary.compare-result-highlight { animation:compare-result-focus 1.8s ease-out; border-radius:18px; }
@keyframes compare-result-focus { 0%,38%{box-shadow:0 0 0 5px rgba(98,54,245,.25)} 100%{box-shadow:0 0 0 0 rgba(98,54,245,0)} }
@media(max-width:1000px){
  .compare-hero { grid-template-columns:1fr; }
  .compare-illustration { justify-content:flex-start; margin-top:12px; transform:none; }
  .compare-illustration-card { min-height:120px; width:155px; }
  .compare-illustration-card strong { font-size:34px; }
  .compare-intro,.compare-table-title,.compare-footer { flex-direction:column; align-items:stretch; }
  .compare-steps { max-width:none; justify-content:flex-start; }
  .compare-table-head,.compare-row { grid-template-columns:minmax(0,1fr) 87px 137px 96px; gap:10px; }
}
@media(max-width:760px){
  .compare-page { padding-top:25px; padding-bottom:65px; }
  .compare-hero { padding:29px 24px; border-radius:24px; }
  .compare-hero h1 { font-size:43px; letter-spacing:-1.7px; }
  .compare-hero p { font-size:15px; }
  .compare-hero-actions { gap:11px; }
  .compare-illustration-card { min-height:130px; width:43%; max-width:165px; }
  .compare-illustration-center { margin:0 -11px; width:45px; height:45px; font-size:23px; }
  .compare-intro { margin-top:38px; }
  .compare-summary { grid-template-columns:1fr; gap:10px; }
  .compare-stat { padding:18px 21px; gap:3px; }
  .compare-stat strong { font-size:35px; }
  .compare-table-title { margin-top:38px; }
  .compare-table-head { display:none; }
  .compare-group summary { padding:17px 13px; gap:8px; }
  .compare-group-code { font-size:14px; min-width:35px; }
  .compare-group-name { font-size:14px; }
  .compare-group-count { display:none; }
  .compare-group-rows { padding:0 13px; }
  .compare-row { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 8px; padding:15px 0; }
  .compare-criterion { grid-column:1/-1; }
  .compare-auto,.compare-teacher,.compare-diff { display:flex; flex-direction:column; justify-content:center; min-height:62px; border-radius:10px; background:#faf8ff; padding:8px 5px; }
  .compare-auto:before,.compare-teacher:before,.compare-diff:before { content:attr(data-label); font-size:11px; color:#8c7f9d; margin-bottom:6px; font-weight:650; }
  .compare-teacher select { padding:7px 20px 7px 6px; font-size:13px; background-position:right 2px center; }
  .compare-diff { font-size:12px; }
  .compare-footer { padding:19px 16px; }
  .compare-footer>div { justify-content:stretch; }
  .compare-footer button { width:100%; }
}

/* Persistent comparison records and private restoration codes. */
.compare-storage { margin-top:27px; padding:29px 31px; border:1px solid #e4dcff; border-radius:23px; background:linear-gradient(135deg,#fff 0%,#faf7ff 100%); box-shadow:0 12px 38px rgba(68,37,136,.06); }
.compare-storage-head { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; }
.compare-storage-head h2 { font-size:clamp(24px,3vw,32px); color:#2f225e; margin:9px 0 8px; letter-spacing:-.8px; }
.compare-storage-head p { margin:0; line-height:1.6; color:#857b9d; font-size:14px; }
.compare-storage-badge { display:inline-flex; align-items:center; border-radius:999px; background:#eafbe0; color:#397b40; padding:10px 14px; font-weight:800; font-size:13px; white-space:nowrap; }
.compare-save-form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:13px; margin-top:24px; padding:21px; background:#f4f0ff; border-radius:16px; }
.compare-save-form label { display:flex; flex-direction:column; gap:9px; color:#514174; font-size:14px; font-weight:800; min-width:0; }
.compare-save-form input,.compare-restore input { width:100%; min-width:0; min-height:52px; padding:12px 15px; border:1px solid #dcd3f8; border-radius:11px; background:white; color:#35235e; outline:none; font-size:15px; }
.compare-save-form input::placeholder,.compare-restore input::placeholder { color:#a59abc; }
.compare-save-form button { border:0; background:#6236f5; color:white; border-radius:12px; padding:15px 19px; min-height:52px; font-size:14px; font-weight:800; white-space:nowrap; }
.compare-save-form button:not(:disabled):hover { background:#5129d8; }
.compare-save-form .compare-public-option { grid-column:1/-1; display:flex; flex-direction:row; align-items:flex-start; gap:12px; padding:14px 16px; border:1px solid #d4e9d0; border-radius:13px; background:linear-gradient(105deg,#f5fff1,#f9fbff); cursor:pointer; }
.compare-save-form .compare-public-option input[type=checkbox] { flex:none; width:21px; height:21px; min-height:0; margin:2px 0 0; padding:0; accent-color:#5a37e4; cursor:pointer; }
.compare-public-option span { display:flex; flex-direction:column; gap:4px; }
.compare-public-option strong { color:#365b3a; font-size:14px; }
.compare-public-option small { font-weight:500; color:#688073; font-size:12px; line-height:1.55; }
.compare-save-message { font-size:14px; line-height:1.6; border:1px solid #bfe3cc; background:#edfaf1; color:#276449; padding:12px 15px; border-radius:12px; margin:15px 0 0; }
.compare-save-message.is-error { border-color:#f6c6cb; background:#fff1f1; color:#aa394f; }
.compare-code-box { display:flex; align-items:center; flex-wrap:wrap; gap:13px; margin-top:15px; padding:16px; border:1px solid #d5c7ff; background:#f3eeff; border-radius:14px; }
.compare-code-box>div { flex:1; min-width:220px; display:flex; flex-direction:column; gap:4px; }
.compare-code-box strong { color:#3b277b; font-size:14px; }
.compare-code-box span { color:#72648e; font-size:12px; line-height:1.4; }
.compare-code-box code { color:#5a30d8; font-size:14px; letter-spacing:.5px; overflow-wrap:anywhere; max-width:100%; }
.compare-code-box button { border:0; border-radius:10px; background:#fff; color:#5931d3; font-size:13px; font-weight:800; padding:10px 12px; }
.compare-public-heading { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:29px; padding:22px; border:1px solid #d6eaca; border-radius:18px 18px 0 0; background:linear-gradient(115deg,#edffdf 0%,#effce9 50%,#f7f2ff 100%); }
.compare-public-heading h3 { margin:6px 0; color:#284f34; font-size:clamp(19px,2.6vw,25px); letter-spacing:-.5px; }
.compare-public-heading p { margin:0; color:#688476; font-size:13px; line-height:1.5; }
.compare-public-heading button { flex:none; padding:11px 15px; border:1px solid #bde4b7; border-radius:11px; color:#3e7946; background:#fff; font-weight:800; font-size:13px; cursor:pointer; }
.compare-public-heading button:hover { background:#e2fbdc; }
.compare-public-list { padding:0 18px; border:1px solid #d6eaca; border-top:0; border-radius:0 0 18px 18px; background:#fff; }
.compare-public-item { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:17px 4px; border-bottom:1px solid #e7efe3; }
.compare-public-item:last-child { border-bottom:0; }
.compare-public-main { display:flex; flex-direction:column; gap:5px; min-width:0; }
.compare-public-main strong { color:#37276c; font-size:15px; overflow-wrap:anywhere; }
.compare-public-main span { color:#647e70; font-size:13px; line-height:1.4; }
.compare-public-main small { color:#94a69a; font-size:12px; }
.compare-public-item button { flex:none; border:0; border-radius:11px; background:#643af1; color:#fff; padding:12px 14px; font-size:13px; font-weight:800; cursor:pointer; }
.compare-public-item button:hover { background:#4d26d7; }
.compare-saved-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:30px; padding-bottom:13px; border-bottom:1px solid #e9e3f6; }
.compare-saved-heading h3 { color:#352367; margin:0; font-size:18px; }
.compare-saved-heading span { color:#948aab; font-size:12px; }
.compare-saved-list { display:flex; flex-direction:column; }
.compare-saved-empty { padding:19px 3px; color:#9a91ad; font-size:14px; line-height:1.6; }
.compare-saved-item { display:flex; align-items:center; gap:16px; justify-content:space-between; padding:17px 0; border-bottom:1px solid #ebe6f6; }
.compare-saved-main { display:flex; flex-direction:column; gap:4px; min-width:0; }
.compare-saved-main strong { color:#38276b; font-size:15px; overflow-wrap:anywhere; }
.compare-visibility { display:inline-flex; vertical-align:middle; margin-left:7px; padding:3px 9px; border-radius:999px; font-style:normal; font-size:11px; letter-spacing:.1px; }
.compare-visibility.public { color:#26784b; background:#e5f9e6; }
.compare-visibility.private { color:#786795; background:#f0eaf9; }
.compare-saved-main span { color:#766a95; font-size:13px; line-height:1.5; }
.compare-saved-main small { color:#9b90ad; font-size:12px; }
.compare-saved-actions { display:flex; flex-wrap:wrap; gap:7px; flex:none; }
.compare-saved-actions button { border:1px solid #ded5f6; background:#fff; color:#6040be; padding:10px 13px; border-radius:10px; font-weight:800; font-size:12px; }
.compare-saved-actions button:hover { background:#f4efff; }
.compare-saved-actions .compare-saved-delete { color:#b15b76; border-color:#f4dce4; }
.compare-restore { display:grid; grid-template-columns:minmax(170px,1fr) minmax(220px,.9fr) auto; align-items:end; gap:12px; background:#f5f8ff; border:1px solid #e0e8fc; border-radius:14px; padding:20px; margin-top:24px; }
.compare-restore label { display:block; color:#37286a; font-size:14px; font-weight:800; margin-bottom:5px; }
.compare-restore p { color:#8a83a2; font-size:12px; line-height:1.45; margin:0; }
.compare-restore input { min-height:49px; font-family:monospace; font-size:14px; letter-spacing:.1px; }
.compare-restore button { background:#284d87; border:0; color:white; padding:13px 17px; min-height:49px; border-radius:11px; font-weight:800; font-size:14px; white-space:nowrap; }
.compare-restore button:hover { background:#18386a; }
@media(max-width:900px){
  .compare-restore { grid-template-columns:1fr auto; }
  .compare-restore>div { grid-column:1/-1; }
  .compare-saved-item { align-items:flex-start; flex-direction:column; }
}
@media(max-width:760px){
  .compare-storage { padding:22px 18px; border-radius:18px; }
  .compare-storage-head { flex-direction:column; gap:12px; }
  .compare-save-form { grid-template-columns:1fr; padding:15px; }
  .compare-save-form button { width:100%; }
  .compare-code-box>div { min-width:0; width:100%; }
  .compare-public-heading,.compare-public-item { flex-direction:column; align-items:stretch; }
  .compare-public-heading { padding:17px; gap:13px; }
  .compare-public-item button { width:100%; }
  .compare-saved-heading { align-items:flex-start; flex-direction:column; gap:5px; }
  .compare-restore { grid-template-columns:1fr; padding:16px; }
  .compare-restore>div { grid-column:auto; }
  .compare-restore button { width:100%; }
}

/* Automatically shared, anonymous analysis archive. */
.analysis-save-status { margin-top:20px; padding:14px 17px; border:1px solid #ccebd8; background:#eefff4; border-radius:12px; color:#297250; font-size:14px; font-weight:700; line-height:1.6; }
.analysis-save-status.is-warning { border-color:#edd2a9; color:#976623; background:#fff9ed; }
.archive-page { padding-top:40px; padding-bottom:85px; }
.archive-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(265px,.9fr); align-items:center; gap:24px; position:relative; border-radius:28px; background:linear-gradient(115deg,#f4edff 0%,#f9f7ff 50%,#dff9e8 100%); padding:50px 58px; overflow:hidden; border:1px solid #e3d9ff; }
.archive-hero h1 { margin:18px 0; color:#2d2059; font-size:clamp(38px,5vw,65px); line-height:1.13; letter-spacing:-2.4px; }
.archive-hero h1 em { font-style:normal; color:#6236f5; }
.archive-hero p { max-width:595px; color:#73668e; line-height:1.75; font-size:16px; margin-bottom:25px; }
.archive-hero button { border:0; border-radius:999px; background:#6236f5; color:white; padding:15px 25px; font-weight:800; box-shadow:0 14px 24px #6236f52a; }
.archive-hero button:hover { background:#4827cb; }
.archive-hero-visual { position:relative; min-height:290px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:20px; }
.archive-orb { position:relative; order:2; flex:none; width:112px; height:112px; border-radius:50%; background:#6236f5; color:white; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:46px; line-height:1; font-weight:900; box-shadow:0 19px 35px #6336ee34; transform:rotate(7deg); }
.archive-orb span { font-size:12px; font-weight:700; margin-top:5px; }
.archive-sheet { order:1; flex:none; background:white; width:218px; height:243px; border-radius:18px; box-shadow:0 25px 45px #6546a129; border:1px solid #ece5fa; transform:rotate(-5deg); padding:27px; display:flex; flex-direction:column; gap:17px; }
.archive-sheet b { font-size:16px; color:#2f2560; }
.archive-sheet i { height:13px; border-radius:20px; background:#ede8ff; }
.archive-sheet i:nth-of-type(2) { background:#c2efd5; width:70%; }
.archive-sheet i:nth-of-type(3) { width:84%; }
.archive-sheet i:nth-of-type(4) { width:56%; background:#d1c4ff; }
.archive-sheet span { margin-top:auto; color:#9285b4; font-size:12px; font-weight:700; }
.archive-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:24px; }
.archive-metrics>div { display:flex; flex-direction:column; gap:12px; border:1px solid #e6defa; border-radius:18px; padding:23px 27px; background:white; }
.archive-metrics>div:nth-child(2) { background:#e7f8ff; border-color:#cceef7; }
.archive-metrics>div:nth-child(3) { background:#edffdb; border-color:#d9f5b9; }
.archive-metrics span { color:#766a93; font-size:14px; font-weight:700; }
.archive-metrics strong { color:#5633c2; font-size:41px; line-height:1; }
.archive-metrics small { font-size:16px; font-weight:650; }
.archive-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin:53px 0 22px; }
.archive-heading h2 { color:#322259; font-size:clamp(26px,3.8vw,37px); margin:8px 0; }
.archive-heading p { color:#857b9d; font-size:15px; line-height:1.55; margin:0; }
.archive-heading button,.archive-more { border:1px solid #d8caff; background:#f5f1ff; border-radius:12px; color:#6038db; padding:13px 20px; font-size:14px; font-weight:800; }
.archive-heading button:hover,.archive-more:hover { background:#eae2ff; }
.archive-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; align-items:start; }
.archive-empty { grid-column:1/-1; border:1px dashed #d7c7ff; border-radius:18px; padding:30px; color:#8575a5; font-size:16px; line-height:1.6; background:#faf8ff; }
.archive-card { background:#fff; border:1px solid #e8e0f8; border-radius:18px; padding:25px; box-shadow:0 7px 26px rgba(58,34,126,.055); min-width:0; }
.archive-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.archive-anonymous { display:inline-flex; background:#f0eaff; color:#6040d1; border-radius:999px; padding:7px 10px; font-size:11px; font-weight:900; letter-spacing:.4px; }
.archive-card h3 { color:#2f245b; font-size:19px; line-height:1.35; margin:14px 0 8px; }
.archive-card-top p { color:#8a81a3; font-size:13px; margin:0; }
.archive-score { flex:none; background:#f1ebff; color:#5d35d9; border-radius:15px; padding:14px 16px; font-size:34px; font-weight:900; line-height:1; font-variant-numeric:tabular-nums; }
.archive-score small { font-size:13px; margin-left:3px; }
.archive-bar { height:8px; border-radius:99px; background:#eae4f9; overflow:hidden; margin:23px 0 16px; }
.archive-bar span { display:block; height:100%; background:linear-gradient(90deg,#6840f4,#40bd9b); border-radius:99px; }
.archive-details summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; color:#6040c6; font-size:14px; font-weight:800; line-height:1.5; }
.archive-details summary::-webkit-details-marker { display:none; }
.archive-details summary:after { content:'+'; flex:none; display:grid; place-items:center; border-radius:50%; background:#efeaff; width:27px; height:27px; font-size:20px; }
.archive-details[open] summary:after { content:'−'; }
.archive-section-grid { display:grid; grid-template-columns:1fr; gap:5px; padding:15px 0; margin-top:14px; border-top:1px solid #eee9f8; }
.archive-section-line,.archive-indicator { display:flex; align-items:flex-start; justify-content:space-between; gap:13px; padding:8px 9px; font-size:13px; line-height:1.5; color:#5d537b; }
.archive-section-line:nth-child(odd),.archive-indicator:nth-child(odd) { background:#f8f6ff; border-radius:7px; }
.archive-section-line b,.archive-indicator b { color:#6540d2; }
.archive-section-line strong,.archive-indicator strong { white-space:nowrap; color:#48357c; }
.archive-details h4 { color:#33265d; font-size:16px; margin:19px 0 5px; }
.archive-indicators { max-height:380px; overflow:auto; border:1px solid #ece6fa; border-radius:10px; }
.archive-indicator strong.high { color:#0c8668; }
.archive-indicator strong.low { color:#9a6a44; }
.archive-review-note { font-size:12px; color:#938ba7; line-height:1.55; margin:14px 0 0; }
.archive-status { color:#ad574d; font-size:14px; min-height:1px; }
.archive-more { display:block; margin:22px auto 0; }
.archive-more[hidden] { display:none; }
.archive-privacy { display:flex; align-items:start; gap:18px; padding:26px 30px; margin-top:38px; border:1px solid #d4ebdb; border-radius:18px; background:linear-gradient(105deg,#effbf2,#fbfff9); }
.archive-lock { display:grid; place-items:center; flex:none; background:#dbf6e3; color:#328a58; border-radius:12px; font-size:28px; width:47px; height:47px; }
.archive-privacy h3 { color:#2c6850; margin:0 0 9px; font-size:19px; }
.archive-privacy p { color:#587968; font-size:14px; line-height:1.7; margin:0; }
@media(max-width:1000px){
  .archive-hero { grid-template-columns:1fr; padding:38px; }
  .archive-hero-visual { display:none; }
  .archive-list { grid-template-columns:1fr; }
}
@media(max-width:760px){
  .archive-page { padding-top:23px; }
  .archive-hero { padding:30px 24px; border-radius:21px; }
  .archive-hero h1 { letter-spacing:-1.3px; }
  .archive-hero p { font-size:15px; }
  .archive-metrics { grid-template-columns:1fr; gap:10px; }
  .archive-metrics>div { padding:18px 21px; }
  .archive-metrics strong { font-size:32px; }
  .archive-heading { align-items:stretch; flex-direction:column; margin-top:39px; }
  .archive-card { padding:18px; }
  .archive-score { padding:10px; font-size:29px; }
  .archive-privacy { padding:20px; }
}
