/* One consistent header for every public tool, including local-only editors. */
body.tools-workshop.ymb-tools-shell{--tool-shell-width:1148px}
body.ymb-tools-shell header.tools-header{
  display:flex;position:relative;align-items:center;justify-content:space-between;
  width:min(var(--tool-shell-width),calc(100% - 40px));max-width:var(--tool-shell-width);
  min-height:88px;height:auto;margin:0 auto;padding:18px 0;gap:16px;line-height:1.5;
}
body.ymb-tools-shell header.tools-header::after{display:none}
body.ymb-tools-shell header.tools-header>a.brand{display:flex;flex:0 1 auto;gap:8px;width:auto;min-width:0;max-width:100%;margin:0}
body.ymb-tools-shell header.tools-header>a.brand>img.brand-icon{width:38px;height:38px}
body.ymb-tools-shell header.tools-header>a.brand>img.brand-lettering{width:200px;height:auto;max-width:54vw}
body.ymb-tools-shell header.tools-header>.tools-nav-pill{display:none}
body.ymb-tools-shell header.tools-header>.ymb-header-actions{display:flex;flex:none;float:none;align-items:center;gap:10px;width:auto;min-width:0;min-height:44px;height:auto;max-width:none;margin:0;padding:0}
body.ymb-tools-shell header.tools-header>.ymb-header-actions>.premium-account-button{display:none!important}
body.ymb-tools-shell header.tools-header .nav-account-primary{width:104px;min-width:0;min-height:44px;height:auto;margin:0;padding:10px 12px;font-size:13px;line-height:1.4}
body.ymb-tools-shell header.tools-header .ymb-menu-toggle{display:grid;flex:none;width:44px;height:44px;margin:0;padding:0;gap:5px;border-radius:8px;touch-action:manipulation}
body.ymb-tools-shell>.ymb-language-bar{position:absolute;float:none;z-index:50;top:22px;right:calc(max(20px,(100vw - var(--tool-shell-width))/2) + 174px);left:auto;width:140px;height:44px;margin:0;padding:0}
body.ymb-tools-shell .ymb-language-switch{position:relative}
body.ymb-tools-shell .ymb-language-bar>.ymb-language-switch>nav{position:absolute;top:calc(100% + 8px);right:0;max-height:min(360px,calc(100dvh - 150px));overflow:auto}
body.ymb-tools-shell header.tools-header>.ymb-site-menu{
  position:fixed;z-index:70;top:var(--tools-menu-top,100px);right:max(16px,calc((100vw - var(--tool-shell-width))/2));
  display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;align-content:start;
  width:min(340px,calc(100vw - 32px));height:auto;max-height:var(--tools-menu-space,calc(100dvh - 120px));
  margin:0;padding:8px;gap:4px;overflow:auto;overscroll-behavior:contain;border-radius:12px;
  border:1px solid #9fa878;background:#1b3027;box-shadow:0 16px 36px #071b1580;
}
body.ymb-tools-shell header.tools-header>.ymb-site-menu[hidden]{display:none!important}
body.ymb-tools-shell .ymb-site-menu>a,body.ymb-tools-shell .ymb-site-menu>.premium-account-button{
  display:flex;position:static;align-items:center;justify-content:flex-start;gap:10px;
  width:100%;height:auto;min-height:46px;margin:0;padding:11px 14px;border:0;border-radius:7px;
  background:transparent;box-shadow:none;color:#f5ecd4;font:600 14px/1.5 system-ui,sans-serif;white-space:normal;
}
body.ymb-tools-shell .ymb-site-menu>a:hover,body.ymb-tools-shell .ymb-site-menu>a[aria-current]{background:#304b37}
body.ymb-tools-shell .ymb-site-menu>.tools-menu-add{background:#486635;color:#fff2cb;font-weight:750}
body.ymb-tools-shell .ymb-site-menu>a.ymb-key-link::before{display:none}
body.ymb-tools-shell .ymb-site-menu .premium-account-emblem{width:22px;height:22px;min-width:22px}
body.ymb-tools-shell .ymb-site-menu .premium-account-caption{display:block!important;max-width:none;font:inherit}
body.ymb-tools-shell .ymb-tools{padding-top:14px}
body.ymb-tools-shell .tk-hub .tk-hub-hero{display:grid!important;grid-template-columns:1.1fr 1fr;align-items:center;gap:24px;min-height:0;padding:26px!important}
body.ymb-tools-shell .tk-hub-hero .tools-eyebrow{display:none}
body.ymb-tools-shell .tk-hub-hero h1{font-size:clamp(28px,3.2vw,38px);line-height:1.2;margin:0 0 10px;letter-spacing:-.025em}
body.ymb-tools-shell .tk-hub-hero .tools-intro{margin:0;max-width:500px;font-size:14px;line-height:1.65}
body.ymb-tools-shell .tk-search{min-width:0}
body.ymb-tools-shell .tk-search-label{margin:0 0 8px;font-size:13px}
body.ymb-tools-shell .tk-search-bar{position:relative;min-width:0}
body.ymb-tools-shell #tkSearch{margin:0;max-width:none;min-height:48px;padding:10px 46px 10px 13px;font-size:16px}
body.ymb-tools-shell #tkSearch::-webkit-search-cancel-button{display:none}
body.ymb-tools-shell #tkClearSearch{position:absolute;right:5px;top:4px;display:grid;place-content:center;width:40px;height:40px;min-height:0;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:#f6e8c7;font:400 25px/1 system-ui,sans-serif}
body.ymb-tools-shell #tkClearSearch:hover{background:#ffffff12}
body.ymb-tools-shell .tk-group-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:12px;margin:20px 0 24px;padding:0}
body.ymb-tools-shell .tk-group-choices>button{display:flex;align-items:center;align-self:stretch;justify-content:flex-start;gap:12px;min-height:82px;height:100%;margin:0;padding:14px;text-align:left;line-height:1.4;border-radius:10px}
body.ymb-tools-shell .tk-group-choices>button[aria-pressed=true]{background:#354e31;border-color:#d9c18a;box-shadow:inset 0 -3px #c3ac76}
body.ymb-tools-shell .tk-category-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;color:#e5ce8c}
body.ymb-tools-shell .tk-category-icon svg{width:28px;height:28px}
body.ymb-tools-shell .tk-category-label{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
body.ymb-tools-shell .tk-category-label strong{font-size:15px;line-height:1.35;color:#fff0d2;overflow-wrap:normal;word-break:normal}
body.ymb-tools-shell .tk-category-label small{font-size:12px;line-height:1.4;color:#c5cfb7}
body.ymb-tools-shell .tk-tool-group{margin:0 0 24px;scroll-margin-top:20px}
body.ymb-tools-shell .tk-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 14px}
body.ymb-tools-shell .tk-results-heading h2{margin:0;font-size:22px;line-height:1.4}
body.ymb-tools-shell .tk-results-heading>span{flex:none;font-size:12px;line-height:1.5;color:#bfcaad}
body.ymb-tools-shell .tk-tool-group .tools-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
body.ymb-tools-shell .tk-hub .tk-tool-card{display:flex;align-self:stretch;flex-direction:column;gap:12px;min-height:180px;margin:0;padding:20px;border-radius:10px}
body.ymb-tools-shell .tk-card-heading{display:flex;align-items:center;gap:12px;min-width:0}
body.ymb-tools-shell .tk-card-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#a9c18512;border-radius:7px;color:#d5c790}
body.ymb-tools-shell .tk-card-icon svg{width:23px;height:23px}
body.ymb-tools-shell .tk-card-heading h3{margin:0;font-size:17px;line-height:1.4;letter-spacing:0}
body.ymb-tools-shell .tk-tool-card>p{margin:0;color:#c8d2bc;font-size:14px;line-height:1.6}
body.ymb-tools-shell .tk-tool-card .tool-card-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:10px;font-size:13px;line-height:1.5}
body.ymb-tools-shell .tk-tool-card:hover{border-color:#d3bc81;transform:none;background:#27412d}
body.ymb-tools-shell .tk-tool-card:focus-visible{outline:3px solid #f4d386;outline-offset:3px}
body.ymb-tools-shell .tk-hub .tools-owner-invite{margin:22px 0 0;font-size:13px;line-height:1.7}
body.ymb-tools-shell .tools-back{min-height:36px;margin-bottom:6px;line-height:1.5}
body.ymb-tools-shell .tk-tool-hero{padding:24px!important}
body.ymb-tools-shell .tk-tool-hero h1{margin:8px 0 12px;max-width:800px;font-size:clamp(27px,3.5vw,38px);line-height:1.2}
body.ymb-tools-shell .tk-panel{margin:20px auto 32px;padding:24px}
body.ymb-tools-shell .tk-panel label:not(.tk-check):not(.tk-file-button){margin:0;gap:7px;line-height:1.5}
body.ymb-tools-shell .tk-panel input:not([type=checkbox]):not([type=file]),body.ymb-tools-shell .tk-panel select,body.ymb-tools-shell .tk-panel textarea{margin:0;min-height:46px;padding:10px 12px}
body.ymb-tools-shell .tk-panel .tk-fields{gap:16px;margin:18px 0}
body.ymb-tools-shell .tk-panel textarea{margin:10px 0}
body.ymb-tools-shell .tk-panel .tk-actions{margin:16px 0;gap:12px}
body.ymb-tools-shell .tk-panel .tk-actions>.tools-button{margin:0;flex:0 1 auto}
body.ymb-tools-shell .tk-panel .tk-check{margin:14px 0;gap:10px}
body.ymb-tools-shell .tk-panel .tk-check span{font-size:14px;line-height:1.6}
@media(max-width:900px){
  body.ymb-tools-shell header.tools-header{display:grid;grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:44px 44px;gap:10px 12px;width:calc(100% - 32px);min-height:126px;padding:14px 0}
  body.ymb-tools-shell header.tools-header>a.brand{grid-row:1;grid-column:1 / -1;justify-self:start;max-width:calc(100% - 58px)}
  body.ymb-tools-shell header.tools-header>a.brand>img.brand-icon{width:32px;height:32px}
  body.ymb-tools-shell header.tools-header>a.brand>img.brand-lettering{width:min(50vw,190px);max-width:none}
  body.ymb-tools-shell header.tools-header>.ymb-header-actions{display:contents}
  body.ymb-tools-shell header.tools-header .ymb-menu-toggle{grid-row:1;grid-column:2;justify-self:end}
  body.ymb-tools-shell header.tools-header .nav-account-primary{grid-row:2;grid-column:2;justify-self:end;width:104px}
  body.ymb-tools-shell>.ymb-language-bar{top:68px;left:16px;right:auto;width:140px}
  body.ymb-tools-shell .ymb-language-bar>.ymb-language-switch>nav{left:0;right:auto;top:calc(100% + 8px)}
  body.ymb-tools-shell .ymb-tools{padding-top:12px}
  body.ymb-tools-shell .tk-tool-hero{padding:20px!important}
  body.ymb-tools-shell .tk-panel{padding:20px 16px}
  body.ymb-tools-shell .tk-tool-hero h1{font-size:clamp(24px,5.8vw,32px);overflow-wrap:normal;word-break:normal;hyphens:auto}
  body.ymb-tools-shell .tk-hub .tk-hub-hero{grid-template-columns:1fr;gap:18px;padding:20px!important}
  body.ymb-tools-shell .tk-group-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 22px}
  body.ymb-tools-shell .tk-group-choices>button{gap:9px;min-height:78px;padding:12px}
  body.ymb-tools-shell .tk-category-icon{width:26px;height:28px}
  body.ymb-tools-shell .tk-category-icon svg{width:24px;height:24px}
  body.ymb-tools-shell .tk-category-label strong{font-size:14px}
  body.ymb-tools-shell .tk-tool-group .tools-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ymb-tools-shell .tk-results-heading h2{font-size:20px}
}
@media(max-width:600px){body.ymb-tools-shell .tk-tool-group .tools-cards{grid-template-columns:1fr}body.ymb-tools-shell .tk-hub .tk-tool-card{padding:18px;min-height:0}body.ymb-tools-shell .tk-card-heading h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){body.ymb-tools-shell *{scroll-behavior:auto!important}}

body.ymb-tools-shell .ymb-site-menu .premium-account-offer-icon>svg{width:22px;height:22px;fill:none;stroke:#dbc785;stroke-width:1.65;stroke-linejoin:round}

body.ymb-tools-shell>.tools-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;width:min(var(--tool-shell-width),calc(100% - 40px));height:auto;min-height:0;margin:28px auto 0;padding:18px 0 24px;border-top:1px solid #9eac7540;background:transparent;box-shadow:none;font:500 12px/1.6 system-ui,sans-serif;color:#bbc9af}
body.ymb-tools-shell>.tools-footer>nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;width:auto;margin:0;padding:0}
body.ymb-tools-shell>.tools-footer a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:8px 0;font:inherit}
@media(max-width:600px){body.ymb-tools-shell>.tools-footer{width:calc(100% - 32px);padding-bottom:18px;gap:0 20px}body.ymb-tools-shell>.tools-footer>nav{gap:8px 16px}}

/* Practical help follows the working tool; no extra assets or scripts. */
body.ymb-tools-shell .tool-guide,body.ymb-tools-shell .tool-guide *{box-sizing:border-box}
body.ymb-tools-shell .tool-guide{
  box-sizing:border-box;min-width:0;max-width:100%;margin:32px 0 0;padding:26px;
  border:2px solid #80663d;border-radius:8px;background:linear-gradient(115deg,#2c412b,#1b3225);
  box-shadow:inset 0 2px #b79a6730,0 4px #102a1b;color:var(--ws-ink,#fff2d6);
  font:400 14px/1.75 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-wrap:anywhere;
}
body.ymb-tools-shell .tool-guide[hidden]{display:none!important}
body.ymb-tools-shell .tool-guide-heading h2{margin:0;color:var(--ws-ink,#fff2d6);font-size:23px;line-height:1.35;letter-spacing:-.02em}
body.ymb-tools-shell .tool-guide p{margin:8px 0 0;color:var(--ws-muted,#d6dcc3);font:inherit}
body.ymb-tools-shell .tool-guide-heading p{max-width:80ch}
body.ymb-tools-shell .tool-guide h3{margin:0;color:var(--ws-ink,#fff2d6);font-size:15px;line-height:1.5;font-weight:700;letter-spacing:0}
body.ymb-tools-shell .tool-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:24px 0;padding:0 0 0 20px}
body.ymb-tools-shell .tool-guide-steps>li{min-width:0;padding:0 0 0 3px}
body.ymb-tools-shell .tool-guide-steps>li::marker{color:#edcf8d;font-weight:750}
body.ymb-tools-shell .tool-guide-faqs>details{margin:0;padding:0;border-top:1px solid #b5b18435}
body.ymb-tools-shell .tool-guide-faqs summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin:0;padding:12px 0;list-style:none;color:var(--ws-ink,#fff2d6);font:650 14px/1.6 system-ui,sans-serif;cursor:pointer}
body.ymb-tools-shell .tool-guide-faqs summary::-webkit-details-marker{display:none}
body.ymb-tools-shell .tool-guide-faqs summary::after{content:"+";flex:none;color:#edcf8d;font-size:21px;line-height:1}
body.ymb-tools-shell .tool-guide-faqs details[open]>summary::after{content:"−"}
body.ymb-tools-shell .tool-guide-faqs details>p{max-width:90ch;margin:0 0 16px}
body.ymb-tools-shell .tool-guide-related{display:block;position:static;float:none;width:auto;min-width:0;height:auto;margin:22px 0 0;padding:20px 0 0;border-top:1px solid #b5b18435;background:transparent;box-shadow:none}
body.ymb-tools-shell .tool-guide-related>ul{display:flex;flex-wrap:wrap;gap:8px 12px;list-style:none;margin:8px 0 0;padding:0}
body.ymb-tools-shell .tool-guide-related li{min-width:0;margin:0;padding:0}
body.ymb-tools-shell .tool-guide-related a{display:inline-flex;align-items:center;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid #8c96604d;border-radius:5px;background:#172f2470;color:#edcf8d;font-size:13px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
body.ymb-tools-shell .tool-guide-related a:hover{background:#354c31;color:#fff2d6}
body.ymb-tools-shell .tool-guide a:focus-visible,body.ymb-tools-shell .tool-guide summary:focus-visible{outline:3px solid #f4d386;outline-offset:3px}
@media(max-width:700px){
  body.ymb-tools-shell .tool-guide{margin-top:24px;padding:20px 16px}
  body.ymb-tools-shell .tool-guide-heading h2{font-size:21px}
  body.ymb-tools-shell .tool-guide-steps{grid-template-columns:minmax(0,1fr);gap:16px;margin:20px 0}
}
@media(max-width:600px){
  body.ymb-tools-shell #toolsMain h1#editorTitle.tool-guide-editor-title{font-size:24px;line-height:1.2}
}
