*{box-sizing:border-box}html{scroll-behavior:smooth;color-scheme:light}html[data-theme=dark]{color-scheme:dark}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f6f8fc;color:#15213b;line-height:1.6}html[data-theme=dark] body{background:#0d1324;color:#eef3ff}a{color:inherit}button,input,textarea,select{font:inherit}.container{width:min(1180px,calc(100% - 32px));margin:auto}.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid #dfe5f1}html[data-theme=dark] .site-header{background:rgba(13,19,36,.94);border-color:#28324a}.header-inner{height:68px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;text-decoration:none;font-size:1.15rem}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#4f46e5,#0ea5a4);color:white;box-shadow:0 8px 24px rgba(79,70,229,.3)}.main-nav{display:flex;gap:18px;margin-left:auto}.main-nav a{text-decoration:none;color:#4b5874;font-weight:650;font-size:.94rem}.main-nav a:hover{color:#4338ca}html[data-theme=dark] .main-nav a{color:#c9d3ec}.header-actions{display:flex;gap:8px;align-items:center}.icon-btn,.menu-btn{border:1px solid #d5dcec;background:white;border-radius:10px;min-width:42px;height:42px;cursor:pointer;color:#293450}.menu-btn{display:none}html[data-theme=dark] .icon-btn,html[data-theme=dark] .menu-btn{background:#151e33;border-color:#34405a;color:white}.hero{padding:70px 0 46px;background:radial-gradient(circle at 80% 20%,rgba(14,165,164,.16),transparent 28%),radial-gradient(circle at 10% 10%,rgba(79,70,229,.16),transparent 35%)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border-radius:999px;background:#e9e8ff;color:#4338ca;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}html[data-theme=dark] .eyebrow{background:#29265d;color:#c7c4ff}.hero h1{font-size:clamp(2.35rem,5vw,4.65rem);line-height:1.02;letter-spacing:-.055em;margin:18px 0}.hero p{font-size:1.12rem;color:#5b6680;max-width:720px}html[data-theme=dark] .hero p{color:#bec8df}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.primary-btn,.secondary-btn,.danger-btn{border:0;border-radius:11px;padding:11px 17px;font-weight:750;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-btn{background:#4f46e5;color:white;box-shadow:0 8px 24px rgba(79,70,229,.23)}.primary-btn:hover{background:#4338ca}.secondary-btn{background:#edf0f8;color:#24304b}.secondary-btn:hover{background:#e2e7f2}.danger-btn{background:#fff0f2;color:#b4233d}.small{padding:7px 10px;font-size:.83rem}.hero-demo{background:white;border:1px solid #dfe5f1;border-radius:24px;padding:24px;box-shadow:0 25px 70px rgba(34,45,80,.14);transform:rotate(1deg)}html[data-theme=dark] .hero-demo,.app-shell,.content-card,.link-card,.article,.public-deck{background:#131c30;border-color:#2c3851}.demo-card{min-height:220px;display:grid;place-items:center;text-align:center;border-radius:18px;background:linear-gradient(145deg,#f4f3ff,#ebfbfa);padding:32px;position:relative;overflow:hidden}.demo-card:before{content:"";position:absolute;inset:auto -20px -45px auto;width:160px;height:160px;border-radius:50%;background:#4f46e5;opacity:.08}.demo-card strong{font-size:1.55rem}.demo-card span{display:block;margin-top:12px;color:#66718b}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}.trust-item{padding:14px 16px;border:1px solid #dfe5f1;background:rgba(255,255,255,.75);border-radius:14px;font-size:.9rem;font-weight:650}html[data-theme=dark] .trust-item{background:#141d31;border-color:#2c3851}.section{padding:64px 0}.section-tight{padding:34px 0 64px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.section-head h2,.section-head h1{font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.035em;margin:0}.section-head p{color:#64708a;max-width:650px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.content-card,.link-card{background:white;border:1px solid #dfe5f1;border-radius:17px;padding:22px;text-decoration:none;transition:.18s}.link-card:hover,.content-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(35,47,82,.11);border-color:#b9b6ff}.content-card h3,.link-card h3{margin:8px 0}.content-card p,.link-card p{color:#65708a;margin-bottom:0}.ad-slot{min-height:140px;display:grid;place-items:center;border:1px dashed #c8d0e0;border-radius:15px;color:#7b879f;margin:38px 0;background:#f9fafc}.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:.84rem;color:#65708a;margin-bottom:20px}.breadcrumbs a{text-decoration:none}.tool-hero{padding:38px 0 24px}.tool-hero h1{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.04em;margin:12px 0}.tool-hero p{color:#626f89;max-width:850px}.app-shell{background:white;border:1px solid #dfe5f1;border-radius:22px;box-shadow:0 20px 60px rgba(32,43,75,.11);overflow:hidden;margin:20px 0}.app-top{display:flex;gap:18px;align-items:center;padding:16px 18px;border-bottom:1px solid #e0e6f1;background:#fbfcff}.app-top input{font-size:1.2rem;font-weight:800;flex:1;border:0;background:transparent;color:inherit;min-width:0}.app-top input:focus{outline:2px solid #9690ff;border-radius:7px}.app-badge{padding:6px 10px;border-radius:999px;background:#e9f8f6;color:#07746e;font-weight:750;font-size:.8rem}.app-tabs{display:flex;overflow:auto;padding:8px;border-bottom:1px solid #e0e6f1;gap:5px}.app-tabs button{white-space:nowrap;border:0;background:transparent;padding:9px 12px;border-radius:9px;font-weight:700;color:#59657d;cursor:pointer}.app-tabs button[aria-selected=true]{background:#ecebff;color:#4338ca}.app-status{margin:12px 18px 0;padding:10px 14px;border-radius:10px;background:#e9f8f6;color:#066a64;font-weight:700}.app-status[data-type=error]{background:#fff0f2;color:#a21d36}.app-panel{padding:20px}.workspace{display:grid;grid-template-columns:minmax(270px,.82fr) minmax(380px,1.45fr);gap:20px}.form-card,.panel-card{border:1px solid #e0e6f1;border-radius:16px;padding:17px;background:#fcfdff}.form-card h3,.panel-card h3{margin-top:0}.field{display:grid;gap:6px;margin-bottom:13px}.field label{font-weight:750;font-size:.89rem}.field input,.field textarea,.field select,.toolbar input,.toolbar select{width:100%;border:1px solid #ccd5e5;border-radius:10px;padding:10px 11px;background:white;color:#1f2941}.field textarea{min-height:83px;resize:vertical}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-row{display:flex;align-items:center;gap:8px;font-size:.9rem;margin:10px 0}.form-actions,.action-row{display:flex;gap:9px;flex-wrap:wrap}.image-preview{max-width:100%;max-height:160px;border-radius:10px;margin-top:8px}.toolbar{display:grid;grid-template-columns:1fr 160px auto;gap:10px;margin-bottom:14px}.card-list{display:grid;gap:8px;max-height:620px;overflow:auto;padding-right:4px}.card-row{display:grid;grid-template-columns:34px auto 1fr auto;align-items:center;gap:12px;border:1px solid #e0e6f1;border-radius:12px;padding:11px;background:white}.card-index{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f0efff;color:#4f46e5;font-weight:800}.card-thumb{width:48px;height:48px;object-fit:cover;border-radius:9px}.card-copy{min-width:0}.card-copy strong,.card-copy span{display:block;overflow:hidden;text-overflow:ellipsis}.card-copy span{font-size:.9rem;color:#69748d}.card-copy small{display:flex;gap:5px;flex-wrap:wrap;margin-top:4px}.tag{display:inline-block;padding:2px 7px;border-radius:999px;background:#edf7f6;color:#08756f;font-size:.7rem}.row-actions{display:flex;gap:5px}.empty-state{text-align:center;padding:26px;color:#7a859b}.dashboard{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat-box{border:1px solid #e0e6f1;border-radius:13px;padding:14px;background:#fafbff}.stat-box strong{display:block;font-size:1.55rem}.stat-box span{font-size:.8rem;color:#6c7890}.study-layout{display:grid;grid-template-columns:230px 1fr;gap:20px}.study-controls{display:grid;gap:10px}.study-card{min-height:360px;border:1px solid #d8dfec;border-radius:22px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:38px;background:linear-gradient(145deg,#fff,#f4f3ff);position:relative}.study-card h2{font-size:clamp(1.6rem,4vw,2.8rem);max-width:850px}.study-card .answer-side{border-top:1px solid #ddd;padding-top:22px;margin-top:22px;width:100%;font-size:1.2rem}.study-image{max-width:260px;max-height:180px;object-fit:contain;border-radius:12px}.study-progress{position:absolute;top:15px;right:18px;color:#68748e}.rating-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:100%;margin-top:18px}.rating-row button{padding:13px 8px;border:0;border-radius:11px;font-weight:800;cursor:pointer}.rating-row button:nth-child(1){background:#ffe7ea;color:#a22038}.rating-row button:nth-child(2){background:#fff1d7;color:#8a5700}.rating-row button:nth-child(3){background:#def7ed;color:#08704e}.rating-row button:nth-child(4){background:#e6e9ff;color:#4438ae}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:min(700px,100%);margin:16px auto}.choice-btn{border:1px solid #cad4e5;background:white;border-radius:11px;padding:12px;cursor:pointer}.choice-btn[data-correct=true],.choice-btn[data-selected=correct]{background:#dff8ec;border-color:#35a978}.choice-btn[data-selected=wrong]{background:#ffebee;border-color:#df6678}.quiz-card{max-width:850px;margin:auto;text-align:center}.quiz-card h2{font-size:2rem}.result-card{text-align:center;padding:40px}.result-ring{width:120px;height:120px;border-radius:50%;background:#eeedff;color:#4338ca;display:grid;place-items:center;font-size:2rem;font-weight:850;margin:auto}.io-grid,.settings-grid,.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-box{white-space:pre-wrap;background:#f6f7fb;border:1px solid #dfe5f1;border-radius:10px;padding:12px;min-height:50px}.print-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.print-area{background:#e8ebf1;padding:20px;border-radius:12px;max-height:700px;overflow:auto}.print-page{background:white;margin:0 auto 22px;display:grid;gap:3mm;padding:10mm;box-shadow:0 8px 25px rgba(0,0,0,.12);width:210mm;min-height:297mm}.print-area[data-paper=letter] .print-page{width:216mm;min-height:279mm}.print-area[data-layout="4"] .print-page{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}.print-area[data-layout="6"] .print-page{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr)}.print-area[data-layout="8"] .print-page{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(4,1fr)}.print-area[data-layout="9"] .print-page{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr)}.print-area[data-layout="12"] .print-page{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr)}.print-area[data-layout="16"] .print-page{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr)}.print-card{border:1px solid transparent;display:grid;place-items:center;text-align:center;padding:8mm;position:relative;overflow:hidden;color:#111}.print-area.with-lines .print-card{border-color:#999;border-style:dashed}.print-card img{max-width:80%;max-height:45mm;object-fit:contain}.print-card small{position:absolute;bottom:2mm;right:3mm}.print-area[data-mono=true] img{filter:grayscale(1)}.chart{height:230px;display:flex;align-items:end;gap:7px;border-bottom:1px solid #cdd6e5;padding:12px}.chart-bar{height:var(--h);min-height:5px;background:linear-gradient(#4f46e5,#0ea5a4);flex:1;position:relative;border-radius:5px 5px 0 0}.chart-bar span{position:absolute;top:-22px;font-size:.68rem}.chart-bar small{position:absolute;bottom:-32px;left:50%;transform:rotate(-45deg);transform-origin:left;font-size:.62rem}.forecast-list{list-style:none;padding:0}.forecast-list li{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid #e0e6f1}.success-text{color:#08704e;font-weight:750}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:32px}.article,.public-deck{background:white;border:1px solid #dfe5f1;border-radius:20px;padding:clamp(22px,5vw,52px)}.article h1,.public-deck h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.08;letter-spacing:-.045em}.article h2{margin-top:38px;scroll-margin-top:90px}.article p,.article li{color:#4e5b75}.lead{font-size:1.15rem}.toc{position:sticky;top:92px;align-self:start;border:1px solid #dfe5f1;border-radius:15px;padding:18px}.toc a{display:block;text-decoration:none;padding:5px 0;color:#57647e}.public-card-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.public-card{border:1px solid #dfe5f1;border-radius:12px;padding:14px}.public-card strong,.public-card span{display:block}.public-card span{color:#65708a;margin-top:7px}.site-footer{background:#11182a;color:#d9e0f0;padding:52px 0 25px;margin-top:50px}.footer-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:30px}.footer-grid h3{color:white}.footer-grid a{display:block;color:#bec8da;text-decoration:none;padding:4px 0}.network-projects{display:grid;grid-template-columns:repeat(2,1fr);gap:3px}.footer-bottom{border-top:1px solid #30394c;margin-top:30px;padding-top:20px;color:#8f9ab1}.tool-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.privacy-note{display:flex;gap:10px;align-items:flex-start;border-left:4px solid #0ea5a4;background:#eaf9f7;border-radius:8px;padding:13px;color:#155a57}.faq details{border-bottom:1px solid #dde4ef;padding:13px 0}.faq summary{font-weight:800;cursor:pointer}.license-list{font-size:.88rem}
html[data-theme=dark] .app-top,html[data-theme=dark] .app-tabs{background:#111a2d;border-color:#2c3851}html[data-theme=dark] .form-card,html[data-theme=dark] .panel-card,html[data-theme=dark] .card-row,html[data-theme=dark] .study-card,html[data-theme=dark] .stat-box,html[data-theme=dark] .field input,html[data-theme=dark] .field textarea,html[data-theme=dark] .field select,html[data-theme=dark] .toolbar input,html[data-theme=dark] .toolbar select,html[data-theme=dark] .choice-btn{background:#10192b;border-color:#303c56;color:#eef3ff}html[data-theme=dark] .report-box{background:#0f1728;border-color:#303c56}html[data-theme=dark] .article p,html[data-theme=dark] .article li,html[data-theme=dark] .content-card p{color:#bdc7dd}html[data-theme=dark] .secondary-btn{background:#27324a;color:#eef3ff}html[data-theme=dark] .demo-card{background:linear-gradient(145deg,#1d2740,#151e33)}
@media(max-width:900px){.hero-grid,.workspace,.study-layout,.content-grid,.io-grid,.settings-grid,.stats-grid{grid-template-columns:1fr}.grid-3,.grid-4,.tool-links{grid-template-columns:1fr 1fr}.main-nav{position:absolute;top:68px;left:0;right:0;background:white;padding:15px 20px;box-shadow:0 12px 24px rgba(0,0,0,.12);flex-direction:column}.menu-btn{display:block}.main-nav[hidden]{display:none}.trust-strip,.dashboard{grid-template-columns:1fr 1fr}.toc{position:static}.footer-grid{grid-template-columns:1fr 1fr}.print-area{overflow:auto}.rating-row{grid-template-columns:1fr 1fr}}
@media(min-width:901px){.main-nav[hidden]{display:flex!important}}
@media(max-width:560px){.container{width:min(100% - 20px,1180px)}.hero{padding:42px 0 30px}.hero h1{font-size:2.45rem}.grid-3,.grid-4,.tool-links,.public-card-list{grid-template-columns:1fr}.trust-strip,.dashboard{grid-template-columns:1fr 1fr}.header-inner{gap:8px}.brand span:last-child{display:none}.app-panel{padding:12px}.app-top{padding:12px}.field-row,.toolbar{grid-template-columns:1fr}.card-row{grid-template-columns:30px 1fr}.card-thumb{display:none}.row-actions{grid-column:2;justify-content:flex-start}.choice-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.study-card{padding:24px 14px;min-height:300px}.print-area{padding:5px}.content-grid{gap:18px}}
@media print{body{background:white}.site-header,.site-footer,.tool-hero,.app-top,.app-tabs,.app-panel:not(#print-panel),.print-controls,.ad-slot,.breadcrumbs,.print-meta{display:none!important}.app-shell{border:0;box-shadow:none;margin:0}.app-panel#print-panel{display:block!important;padding:0}.print-area{background:white;padding:0;max-height:none;overflow:visible}.print-page{box-shadow:none;margin:0;break-after:page;page-break-after:always}.container{width:100%;max-width:none}.print-card{break-inside:avoid}@page{margin:0}}

/* language-switch-v2 */
.header-actions>.icon-btn,.header-actions>.menu-btn{display:inline-grid;place-items:center;flex:0 0 auto;padding:0;line-height:1;text-decoration:none;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.header-actions>.icon-btn:hover,.header-actions>.menu-btn:hover{border-color:#b8c2d8;background:#f7f8fc;color:#4338ca}.header-actions>.icon-btn:active,.header-actions>.menu-btn:active{transform:translateY(1px)}.language-switch{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;height:42px;padding:4px;border:1px solid #d5dcec;border-radius:12px;background:#fff;color:#293450;text-decoration:none;line-height:1;box-shadow:0 1px 2px rgba(21,33,59,.05);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.language-switch:hover{border-color:#b8b5ff;box-shadow:0 6px 18px rgba(79,70,229,.12);transform:translateY(-1px)}.language-switch:active{transform:translateY(0)}.language-switch__current,.language-switch__target{display:grid;place-items:center;min-width:31px;height:32px;padding:0 7px;border-radius:8px;font-size:.73rem;font-weight:850;letter-spacing:.055em;text-decoration:none;white-space:nowrap}.language-switch__current{background:#ecebff;color:#4338ca;box-shadow:inset 0 0 0 1px rgba(79,70,229,.08)}.language-switch__target{color:#68748e;transition:background-color .16s ease,color .16s ease}.language-switch:hover .language-switch__target{background:#f4f5fb;color:#4338ca}.language-switch:focus-visible,.header-actions>.icon-btn:focus-visible,.header-actions>.menu-btn:focus-visible{outline:3px solid rgba(79,70,229,.28);outline-offset:2px}html[data-theme=dark] .language-switch{background:#151e33;border-color:#34405a;color:#eef3ff;box-shadow:none}html[data-theme=dark] .language-switch:hover{border-color:#7770dd;box-shadow:0 6px 18px rgba(0,0,0,.22)}html[data-theme=dark] .language-switch__current{background:#302b68;color:#d7d4ff;box-shadow:inset 0 0 0 1px rgba(199,196,255,.08)}html[data-theme=dark] .language-switch__target{color:#aeb9d1}html[data-theme=dark] .language-switch:hover .language-switch__target{background:#222d45;color:#fff}
