/* SEO Engine v0.8.4: independent from theme header/footer; heading fonts inherit Flatsome. */
.an-seo-main{background:#f7f4ee;color:#292938;padding:35px 18px 72px;font-family:inherit}
.an-seo-wrap{max-width:1180px;margin:0 auto}
.an-seo-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:12px;color:#716b7d;margin:0 0 22px}
.an-seo-breadcrumb a{color:#6554a5;text-decoration:none}.an-seo-breadcrumb a:hover{text-decoration:underline}
.an-seo-hero{padding:42px 43px 45px;border:1px solid #e5ddd1;background:linear-gradient(120deg,#fffcf6,#f3eee6);border-radius:20px;position:relative;overflow:hidden}
.an-seo-hero:before{content:'✺';position:absolute;top:-45px;right:25px;font-size:190px;color:#a69ad7;opacity:.13;line-height:1;pointer-events:none}
.an-seo-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:750;color:#31564e}
.an-seo-main h1,.an-seo-main h2,.an-seo-main h3,.an-seo-main h4{font-family:inherit;letter-spacing:normal}
.an-seo-hero h1{position:relative;font-size:clamp(30px,4.5vw,49px);line-height:1.12;color:#62519c;max-width:850px;margin:16px 0 16px;font-weight:750}
.an-seo-hero p{color:#4f5058;line-height:1.75;max-width:775px;font-size:16px}
.an-seo-hero-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px;position:relative}
.an-seo-button{display:inline-flex;padding:12px 18px;color:#fff!important;background:#6555ab;border:1px solid #6555ab;border-radius:30px;text-decoration:none!important;font-size:13px;font-weight:750;align-items:center}
.an-seo-button:hover{background:#51428a}.an-seo-button-secondary{background:transparent;color:#62519c!important;border-color:#d4cbe6}
.an-seo-button-secondary:hover{background:#f4f0fb}
.an-seo-section{padding:31px 34px;margin-top:20px;background:#fffefa;border:1px solid #e9e0d5;border-radius:17px}
.an-seo-section h2{font-size:clamp(23px,3vw,30px);font-weight:750;color:#6554a5;line-height:1.25;margin:0 0 16px}
.an-seo-section h3{font-size:20px;color:#305a51;margin:21px 0 13px}
.an-seo-section p,.an-seo-section li{font-size:14px;line-height:1.85;color:#4d5654;margin:0 0 14px}
.an-seo-section ol{padding-left:1.25em}.an-seo-section li{padding-left:4px}
.an-seo-info{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:34px}
.an-seo-facts{margin:0;padding:6px 19px;background:#f7f4ee;border-radius:15px;align-self:start}
.an-seo-facts>div{padding:13px 2px;border-bottom:1px solid #e7ded1}
.an-seo-facts>div:last-child{border-bottom:0}
.an-seo-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6c6d72}
.an-seo-facts dd{margin:4px 0 0;font-size:14px;font-weight:700;color:#213f3c}
.an-seo-glyph-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:18px}
.an-seo-glyph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:140px;padding:13px 6px;border-radius:13px;border:1px solid #e7e3dd;background:#fff;text-align:center}
.an-seo-glyph-char{font-family:'Noto Sans Javanese','Noto Sans Sundanese','Noto Sans Balinese','Noto Sans Batak','Noto Sans Buginese','Noto Sans Rejang','Noto Sans Kawi','Noto Serif Makasar',sans-serif;font-size:44px;line-height:1.5;overflow-wrap:anywhere;color:#244f4a}
.an-seo-glyph strong{font-size:12px;color:#584a86;overflow-wrap:anywhere}
.an-seo-glyph small{font-size:10px;color:#8b8b90}
.an-seo-doc-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:16px 0}
.an-seo-doc-list span{border:1px solid #e6dccd;background:#f7f4ee;border-radius:11px;text-align:center;padding:11px 3px;font-size:12px;font-weight:750;color:#305851}
.an-seo-source-list{padding-left:1.1em}.an-seo-source-list a{color:#6554a5}.an-seo-source-list small{display:block;color:#85818a;margin-bottom:9px}
.an-seo-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.an-seo-related-grid a{background:#f7f4ef;border:1px solid #e7dfd5;border-radius:12px;padding:14px;color:#55468f;text-decoration:none;font-weight:700;font-size:13px}
.an-seo-related-grid a:hover{background:#eee9f7}
.an-seo-bottom-ornament{margin:38px 0 0;height:18px;background:url('museum-divider.svg') repeat-x left top/240px 18px;opacity:.9}
.an-seo-disclaimer{font-size:12px!important;background:#fff6e9;border:1px solid #f0dbc0;border-radius:12px;padding:15px}
/* The original JS application can be reused on SEO converter pages without
   outputting the second hero, 5 navigation cards, or other unrelated sections. */
.an-seo-app-embed{min-width:0;margin:25px 0 15px}
.an-seo-app-embed #an-root.an-museum-theme{--an-bg:transparent;background:transparent;max-width:100%;min-height:0;box-shadow:none;border:0;border-radius:0;overflow:visible;margin:0}
.an-seo-app-embed #an-root.an-museum-theme,.an-seo-app-embed #an-root.an-museum-theme .an-container{background:transparent!important}
.an-seo-app-embed #an-root .an-hero,
.an-seo-app-embed #an-root .an-quick-links,
.an-seo-app-embed #an-root .an-stats,
.an-seo-app-embed #an-root .an-end-note,
.an-seo-app-embed #an-root .an-section:not([data-section="konverter"]){display:none!important}
.an-seo-app-embed #an-root .an-container{padding:0!important}
.an-seo-app-embed #an-root .an-section[data-section="konverter"]{display:block!important;margin:0}
.an-seo-app-embed #an-root .an-heading{display:none!important}
.an-seo-app-embed #an-root .an-converter{margin-top:18px}
/* Internal links under main shortcode page. */
.an-seo-hub-links{background:#f7f4ee;padding:36px 18px 55px;clear:both}
.an-seo-hub-inner{max-width:1180px;margin:0 auto}
.an-seo-hub-links h2{font-family:inherit;font-size:30px;color:#62519c;margin:0 0 9px}
.an-seo-hub-links p{color:#5b605f;line-height:1.6;margin:0 0 24px}
.an-seo-hub-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.an-seo-hub-grid a{min-height:93px;border:1px solid #e9e0d5;background:#fffdfa;border-radius:14px;padding:17px;text-decoration:none;display:flex;flex-direction:column;gap:5px}
.an-seo-hub-grid a strong{font-size:16px;color:#6554a5}
.an-seo-hub-grid a small{font-size:12px;color:#69736f}
.an-seo-hub-sitemap{font-size:12px;margin:17px 0 0!important}
@media(max-width:900px){.an-seo-glyph-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.an-seo-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.an-seo-main{padding:20px 12px 45px}.an-seo-hero{padding:30px 20px}.an-seo-section{padding:22px 16px}.an-seo-info{grid-template-columns:1fr;gap:17px}.an-seo-glyph-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.an-seo-glyph{min-height:115px}.an-seo-glyph-char{font-size:35px}.an-seo-doc-list{grid-template-columns:repeat(4,minmax(0,1fr))}.an-seo-related-grid{grid-template-columns:1fr 1fr}.an-seo-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.an-seo-hub-links h2{font-size:25px}.an-seo-app-embed #an-root .an-section[data-section="konverter"]{display:block!important}}


/* v0.8.4 — server-rendered character details without the heavy catalog application */
.an-seo-glyph-button{font-family:inherit;cursor:pointer;width:100%;appearance:none;-webkit-appearance:none;transition:border-color .16s,box-shadow .16s,transform .16s}
.an-seo-glyph-button:hover{border-color:#ab9acb;box-shadow:0 6px 18px rgba(72,51,127,.12);transform:translateY(-2px)}
.an-seo-glyph-button:focus-visible{outline:3px solid #8a73ca;outline-offset:3px}
.an-seo-character-dialog{border:0;border-radius:22px;padding:0;width:min(430px,calc(100vw - 32px));max-height:min(90dvh,760px);overflow:auto;color:#29463f;background:#fff;box-shadow:0 28px 75px rgba(12,29,31,.23);position:fixed;margin:auto}
.an-seo-character-dialog::backdrop{background:rgba(12,33,31,.72)}
.an-seo-dialog-inner{position:relative;padding:26px 27px 24px;text-align:center}
.an-seo-dialog-close{position:absolute;top:10px;right:10px;border:0;background:#f1f3ee;border-radius:50%;width:32px;height:32px;line-height:1;color:#36554e;font:inherit;font-size:22px;cursor:pointer;display:grid;place-items:center;padding:0}
.an-seo-dialog-close:hover{background:#e5e8e2}
.an-seo-dialog-eyebrow{display:block;margin:7px 0 13px;color:#647b73;font-size:12px;letter-spacing:.05em}
.an-seo-dialog-glyph{display:grid;place-items:center;min-height:145px;background:#f3f5ef;border-radius:18px;font-family:'Noto Sans Javanese','Noto Sans Sundanese','Noto Sans Balinese','Noto Sans Batak','Noto Sans Buginese','Noto Sans Rejang','Noto Sans Kawi','Noto Serif Makasar',sans-serif;font-size:clamp(70px,12vw,110px);line-height:1.65;color:#23504a;padding:10px;overflow-wrap:anywhere}
.an-seo-character-dialog h2{font-family:inherit!important;font-size:27px!important;color:#6653a8!important;margin:12px 0 18px!important;line-height:1.2!important}
.an-seo-dialog-facts{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px 14px;text-align:left;font-size:13px;margin:0 0 22px}
.an-seo-dialog-facts dt{color:#84938c;text-transform:uppercase;font-size:12px;line-height:1.5}
.an-seo-dialog-facts dd{color:#35534b;margin:0;overflow-wrap:anywhere;line-height:1.5}
.an-seo-dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.an-seo-dialog-actions button{font:inherit;border-radius:11px;min-height:42px;padding:10px 12px;font-size:12.5px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.35;width:100%}
.an-seo-dialog-primary{background:#705cb5;color:white;border:1px solid #705cb5}
.an-seo-dialog-primary:hover{background:#5c4c96}
.an-seo-dialog-secondary{background:white;color:#164d45;border:1px solid #705cb5}
.an-seo-dialog-secondary:disabled{color:#8a9290;border-color:#d6d7d8;cursor:not-allowed}
.an-seo-dialog-feedback{color:#4e635b;font-size:12px;margin:10px 0 0;min-height:1.2em}
@media(max-width:680px){.an-seo-dialog-inner{padding:22px 18px}.an-seo-dialog-glyph{min-height:125px}.an-seo-dialog-facts{grid-template-columns:89px minmax(0,1fr);gap:8px}.an-seo-dialog-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.an-seo-dialog-actions button{font-size:12px;padding:10px 8px}}
@media(prefers-reduced-motion:reduce){.an-seo-glyph-button{transition:none}}


/* v0.8.5: compact modal. Fight Flatsome's global button dimensions explicitly.
   Dialog stays intrinsically sized: no scrollbar inside it on common screen sizes. */
.an-seo-character-dialog {
  width:min(408px,calc(100vw - 30px));
  max-width:calc(100vw - 30px);
  max-height:calc(100dvh - 24px);
  height:fit-content !important;
  min-height:0;
  padding:0;
  border:0;
  border-radius:16px;
  overflow:visible !important;
  box-sizing:border-box;
}
.an-seo-dialog-inner { padding:19px 22px 19px; }
.an-seo-character-dialog .an-seo-dialog-close,
.an-seo-character-dialog .an-seo-dialog-close:hover,
.an-seo-character-dialog .an-seo-dialog-close:focus {
  box-sizing:border-box !important;
  position:absolute;
  top:11px; right:11px;
  display:flex; align-items:center; justify-content:center;
  flex:0 0 30px !important;
  width:30px !important; min-width:30px !important; max-width:30px !important;
  height:30px !important; min-height:30px !important; max-height:30px !important;
  aspect-ratio:1/1;
  margin:0 !important; padding:0 !important;
  border:0 !important;
  border-radius:10px !important;
  line-height:1 !important; font-size:20px !important;
  background:#f1f0ed; color:#31524b;
  box-shadow:none !important; transform:none !important;
  text-indent:0; letter-spacing:normal;
}
.an-seo-character-dialog .an-seo-dialog-close:hover { background:#e9e5f0; }
.an-seo-character-dialog .an-seo-dialog-close:focus-visible {outline:2px solid #705cb5;outline-offset:3px}
.an-seo-dialog-eyebrow { margin:2px 32px 12px; font-size:11px; line-height:1.4; }
.an-seo-dialog-glyph { min-height:124px; font-size:clamp(64px,9vw,90px);line-height:1.3;padding:6px; border-radius:13px; }
.an-seo-character-dialog h2 {font-size:24px!important;line-height:1.15!important;margin:11px 0 15px!important}
.an-seo-dialog-facts {grid-template-columns:100px minmax(0,1fr);gap:6px 10px;font-size:12px;line-height:1.35;margin:0 0 17px}
.an-seo-dialog-facts dt,.an-seo-dialog-facts dd {font-size:12px;line-height:1.35}
.an-seo-dialog-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;}
.an-seo-character-dialog .an-seo-dialog-actions button {
  box-sizing:border-box; display:flex;align-items:center;justify-content:center;
  width:100%; min-width:0;min-height:42px; height:auto;
  padding:9px 8px; margin:0 !important;
  border-radius:10px!important;
  white-space:normal;line-height:1.3;font-size:12px;font-weight:750;text-align:center;
}
.an-seo-dialog-feedback {min-height:0;margin:8px 0 0;line-height:1.35}
.an-seo-dialog-feedback:empty { display:none }
.an-seo-button {border-radius:10px}
@media (max-width:600px) {
 .an-seo-character-dialog {width:min(390px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
 .an-seo-dialog-inner {padding:17px 16px 17px}
 .an-seo-dialog-glyph {min-height:112px;font-size:72px}
 .an-seo-dialog-facts {grid-template-columns:90px minmax(0,1fr)}
 .an-seo-character-dialog .an-seo-dialog-actions button {padding:8px 5px;font-size:11px}
}
@media(max-height:640px) {
 .an-seo-dialog-inner {padding-top:14px;padding-bottom:13px}
 .an-seo-dialog-eyebrow {margin-top:0;margin-bottom:7px}
 .an-seo-dialog-glyph {min-height:100px;font-size:74px;padding:3px}
 .an-seo-character-dialog h2 {margin:7px 0 10px!important;font-size:23px!important}
 .an-seo-dialog-facts {gap:4px 9px;margin-bottom:12px}
 .an-seo-character-dialog .an-seo-dialog-actions button {min-height:37px;padding:7px 7px}
}
@media(max-height:470px) {
 .an-seo-dialog-inner {padding:10px 13px}
 .an-seo-dialog-glyph {min-height:64px;font-size:50px}
 .an-seo-dialog-eyebrow {margin-bottom:3px}
 .an-seo-character-dialog h2 {margin:5px 0 7px!important;font-size:19px!important}
 .an-seo-dialog-facts {gap:2px 8px;margin-bottom:8px}
 .an-seo-character-dialog .an-seo-dialog-actions button {min-height:31px;padding:5px 4px}
}

/* v0.8.5: centred, compact direction selector + script choices in SEO converters */
.an-seo-app-embed {margin:14px 0 9px}
.an-seo-app-embed #an-root.an-museum-theme .an-conv-directions {
  box-sizing:border-box;
  display:flex; width:max-content; max-width:100%;
  justify-content:center;align-items:center;gap:4px;
  margin:1px auto 9px !important;
  padding:4px;
  border-radius:10px;
}
.an-seo-app-embed #an-root.an-museum-theme .an-dir-choice {
  border-radius:10px !important;
  padding:8px 15px; min-height:38px;
  font-size:12px;line-height:1.25;
}
.an-seo-app-embed #an-root.an-museum-theme .an-conv-smart-row {
  justify-content:center;align-items:center;gap:9px;
  margin:0 auto 12px !important;
}
.an-seo-app-embed #an-root.an-museum-theme .an-smart-toggle {
  border-radius:10px!important;
  min-height:34px;padding:6px 10px;
}
.an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs {
  display:flex!important;flex-wrap:wrap;justify-content:center;align-items:stretch;
  gap:9px;margin:0 auto 10px;padding:0;max-width:100%;
}
.an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs .an-script-tab {
  box-sizing:border-box;flex:0 1 calc((100% - 36px)/5);min-width:135px;
  padding:10px 7px;min-height:102px; border-radius:10px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
}
.an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs .an-script-tab .an-script {font-size:30px;line-height:1.35}
.an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs .an-script-tab strong {font-size:12px}
.an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs .an-script-tab small {font-size:10px}
.an-seo-app-embed #an-root.an-museum-theme .an-converter {margin:13px 0 13px;}
.an-seo-app-embed #an-root.an-museum-theme .an-action,
.an-seo-app-embed #an-root.an-museum-theme .an-pill,
.an-seo-app-embed #an-root.an-museum-theme .an-swap-dir,
.an-seo-app-embed #an-root.an-museum-theme .an-examples button,
.an-seo-app-embed #an-root.an-museum-theme .an-keyboard-card-toggle,
.an-seo-app-embed #an-root.an-museum-theme .an-keyboard-edit,
.an-seo-app-embed #an-root.an-museum-theme .an-keyboard-key {border-radius:10px!important;}
@media (max-width:870px) {
 .an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs .an-script-tab {flex-basis:calc((100% - 27px)/4);min-width:120px}
}
@media (max-width:600px) {
 .an-seo-app-embed #an-root.an-museum-theme .an-conv-directions {max-width:100%;gap:4px;margin-bottom:8px!important;}
 .an-seo-app-embed #an-root.an-museum-theme .an-dir-choice {padding:9px 9px;min-height:38px;font-size:11px}
 .an-seo-app-embed #an-root.an-museum-theme .an-conv-smart-row {gap:6px;margin-bottom:10px!important}
 .an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs {gap:8px}
 .an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs .an-script-tab {flex:0 1 calc((100% - 8px)/2);min-width:0;min-height:88px;padding:8px 6px}
 .an-seo-app-embed #an-root.an-museum-theme #an-conv-tabs .an-script-tab .an-script {font-size:26px}
}
