
#jshEditorBar{
  position:fixed;
  top:18px;
  right:18px;
  z-index:10050;
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px;
  border-radius:12px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 35px rgba(19,42,29,.16);
  border:1px solid #dfe7e1;
  backdrop-filter:blur(12px);
  font-family:'Noto Sans KR',sans-serif;
}
#jshEditorBar button,#jshEditorBar a{
  height:38px;
  padding:0 12px;
  border-radius:8px;
  border:1px solid #d8e2da;
  background:#fff;
  color:#284434;
  font-size:12px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  text-decoration:none;
}
#jshEditorBar button.active{
  background:#1d5a3b;
  color:#fff;
  border-color:#1d5a3b;
}
body.jsh-edit-mode [data-jsh-editable]{
  outline:1.5px dashed rgba(29,90,59,.55);
  outline-offset:5px;
  cursor:pointer;
  border-radius:3px;
  transition:.15s;
}
body.jsh-edit-mode [data-jsh-editable]:hover{
  outline-color:#1d5a3b;
  background:rgba(235,245,238,.7);
}
.jsh-post-edit-btn{
  position:absolute;
  z-index:30;
  top:10px;
  right:10px;
  height:34px;
  padding:0 10px;
  border:0;
  border-radius:7px;
  background:#1d5a3b;
  color:#fff;
  font-size:11px;
  font-weight:800;
  box-shadow:0 4px 15px rgba(0,0,0,.15);
  cursor:pointer;
}
body:not(.jsh-edit-mode) .jsh-post-edit-btn{display:none!important}
[data-post-id]{position:relative}
#jshEditorModal{
  position:fixed;
  inset:0;
  z-index:10100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(13,24,17,.52);
  font-family:'Noto Sans KR',sans-serif;
}
#jshEditorModal.open{display:flex}
.jsh-editor-dialog{
  width:min(900px,96vw);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border-radius:14px;
  box-shadow:0 25px 80px rgba(0,0,0,.26);
}
.jsh-editor-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 20px;
  border-bottom:1px solid #e5ebe6;
}
.jsh-editor-head h3{margin:0;font-size:17px;color:#1d3526}
.jsh-editor-close{
  width:34px;height:34px;border:0;border-radius:8px;background:#f2f5f3;cursor:pointer;font-size:20px
}
.jsh-editor-body{padding:20px}
.jsh-editor-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}
.jsh-editor-field{display:flex;flex-direction:column;gap:6px}
.jsh-editor-field.wide{grid-column:1/-1}
.jsh-editor-field label{font-size:11px;font-weight:800;color:#536258}
.jsh-editor-field input,.jsh-editor-field textarea,.jsh-editor-field select{
  width:100%;
  border:1px solid #d8e1da;
  border-radius:8px;
  padding:10px 11px;
  font:inherit;
  font-size:13px;
  color:#25362b;
}
.jsh-editor-field textarea{min-height:100px;resize:vertical}
#jshBodyEditor{
  min-height:360px;
  max-height:55vh;
  overflow:auto;
  border:1px solid #d8e1da;
  border-radius:8px;
  padding:22px;
  font-size:17px;
  line-height:1.95;
  outline:none;
}
#jshBodyEditor img{max-width:100%;height:auto}
.jsh-rich-toolbar{
  display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px
}
.jsh-rich-toolbar button,.jsh-rich-toolbar select{
  height:32px;border:1px solid #d8e1da;border-radius:6px;background:#fff;padding:0 8px;font-size:11px;cursor:pointer
}
.jsh-editor-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:15px 20px;
  border-top:1px solid #e5ebe6;
}
.jsh-editor-actions button{
  height:40px;padding:0 16px;border-radius:8px;border:1px solid #d6dfd8;background:#fff;font-weight:800;cursor:pointer
}
.jsh-editor-actions .primary{background:#1d5a3b;color:#fff;border-color:#1d5a3b}
.jsh-editor-toast{
  position:fixed;left:50%;bottom:28px;transform:translateX(-50%);
  z-index:10200;background:#1d3526;color:#fff;padding:11px 16px;border-radius:8px;
  font-size:12px;font-weight:700;opacity:0;pointer-events:none;transition:.2s
}
.jsh-editor-toast.show{opacity:1}
@media(max-width:700px){
  #jshEditorBar{top:auto;bottom:14px;right:14px;left:14px;justify-content:center}
  .jsh-editor-grid{grid-template-columns:1fr}
  .jsh-editor-field.wide{grid-column:auto}
  #jshBodyEditor{min-height:300px}
}

body.jsh-edit-mode [data-jsh-editable="generic"],
body.jsh-edit-mode [data-jsh-editable="generic-image"]{
  position:relative;
}
body.jsh-edit-mode [data-jsh-editable="generic"]::after,
body.jsh-edit-mode [data-jsh-editable="generic-image"]::after{
  content:"편집";
  position:absolute;
  top:-11px;
  right:-7px;
  z-index:20;
  padding:2px 5px;
  border-radius:4px;
  background:#1d5a3b;
  color:#fff;
  font-family:'Noto Sans KR',sans-serif;
  font-size:8px;
  font-weight:800;
  line-height:1.4;
  pointer-events:none;
}
body.jsh-edit-mode [data-jsh-editable="generic-image"]{
  outline:2px dashed rgba(29,90,59,.55);
  outline-offset:4px;
  cursor:pointer;
}

.jsh-position-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.jsh-position-grid > div{
  padding:11px;
  border:1px solid #e0e7e1;
  border-radius:8px;
  background:#f8faf8;
}
.jsh-position-grid span{
  display:flex;
  justify-content:space-between;
  margin-bottom:8px;
  font-size:11px;
  color:#506057;
}
.jsh-position-grid input[type="range"]{
  width:100%;
  accent-color:#1d5a3b;
}
.jsh-position-presets{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:9px;
}
.jsh-position-presets button{
  height:31px;
  padding:0 9px;
  border:1px solid #d8e1da;
  border-radius:6px;
  background:#fff;
  color:#405048;
  font-size:10px;
  cursor:pointer;
}
.jsh-mobile-preview{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:16px;
  background:#f4f6f4;
  border-radius:10px;
}
.jsh-mobile-phone{
  width:220px;
  height:390px;
  padding:7px;
  border-radius:24px;
  background:#1e2521;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.jsh-position-preview{
  width:100%;
  height:100%;
  border-radius:18px;
  background:#dfe5e0 center/cover no-repeat;
}
.jsh-preview-note{
  margin-top:9px;
  font-size:10px;
  color:#718078;
}
@media(max-width:700px){
  .jsh-position-grid{grid-template-columns:1fr}
}

.jsh-hero-image-edit{
  display:none;
  position:absolute;
  top:18px;
  right:18px;
  z-index:100;
  height:40px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:8px;
  background:rgba(24,58,42,.92);
  color:#fff;
  font-family:'Noto Sans KR',sans-serif;
  font-size:11px;
  font-weight:800;
  box-shadow:0 6px 20px rgba(0,0,0,.22);
  cursor:pointer;
}
body.jsh-edit-mode .hero-slide.active > .jsh-hero-image-edit{
  display:block;
}
body.jsh-edit-mode #hero .hero-bg{
  outline:2px dashed rgba(255,255,255,.72);
  outline-offset:-6px;
}
@media(max-width:700px){
  .jsh-hero-image-edit{
    top:12px;
    right:12px;
    height:36px;
    font-size:10px;
  }
}

