/* PixLab v6 — accessible bright UI; intentionally overrides dark v1-v5 tokens. */
:root{color-scheme:light;--bg:#f8f9fc;--surface:#ffffff;--panel:#ffffff;--panel2:#f2f4fa;--line:#e4e8f2;--fg:#172039;--muted:#64728d;--purple:#6955db;--blue:#4569da;--green:#168f72;--premium-stroke:rgba(69,82,121,.12);--pink:#d4557c}
html{background:#f8f9fc}body{background:#f8f9fc;color:#172039}a{color:#5149cf}a:hover{color:#2a259b}h1,h2,h3,h4,b,strong{color:inherit}.muted,.lead{color:#63718b}.eyebrow,.premium-section .eyebrow{color:#6150ca}
.header-wrap{background:rgba(255,255,255,.95);border-bottom:1px solid #e6e8f1;box-shadow:0 3px 20px rgba(46,57,92,.05)}.header-wrap .topbar{background:transparent;border:0}.header-wrap .mainnav a,.header-wrap .nav-actions .nav-link,.mainnav a,.nav-link{color:#52607a}.header-wrap .mainnav a:hover,.header-wrap .nav-actions a:hover{color:#3326a6}.brand,.premium-brand,.brand:hover{color:#151c32}.premium-brand small{color:#887fd0}.brand-dot{color:#6958da}
.mobile-menu-btn{background:white;border-color:#d9dff0}.mobile-menu-btn span{background:#33415c}
.button,.button.primary-glow{color:#fff!important;background:linear-gradient(120deg,#6854df,#4b75ec);box-shadow:0 9px 22px rgba(72,73,191,.15);border-color:transparent}.button.outline,.button.ghost,.soft-button{background:white;color:#493bb7!important;border:1px solid #dce1ef;box-shadow:none}.button:hover{filter:brightness(1.03)}.button.outline:hover,.button.ghost:hover{background:#f6f5fe}
.premium-home{background:#f8f9fc}.premium-hero,.hero{background:radial-gradient(circle at 77% 16%,#ebe7ff 0,transparent 35%),radial-gradient(circle at 5% 95%,#e5f4ff 0,transparent 45%),linear-gradient(145deg,#fff,#f5f7ff)}.premium-hero:before{opacity:.1}.hero-aurora{opacity:.15;filter:blur(95px)}.premium-hero-copy h1,.premium-section h2,.premium-comparison h2,.premium-cta h2{color:#1d2540}.premium-home em,.gradient-text{background:linear-gradient(110deg,#5c46ce,#3d8bc8);-webkit-background-clip:text;background-clip:text;color:transparent}.h1-mark{color:#6550d4}.hero-intro,.hero-sub,.hero-trust,.premium-hero-copy p{color:#5f6f8b}.premium-pill{background:#f0edff;color:#5142bf;border-color:#d9d1ff}.hero-trust i{color:#6950cd}.hero-scroll-line{color:#65738e}
.premium-preview{background:#fff;border:1px solid #dedff4;box-shadow:0 30px 75px rgba(46,55,118,.14)}.preview-microtext,.studio-preview-footer{color:#63718c}.metric-strip{background:white;border:1px solid #e6e8f0;box-shadow:0 18px 45px #46527712}.metric-strip>div{border-right:1px solid #e8eaf2}.metric-strip small,.section-meta,.premium-section-title>p{color:#64718b}.metric-symbol{color:#6255cc}
.feature-card,.pfeature,.panel,.tile,.auth-card,.price-card,.wiki-card,.merchant-item,.v4-admin,.kb-card,.template-card,.product-card,.premium-benefit{background:#fff;color:#1d2844;border:1px solid #e0e5ef;box-shadow:0 10px 30px rgba(37,48,88,.035)}.feature-card p,.pfeature p,.article-body p,.premium-section p,.tile p,.wiki-card p{color:#60708c}.pfeature h3,.feature-card h3{color:#1d2943}.big-feature{background:linear-gradient(135deg,#f3f0ff,#eaf5ff)}.feature-retouch{background:transparent}.feature-retouch .retouch-ring{box-shadow:0 0 65px #9287e130}.premium-section{background:#f8f9fc}.premium-section:nth-child(even){background:#fff}.premium-cta,.split-banner,.premium-comparison{background:linear-gradient(120deg,#f0edff,#e9f5ff);border-color:#dfe2f2;color:#19223b}.premium-cta p,.split-banner p{color:#596681}.section-meta{border-color:#e2e8f1}.pfeature-top{color:#6b7790}.draw-center{background:linear-gradient(140deg,#4b3bb4,#3c85ba);background-clip:text;-webkit-background-clip:text;color:transparent}
.footer,.premium-footer{background:#fff;border-top:1px solid #e1e6f0;color:#23304c}.foot-row a:not(.brand),.footer a,.footer-brand-col p,.foot-row p,.foot-bottom,.foot-row b,.footer-badge{color:#68738d}.foot-bottom{border-top:1px solid #e5e8f2}.footer .brand{color:#1b2542}
input:not([type=checkbox],[type=range],[type=color],[type=file]),select,textarea{background:#fff;border:1px solid #d6ddeb;color:#202c43}input:focus,select:focus,textarea:focus{outline:2px solid #b9affc;outline-offset:0;border-color:#7364dc!important}input::placeholder,textarea::placeholder{color:#8b98ad}label:not(.file-trigger,.upload-box,.checkline,.tool){color:#35445f}.hint{color:#6c7992}.data-table th,.data-table td{border-bottom:1px solid #e6eaf2}.data-table td,.data-table th{color:#3c4967}.data-table button,.inline-form button{background:#f1f2fa;color:#4f43b2;border-color:#d8dced}
.notice{background:#f1f5ff;color:#3e5178;border:1px solid #d7e0f7}.notice.error{background:#fff0f2;color:#8b3853;border-color:#f5cad4}.notice.success{background:#effbf6;color:#216c54;border-color:#b8e8d7}.legal-identity,.wiki-definition,.article-body .wiki-definition,.article-body .v5-annotated,.article-body .v4-kb-shot,.wiki-checklist{background:#fff;border-color:#dbe2f0;box-shadow:0 10px 24px #27345e08}.wiki-card,.wiki-check,.merchant-item{background:#fff;border-color:#dde3ef}.merchant-item p,.legal-identity p,.article-body .v5-annotated p{color:#60718c}.legal-missing{background:#fff6e8;border-color:#e9c488}.legal-missing strong{color:#9a6220}.legal-missing p{color:#866236}
/* Editor: light chrome, neutral canvas stage for contrast, no tool crowding */
.editor-shell,.editor-layout,.editor-panel,.tool-sidebar,.tool-dock,.editor-toolbar,.editor-topbar,.editor-side,.editor-footer,.editor-controls,.editor-workspace,.studio-shell,.pro-ui,.editor-intro,.editor-card{color:#202b43}.editor-shell,.editor-panel,.tool-sidebar,.tool-dock,.editor-toolbar,.editor-topbar,.editor-side,.editor-footer,.editor-controls,.editor-card{background:#fff;border-color:#e0e5ef}.editor-workspace,.canvas-area,.canvas-workspace,.editor-stage{background:#eef1f7!important}.editor-shell button:not(.button),.editor-panel button:not(.button),.tool-dock button:not(.button){color:#2e3b54;border-color:#dfe3ed}.editor-shell input,.editor-shell select{color:#202b43;background:#fff}
.pay-options .pay-method,.pay-method{background:#fff;color:#1c2947;border-color:#d6dff0}.modal-dialog,.modal{color:#202d48}.modal-dialog{background:#fff;border-color:#e0e6f0;box-shadow:0 38px 100px #1d2c4a26}
.seller-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin:35px 0}.seller-grid>.panel{margin:0;padding:30px;border-radius:20px}.seller-grid .panel h2{font-size:25px;margin:10px 0 20px}.seller-grid .panel p,.seller-grid li{color:#5e6b85;line-height:1.85}.seller-grid .panel ol{padding-left:25px}.seller-grid .notice{margin-top:22px}
@media(max-width:900px){.seller-grid{grid-template-columns:1fr}}@media(max-width:760px){.header-wrap .mainnav{background:#fff!important;border-color:#e3e7f0!important;box-shadow:0 24px 50px #25365a12}.header-wrap .mainnav a{color:#33415c}.seller-grid .panel{padding:23px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Deep compatibility overrides for inherited v1-v5 pages */
.price-card.featured{background:linear-gradient(160deg,#fff,#f2efff);border:1px solid #a9a1ed;box-shadow:0 12px 44px #6e61ca17}.price-card li,.price-card h2 small{color:#52617a}.price-card .price-separator{background:#e6e9f2}.price-card .price-top-tag{background:#6b54df;color:white}
.knowledge-shell{background:radial-gradient(ellipse at 18% 0,#f0ecff,transparent 32%),#f9faff}.kb-card,.faq-detail,.blog-card{background:#fff;border-color:#dfe4f0;box-shadow:0 9px 23px #2b417008}.kb-card h3,.blog-card h2,.article-body h2,.faq-detail summary{color:#1d2a46}.kb-card p,.blog-card p,.article-lead,.article-body,.faq-detail p,.faq-detail .faq-answer{color:#596a85}.faq-detail[open]{background:#faf9ff;border-color:#c8bffb}.faq-detail p{border-color:#e2e7f0}.faq-num,.faq-plus{color:#6453d8}.article-body a{color:#5143ba}.editor-tip{background:#f0eeff;border-left-color:#6c55d7}.editor-tip strong{color:#4b3baa}.knowledge-feature p{color:#54647e}
.blog-card-cover.cover-0{background:linear-gradient(120deg,#d8cbff,#baa9f4)}.blog-card-cover.cover-1{background:linear-gradient(125deg,#b9edf0,#93cadf)}.blog-card-cover.cover-2{background:linear-gradient(135deg,#f3cade,#dba4cd)}.blog-card-cover.cover-3{background:linear-gradient(130deg,#dbe8ff,#f2d6b1)}.blog-card-cover b{color:#4c3e8d}.blog-card-cover b span{color:#fff}.blog-cover.generated{background:linear-gradient(130deg,#e9e1ff,#dbedff)}.article-next{color:#6651cf}
.premium-footer{background:#fff;border-color:#e0e6f0}.premium-footer .foot-row b{color:#25314d}.premium-footer .foot-row a:not(.brand){color:#66738d}.premium-footer .foot-row a:hover{color:#4532bb}.premium-footer .foot-bottom{border-color:#e7eaf1;color:#69778e}.premium-footer .star{color:#6456cd}
.premium-comparison p,.premium-cta p{color:#5d6b84}.compare-control label,.compare-control label span{color:#4e5a7a}.premium-comparison .eyebrow,.premium-cta .eyebrow{color:#6756cd}.premium-cta{border:1px solid #e2ddf6}.premium-cta .cta-sphere{opacity:.2}
.v4-panel,.v4-template{background:#fff;color:#23304b;border-color:#e0e6f1}.v4-guide,.v4-extra p,.v4-extra li,.v4-kb-shot figcaption{color:#62738d}.v4-guide strong{color:#24314e}.v4-admin-links a,.v4-code{background:#f5f6fe;border-color:#dce2ee;color:#5145b1}.v4-kb-shot{background:#fff;border-color:#dce3f0}.v4-template img{background:repeating-conic-gradient(#e6e9f2 0% 25%,#f6f7fb 0% 50%) 50%/16px 16px}.article-body .v5-annotated figcaption,.article-body .v4-kb-shot figcaption{color:#667792}.wiki-check{background:#edfaf5;border-color:#b9e5d4}.wiki-check strong{color:#216e56}.wiki-check p{color:#49766a}.wiki-pill{color:#6251c6}
.editor-app{background:#f5f6fa!important;color:#25334d}.editor-app .editor-toolbar,.editor-app .studio-sidebar,.editor-app .studio-right,.editor-app .canvas-top,.editor-app .canvas-bottom{background:#fff!important;color:#31405f!important;border-color:#dfe5ef!important}.editor-app .studio-layout{background:#f3f5fa}.editor-app .canvas-area{background:#f0f2f7!important}.editor-app .studio-sidebar,.editor-app .studio-right{box-shadow:0 0 0 1px #e2e6f0 inset}.editor-app .studio-sidebar .tool{background:#f8f9fc;color:#27334e;border-color:#e3e7ef}.editor-app .studio-sidebar .tool.active{background:#eeeaff;color:#4d3cba;border-color:#a9a0e8}.editor-app .studio-sidebar .tool span{color:inherit}.editor-app .canvas-shell{box-shadow:0 16px 48px #48577d26}.editor-app .canvas-bottom{color:#5b6b85!important}.editor-app .editor-name strong{color:#202f4b}
@media(max-width:760px){.premium-hero-copy h1{font-size:clamp(46px,10.5vw,64px)}.premium-preview{transform:none}.premium-hero{min-height:auto}}

.payment-consent{margin:12px 0 20px;display:block!important;color:#45536e!important;font-size:12px!important;line-height:1.65}.payment-consent input{vertical-align:middle;margin-right:7px}.payment-consent a{text-decoration:underline}


/* -----------------------------------------------------------------------
 PixLab v6.1 — readability / white-theme compatibility repair.
 Loaded AFTER v1–v5 styles. Only presentation is changed; no JS/PHP logic.
 ----------------------------------------------------------------------- */
:root {
  --bg:#f8f9fc; --surface:#fff; --panel:#fff; --panel2:#f1f4fa;
  --fg:#17233c; --muted:#4a5a74; --line:#dce3ee;
  --purple:#6251cc; --blue:#315ecc;
}
html {color-scheme:light; overflow-x:clip;}
body {
  font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size:15px; line-height:1.65; letter-spacing:0;
  background:#f8f9fc; color:#1d2a43;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip;
}
/* High-contrast writing defaults; excludes intentional white-on-color buttons. */
main h1,main h2,main h3,main h4,
.knowledge-shell h1,.knowledge-shell h2,.knowledge-shell h3,
.section-heading h1,.section-heading h2,
.inside h1,.inside h2,.inside h3 {
  color:#17233c;
  font-weight:750;
  letter-spacing:-.035em;
  line-height:1.17;
  text-wrap:balance;
}
main h1,main h2,main h3,main h4{overflow-wrap:break-word;}
main p,main li,main dd,main figcaption,.article-body,.article-lead,
.knowledge-shell .kb-hero p,.knowledge-shell .blog-card p,
.inside .muted,.lead {
  color:#45556f;
  opacity:1;
}
main p, main li {line-height:1.75;}
main .eyebrow,main .kb-type,main .wiki-pill {
  color:#5942b8;
  opacity:1;
  font-weight:750;
}
main a:not(.button):not(.blog-card):not(.kb-card):not(.tool){text-decoration-thickness:1px;text-underline-offset:3px;}
main a:hover:not(.button){color:#352b92;}
::selection { background:#6655ce; color:#fff; }

/* The main regression: v3's white title remained on v6's light background. */
.knowledge-shell .kb-hero {max-width:1010px;padding:44px 0 52px;}
.knowledge-shell .kb-hero h1,
.knowledge-shell .article-main h1,
.knowledge-shell .blog-article h1 {
  color:#15213b !important;
  -webkit-text-fill-color:#15213b;
  background:none!important;
  background-clip:initial;
  -webkit-background-clip:initial;
  text-shadow:none;
  font-size:clamp(36px,4.45vw,65px);
  font-weight:800;
  letter-spacing:-.055em;
  line-height:1.14;
  overflow-wrap:normal;
  word-break:normal;
  max-width:100%;
  margin:16px 0 20px;
}
.knowledge-shell .kb-hero h1 .shimmer-dot,
.knowledge-shell .kb-hero .shimmer-dot {
  color:#6855da!important;
  -webkit-text-fill-color:#6855da!important;
}
.knowledge-shell .kb-hero p,
.knowledge-shell .article-lead {
  color:#455570!important;
  font-size:16px;
  line-height:1.75;
  font-weight:400;
  max-width:760px;
  margin:12px 0 20px;
}
.knowledge-shell .kb-hero .eyebrow {color:#5944bd;font-size:12px;letter-spacing:2.1px;}
.knowledge-shell .bread,.knowledge-shell .bread span{color:#596a83;font-size:12px;}
.knowledge-shell .bread a{color:#5144ab;}
.knowledge-shell .bread a:hover{color:#352991;}

/* Search should be a light, full-height, readable control, not a dark bar. */
.knowledge-shell .kb-search-row {
  display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;
  width:100%;max-width:900px;margin-top:28px;
}
.knowledge-shell .kb-search-row .search-control {
  display:flex;align-items:center;gap:10px;flex:1 1 380px;
  min-width:0;max-width:650px;min-height:56px;
  flex-direction:row;
  padding:0 17px;background:#fff!important;
  border:1px solid #cbd4e5!important;border-radius:13px;
  color:#596b84!important;
  box-shadow:0 4px 15px rgba(29,45,79,.035);
}
.knowledge-shell .search-control span{color:#6353b9;font-size:23px;line-height:1;}
.knowledge-shell .search-control input,
.knowledge-shell .search-control input[type="search"] {
  background:transparent!important;color:#1b2942!important;
  -webkit-text-fill-color:#1b2942!important;
  border:0!important;box-shadow:none!important;
  outline:none!important;outline-offset:0;
  font-family:inherit;font-size:15px!important;
  height:52px;min-height:0;min-width:0;
  box-sizing:border-box;padding:0!important;line-height:1.4;
}
.knowledge-shell .search-control input::placeholder,
.knowledge-shell .search-control input[type="search"]::placeholder {
  color:#69778f!important;-webkit-text-fill-color:#69778f!important;
  opacity:1!important;
}
.knowledge-shell .search-control:focus-within {
  border-color:#7666d7!important;
  box-shadow:0 0 0 3px rgba(107,87,218,.13);
}
.knowledge-shell .kb-search-row .button {
  flex:0 0 auto;min-height:56px;padding:0 26px;
  font-size:14px;font-weight:700;line-height:1.25;
  display:inline-flex;justify-content:center;align-items:center;
}
.knowledge-shell .kb-search-row>span {align-self:center;color:#5d6d83;font-size:13px;}

/* Article cards, FAQ and technical pages: consistent rhythm and contrast. */
.knowledge-shell .blog-card,.knowledge-shell .kb-card,
.knowledge-shell .faq-detail,.knowledge-shell .wiki-card {
  background:#fff;color:#1d2a43;border:1px solid #dce4ef;
  box-shadow:0 10px 28px rgba(35,54,92,.055);
}
.knowledge-shell .blog-card-content{padding:25px;}
.knowledge-shell .blog-card h2 {color:#18253f;font-size:21px;line-height:1.35;font-weight:750;}
.knowledge-shell .blog-card p,.knowledge-shell .kb-card p,
.knowledge-shell .faq-detail p,.knowledge-shell .faq-detail .faq-answer,
.knowledge-shell .article-body p,.knowledge-shell .article-body li {
  color:#43536c;font-size:15px;line-height:1.8;
}
.knowledge-shell .blog-card .kb-arrow {color:#4b3bb0;font-size:13px;font-weight:700;}
.knowledge-shell .blog-card .kb-type,.knowledge-shell .kb-type {color:#5b47bb;font-size:11px;}
.knowledge-shell .blog-grid{gap:22px;}
.knowledge-shell .article-body{color:#3f5069;font-size:16px;line-height:1.85;}
.knowledge-shell .article-body h2{color:#1b2942;font-size:clamp(22px,2.6vw,30px);line-height:1.3;}
.knowledge-shell .article-body h3{color:#25324c;font-size:20px;}
.knowledge-shell .article-body figcaption{color:#52637c!important;font-size:13px!important;line-height:1.65;}
.knowledge-shell .faq-detail summary{color:#1b2942;font-size:16px;font-weight:700;line-height:1.5;}
.knowledge-shell .faq-detail[open]{background:#fff;border-color:#b7aeea;}

/* Legacy page content (tariffs, registration, converter, settings). */
.container.inside>h1,.container.inside .section-heading h1,
.container.inside .section-heading h2{color:#19253e;}
.container.inside p,.container.inside li,
.v4-panel p,.v4-panel li,.v4-extra p,.v4-extra li,
.price-card p,.price-card li,.auth-card p,.auth-card label,
.legal p,.legal li,.seller-grid .panel p,.seller-grid li {
  color:#455570;font-size:14px;line-height:1.75;
}
.inside .muted,.inside .hint,.inside .smalltext{color:#4f5d75;opacity:1;}
.price-card,.auth-card,.panel,.v4-panel{background:#fff;color:#1e2b45;}
.price-card h2,.price-card h3,.auth-card h1{color:#1b2844;}
.price-card h2 small{color:#52617a;}
input:not([type=checkbox],[type=range],[type=color],[type=file]),select,textarea{
  color:#1c2b43;background:#fff;border-color:#c9d3e4;
  font-family:inherit;font-size:14px;
}
input::placeholder,textarea::placeholder{color:#66758e;opacity:1;}
label:not(.file-trigger,.upload-box,.checkline,.tool){color:#2f3e58;}
.footer,.premium-footer,.footer .foot-row{color:#465771;}
.footer .foot-row a:not(.brand),.premium-footer .foot-row a:not(.brand),
.footer .foot-row p,.footer .foot-bottom{color:#4b5c75;}
.premium-footer .foot-row b{color:#26334e;}

/* Desktop navigation no longer runs off the right-hand edge. */
.header-wrap .topbar {box-sizing:border-box;max-width:100%;}
.header-wrap .premium-brand{flex-shrink:0;}
.header-wrap .nav-actions{min-width:0;flex-shrink:0;}
.header-wrap .mainnav a,.header-wrap .nav-actions .nav-link{
  color:#36465f;font-family:inherit;font-size:13px;font-weight:650;
}
.header-wrap .mainnav a:hover,.header-wrap .nav-actions .nav-link:hover{color:#4f3bb0;}
@media (min-width:1131px) and (max-width:1750px) {
  .header-wrap .topbar {
    display:grid;grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:"brand actions" "nav nav";
    align-items:center;column-gap:18px;row-gap:0;
    height:auto;min-height:106px;
    padding:10px clamp(18px,3vw,44px) 7px;
  }
  .header-wrap .premium-brand{grid-area:brand;justify-self:start;}
  .header-wrap .mainnav{
    grid-area:nav;display:flex;position:static;
    align-items:center;justify-content:center;gap:clamp(10px,1.4vw,24px);
    width:100%;max-width:100%;white-space:normal;
  }
  .header-wrap .mainnav a{font-size:13px;white-space:nowrap;padding:7px 0;}
  .header-wrap .nav-actions{grid-area:actions;justify-self:end;}
  .header-wrap .mobile-menu-btn{display:none;}
}
@media (max-width:1130px) {
  .header-wrap .topbar {display:flex;gap:12px;flex-wrap:nowrap;max-width:100%;}
  .header-wrap .premium-brand{min-width:0;}
  .header-wrap .nav-actions{margin-left:auto;}
  .header-wrap .mobile-menu-btn{display:flex;flex-shrink:0;}
  .header-wrap .mainnav{
    background:#fff!important;border:1px solid #dde3ef!important;
    color:#2e3c57;border-radius:16px;
    max-height:calc(100dvh - 90px);overflow-y:auto;
    white-space:normal;box-shadow:0 18px 40px rgba(25,39,76,.14);
  }
  .header-wrap .mainnav a{color:#2e3d56;font-size:14px;padding:11px 13px;}
  .header-wrap .mainnav a:hover{background:#f2efff;color:#4531ab;}
}
@media (max-width:760px) {
  body{font-size:14px;}
  .knowledge-shell {padding-top:24px;}
  .knowledge-shell .kb-hero {padding:22px 0 28px;}
  .knowledge-shell .kb-hero h1 {font-size:clamp(34px,8vw,46px);letter-spacing:-.045em;}
  .knowledge-shell .kb-hero p{font-size:15px;line-height:1.65;}
  .knowledge-shell .kb-search-row{flex-direction:column;align-items:stretch;gap:11px;}
  .knowledge-shell .kb-search-row .search-control{
    flex:auto;max-width:none;width:100%;min-height:52px;
  }
  .knowledge-shell .kb-search-row .button{width:100%;min-height:49px;}
  .knowledge-shell .blog-card-content{padding:19px;}
  .knowledge-shell .blog-card h2{font-size:19px;}
  .header-wrap .premium-brand{font-size:21px;}
  .header-wrap .nav-actions a.nav-link{font-size:12px;}
  .footer .foot-row a:not(.brand){font-size:13px;}
}
@media (max-width:390px) {
  .header-wrap .topbar{gap:7px;}
  .header-wrap .nav-actions{gap:6px;}
  .header-wrap .premium-brand{font-size:19px;}
  .header-wrap .premium-brand .brandmark{width:32px;height:32px;}
}
/* Light educational cards keep headings readable rather than dark-on-dark. */
.premium-home .knowledge-feature.kf-purple {
  background:linear-gradient(135deg,#f2edff,#e9e7ff);
  border:1px solid #dcd5fb;
}
.premium-home .knowledge-feature.kf-blue {
  background:linear-gradient(135deg,#ecf6ff,#e4f0ff);
  border:1px solid #d4e6fa;
}
.premium-home .knowledge-feature.kf-amber {
  background:linear-gradient(135deg,#fff5ed,#fcebe4);
  border:1px solid #f1ddce;
}
.premium-home .knowledge-feature h3{color:#1d2942;}
.premium-home .knowledge-feature p{color:#495771;font-size:14px;}
.premium-home .knowledge-feature .kf-number{color:#6351af;}
.premium-home .knowledge-feature .kf-icon{color:#5744b2;}
.premium-home .knowledge-feature .kf-more{color:#503ba5;}

/* Do not alter the editor's compact tool density while improving labels. */
.editor-app{font-size:13px;}
.editor-app .studio-sidebar,.editor-app .studio-right{color:#283651;}
.editor-app .sidebar-title,.editor-app .canvas-bottom{color:#45556c!important;}
.editor-app .tool,.editor-app label{font-size:12px;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
