
/* Ymir Tool page shell rebuild v51
   Purpose: make every tool page task-first. The page hero is removed from
   tool pages; the Vue shared shell now owns the compact title, workbench,
   action bar and status. Homepage styles are intentionally untouched. */
body.ymir-modern-body .ymir-page.ymir-tool-page-v51[data-ymir-tool],
body.ymir-modern-body .ymir-page[data-ymir-tool] {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 20px 0 42px !important;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 18px !important;
  background: transparent !important;
}
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 > .ymir-hero,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-hero {
  display: none !important;
}
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 > .ymir-vue-tool-root,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-vue-tool-root {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-app,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-app {
  width: 100% !important;
  max-width: none !important;
  color: #0f172a;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-workbench,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-workbench,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-workbench {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d7e2ef !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08) !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-workbench::before,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-workbench::before,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-workbench::before {
  height: 3px !important;
  background: linear-gradient(90deg, #2563eb, #14b8a6) !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-workbench__header,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-workbench__header,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-workbench__header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 18px !important;
  padding: 18px 22px 12px !important;
  border-bottom: 1px solid #edf3fa !important;
  background: #ffffff !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-title-block,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-title-block,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-title-block {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
  min-width: 0 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-tool-icon,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-tool-icon,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-tool-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 15px !important;
  font-size: 16px !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .18) !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-workbench__eyebrow,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-workbench__eyebrow,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-workbench__eyebrow {
  margin: 0 0 4px !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-workbench__header h2,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-workbench__header h2,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-workbench__header h2 {
  margin: 0 !important;
  max-width: none !important;
  color: #0f172a !important;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-workbench__header p:not(.ymir-vue-workbench__eyebrow),
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-workbench__header p:not(.ymir-vue-workbench__eyebrow),
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-workbench__header p:not(.ymir-vue-workbench__eyebrow) {
  max-width: 820px !important;
  margin: 6px 0 0 !important;
  color: #526176 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-tag-row,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-tag-row,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-tag-row {
  margin-top: 10px !important;
  gap: 7px !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-tag-row .el-tag,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-tag-row .el-tag,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-tag-row .el-tag {
  height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-lang,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-lang,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-lang {
  display: none !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-body,
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-grid,
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-crypto-grid,
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-highrisk-grid,
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-textref-grid,
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-websocket-layout,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-body,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-body,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-grid,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  width: 100% !important;
  padding: 16px 22px 12px !important;
  box-sizing: border-box !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-span-2,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-span-2,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-span-2 {
  grid-column: 1 / -1 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-panel,
body.ymir-modern-body .ymir-tool-shell-v51 .el-card,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-panel,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-panel {
  min-width: 0 !important;
  border-radius: 16px !important;
  border-color: #d8e3ef !important;
  box-shadow: none !important;
  background: #fff !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-app .el-card__header,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-app .el-card__header,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-app .el-card__header {
  padding: 10px 14px !important;
  background: #f8fbff !important;
  border-bottom: 1px solid #e1ebf6 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-app .el-card__body,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-app .el-card__body,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-app .el-card__body {
  padding: 14px !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-panel__title,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-panel__title,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-panel__title {
  font-size: 13px !important;
  font-weight: 850 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-panel__meta,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-panel__meta,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-panel__meta {
  font-size: 12px !important;
  font-weight: 700 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-app .el-textarea__inner,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-app .el-textarea__inner,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-app .el-textarea__inner {
  min-height: clamp(220px, 31vh, 330px) !important;
  border-radius: 13px !important;
  background: #fbfdff !important;
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
  box-shadow: inset 0 0 0 1px #c9d7e8 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-output .el-textarea__inner,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-output .el-textarea__inner,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-output .el-textarea__inner {
  background: #f8fafc !important;
  color: #172033 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-actions,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-actions,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  margin: 4px 22px 12px !important;
  padding: 12px !important;
  border: 1px solid #d8e3ef !important;
  border-radius: 16px !important;
  background: #f6f9fd !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-actions .el-button,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-actions .el-button,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-actions .el-button {
  min-height: 38px !important;
  padding: 8px 15px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-status,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-status,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-status {
  margin: 0 22px 16px !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-status .el-alert,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-status .el-alert,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-status .el-alert {
  min-height: 38px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  border: 1px solid #d8e3ef !important;
  background: #ffffff !important;
}
body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-footer-meta,
body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-footer-meta,
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-footer-meta {
  display: none !important;
}
body.ymir-modern-body .ymir-page[data-ymir-tool="md5"] .ymir-vue-app .el-textarea__inner,
body.ymir-modern-body .ymir-page[data-ymir-tool="guid"] .ymir-vue-app .el-textarea__inner,
body.ymir-modern-body .ymir-page[data-ymir-tool="password"] .ymir-vue-app .el-textarea__inner,
body.ymir-modern-body .ymir-page[data-ymir-tool="calculator"] .ymir-vue-app .el-textarea__inner,
body.ymir-modern-body .ymir-page[data-ymir-tool="unixtime"] .ymir-vue-app .el-textarea__inner {
  min-height: 150px !important;
}
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-help,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-obsolete-note,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-faq,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-related {
  grid-column: span 6 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid #d8e3ef !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.045) !important;
}
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-help h2,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-obsolete-note h2,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-faq h2,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-related h2 {
  position: relative;
  margin: 0 0 10px !important;
  padding-top: 8px;
  color: #0f172a !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-help h2::before,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-obsolete-note h2::before,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-faq h2::before,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-related h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #93c5fd;
}
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-help p,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-obsolete-note p,
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-faq p {
  margin: 0 0 9px !important;
  color: #526176 !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}
body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-faq h3 {
  margin: 12px 0 5px !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-related-grid a {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  border-color: #d8e3ef !important;
  background: #fff !important;
}
@media (max-width: 900px) {
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51[data-ymir-tool],
  body.ymir-modern-body .ymir-page[data-ymir-tool] {
    width: min(100% - 28px, 1180px) !important;
    gap: 14px !important;
    padding-top: 14px !important;
  }
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-workbench__header,
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-workbench__header,
  body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-workbench__header {
    padding: 16px !important;
  }
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-body,
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-grid,
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-crypto-grid,
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-highrisk-grid,
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-textref-grid,
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-websocket-layout,
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-body,
  body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-body,
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-grid,
  body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-grid {
    grid-template-columns: 1fr !important;
    padding: 14px 16px 10px !important;
  }
  body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-help,
  body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-obsolete-note,
  body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-faq,
  body.ymir-modern-body .ymir-page[data-ymir-tool] > .ymir-related {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 560px) {
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51[data-ymir-tool],
  body.ymir-modern-body .ymir-page[data-ymir-tool] {
    width: min(100% - 20px, 1180px) !important;
  }
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-title-block,
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-title-block,
  body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-title-block {
    flex-direction: column !important;
  }
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-actions,
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-actions,
  body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-actions,
  body.ymir-modern-body .ymir-tool-shell-v51 .ymir-vue-status,
  body.ymir-modern-body .ymir-page.ymir-tool-page-v51 .ymir-vue-status,
  body.ymir-modern-body .ymir-page[data-ymir-tool] .ymir-vue-status {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}


/* === Static AdSense review lead blocks START === */
.ymir-static-tool-lead{
  margin:28px auto 18px;
  padding-top:10px;
  padding-bottom:4px;
}
.ymir-static-tool-lead .ymir-breadcrumb{
  margin:0 0 10px;
  color:#64748b;
  font-size:13px;
  font-weight:750;
  letter-spacing:.01em;
}
.ymir-static-tool-lead h1{
  margin:0;
  color:#0f172a;
  font-size:clamp(2rem,4vw,3.35rem);
  line-height:.98;
  letter-spacing:-.065em;
  font-weight:950;
}
.ymir-static-tool-lead p:not(.ymir-breadcrumb){
  max-width:820px;
  margin:14px 0 0;
  color:#334155;
  font-size:17px;
  line-height:1.7;
  font-weight:560;
}
.ymir-static-tool-lead ul{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:1040px;
  margin:18px 0 0;
  padding:0;
  list-style:none;
}
.ymir-static-tool-lead li{
  position:relative;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:rgba(255,255,255,.86);
  box-shadow:0 10px 26px rgba(15,23,42,.045);
  padding:13px 14px 13px 34px;
  color:#334155;
  font-size:14px;
  line-height:1.55;
  font-weight:680;
}
.ymir-static-tool-lead li::before{
  content:"";
  position:absolute;
  left:14px;
  top:20px;
  width:8px;
  height:8px;
  border-radius:99px;
  background:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}
@media (max-width:860px){
  .ymir-static-tool-lead{margin-top:20px;}
  .ymir-static-tool-lead ul{grid-template-columns:1fr;}
  .ymir-static-tool-lead p:not(.ymir-breadcrumb){font-size:15.5px;}
}
/* === Static AdSense review lead blocks END === */

/* Static SXO fallback examples for core browser-side tools. */
.ymir-static-tool-fallback {
  margin-top: 1.25rem;
}
.ymir-static-fallback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.ymir-static-fallback-grid label {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-weight: 600;
}
.ymir-static-fallback-grid textarea {
  min-height: 7rem;
  padding: .75rem;
  border: 1px solid rgba(120, 140, 170, .35);
  border-radius: .75rem;
  background: rgba(250, 252, 255, .96);
  color: #172033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}
.ymir-static-tool-fallback button[disabled] {
  cursor: not-allowed;
  opacity: .72;
  border: 1px solid rgba(120, 140, 170, .35);
  border-radius: .75rem;
  padding: .65rem .9rem;
  background: rgba(30, 64, 110, .08);
  color: #24324a;
}
.ymir-static-fallback-note {
  font-size: .95rem;
  color: #5a6678;
}