.jsh-hero-tabs{
  display:flex;
  gap:7px;
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:1px solid #e6ebe7;
}
.jsh-hero-tabs button{
  height:36px;
  padding:0 14px;
  border:1px solid #d8e1da;
  background:#fff;
  color:#536258;
  border-radius:8px;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.jsh-hero-tabs button.active{
  background:#1d5a3b;
  color:#fff;
  border-color:#1d5a3b;
}
.jsh-hero-manager-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
}
.jsh-hero-current-preview{
  width:100%;
  aspect-ratio:16/9;
  border-radius:10px;
  border:1px solid #dbe3dd;
  background:#eef2ef center/cover no-repeat;
  display:grid;
  place-items:center;
  color:#7b877f;
  font-size:11px;
}
.jsh-small-note{
  margin-top:6px;
  font-size:10px;
  color:#748177;
  line-height:1.6;
}
@media(max-width:800px){
  .jsh-hero-manager-grid{grid-template-columns:1fr}
}

.jsh-position-number-row{
  display:grid;
  grid-template-columns:34px minmax(70px,1fr) 18px 34px;
  align-items:center;
  gap:5px;
  margin-top:8px;
}
.jsh-position-number-row input[type="number"]{
  width:100%;
  height:34px;
  padding:0 7px;
  border:1px solid #d7e0d9;
  border-radius:6px;
  background:#fff;
  color:#283b30;
  font-size:12px;
  font-weight:700;
  text-align:center;
}
.jsh-position-number-row > span{
  font-size:11px;
  color:#68776d;
}
.jsh-position-number-row .jsh-nudge{
  width:34px;
  height:34px;
  padding:0;
  border:1px solid #cfd9d1;
  border-radius:6px;
  background:#fff;
  color:#1d5a3b;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
}
.jsh-position-number-row .jsh-nudge:hover{
  background:#edf5ef;
  border-color:#8dad97;
}

.jsh-brand-manager{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.jsh-brand-manager .wide{grid-column:1/-1}
.jsh-brand-preview{
  min-height:110px;
  border:1px solid #dce4de;
  border-radius:10px;
  background:#f7faf8;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  margin-bottom:8px;
}
.jsh-brand-preview img{
  max-width:320px;
  max-height:80px;
  object-fit:contain;
}
.jsh-icon-preview{
  width:92px;
  height:92px;
  border:1px solid #dce4de;
  border-radius:18px;
  background:#f7faf8;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:8px;
  overflow:hidden;
}
.jsh-icon-preview img{
  width:72px;
  height:72px;
  object-fit:contain;
}
@media(max-width:760px){
  .jsh-brand-manager{grid-template-columns:1fr}
}

/* v3.11.1 strict header logo sizing */
.header .brand{
  min-width:0;
  max-width:280px;
  overflow:hidden;
  flex:0 1 auto;
}
.header .brand .jsh-brand-logo{
  display:block !important;
  width:auto !important;
  height:var(--jsh-logo-desktop-height,42px) !important;
  max-width:240px !important;
  max-height:80px !important;
  object-fit:contain !important;
  flex:0 0 auto;
}
.header .brand .jsh-brand-text-hidden{
  display:none !important;
}
@media(max-width:700px){
  .header .brand{
    max-width:200px;
  }
  .header .brand .jsh-brand-logo{
    height:var(--jsh-logo-mobile-height,34px) !important;
    max-width:170px !important;
    max-height:64px !important;
  }
}
