/* eQSL(교신카드) — 한로그북 2026 톤(hlb-2026.css 변수 사용, 없으면 기본값) */
.eqsl-wrap{--eq-navy:var(--hlb-navy,#0b1d33);--eq-teal:var(--hlb-teal,#0a6e79);--eq-signal:var(--hlb-signal,#3ddc84);--eq-line:var(--hlb-line,#dbe4ee);--eq-bg:var(--hlb-bg,#f3f8fb);--eq-muted:var(--hlb-muted,#5b6b7d);padding:20px 15px 48px;color:var(--eq-navy);font-family:var(--hlb-font,inherit)}
.eqsl-wrap *{box-sizing:border-box}
.eqsl-title{margin:0 0 10px;font-size:1.6rem;font-weight:800;line-height:1.3;word-break:keep-all}
.eqsl-h3{margin:28px 0 10px;padding-left:12px;border-left:4px solid var(--eq-signal);font-size:1.15rem;font-weight:700;line-height:1.3}
.eqsl-count{margin-left:6px;color:var(--eq-muted);font-size:.9rem;font-weight:500}
.eqsl-desc{margin:0 0 12px;color:#33475b;line-height:1.65;word-break:keep-all}
.eqsl-link{margin-left:6px;color:var(--eq-teal);font-weight:700}
.eqsl-help{margin:4px 0;color:var(--eq-muted);font-size:13px;line-height:1.5;word-break:keep-all}
.eqsl-empty{padding:16px;color:var(--eq-muted);background:var(--eq-bg);border:1px dashed var(--eq-line);border-radius:10px}
.eqsl-actions{margin:0 0 6px}
.eqsl-input{max-width:100%;padding:6px 8px;border:1px solid var(--eq-line);border-radius:8px;font-size:15px;line-height:1.3}
.eqsl-num{width:84px;padding:5px 6px;border:1px solid var(--eq-line);border-radius:8px;font-size:15px}
.eqsl-wrap select{max-width:100%;padding:6px 8px;border:1px solid var(--eq-line);border-radius:8px;font-size:15px;background:#fff}
.eqsl-wrap .btn{min-height:38px}
.eqsl-wrap .btn-sm{min-height:34px}

.eqsl-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:0;padding:0;list-style:none}
.eqsl-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid var(--eq-line);border-radius:14px;box-shadow:0 6px 20px rgba(11,29,51,.06)}
.eqsl-card.is-default{border-color:var(--eq-signal);box-shadow:0 0 0 2px rgba(61,220,132,.35),0 6px 20px rgba(11,29,51,.06)}
.eqsl-thumb{display:block;background:#0b1d33;line-height:0}
.eqsl-thumb img{display:block;width:100%;height:auto;aspect-ratio:14/9;object-fit:cover}
.eqsl-card-body{padding:12px 14px 14px}
.eqsl-card-name{margin:0 0 4px;font-weight:700;line-height:1.35;word-break:break-all}
.eqsl-card-meta{margin:0 0 8px;color:var(--eq-muted);font-size:13px;line-height:1.5;word-break:keep-all}
.eqsl-badge{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--eq-signal);color:#06301a;font-size:12px;font-weight:700;vertical-align:1px}
.eqsl-rename{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.eqsl-rename .eqsl-input{flex:1 1 130px;min-width:0}
.eqsl-btnrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.eqsl-inline{display:inline;margin:0}
.eqsl-upload p{margin:0 0 10px}
.eqsl-upload label{display:inline-block;min-width:84px;font-weight:600}

/* 편집기 */
.eqsl-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
@media (min-width:992px){.eqsl-editor{grid-template-columns:minmax(0,1fr) 380px;align-items:start}.eqsl-panel{position:sticky;top:90px}}
.eqsl-stage{position:relative;width:100%;max-width:1000px;overflow:hidden;border:1px solid var(--eq-line);border-radius:10px;background:#0b1d33;user-select:none;-webkit-user-select:none;touch-action:pan-y}
.eqsl-stage img{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-drag:none}
.eqsl-it{position:absolute;margin:0;padding:0 .12em;white-space:nowrap;overflow:hidden;line-height:1;font-family:"Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",sans-serif;cursor:grab;touch-action:none;outline:1px dashed rgba(255,255,255,.35);outline-offset:2px}
.eqsl-it.is-empty{opacity:.55;font-style:italic}
.eqsl-it.is-sel{outline:2px solid var(--eq-signal);background:rgba(61,220,132,.15)}
.eqsl-it.is-drag{cursor:grabbing}
.eqsl-it:focus-visible{outline:3px solid #ffd36b}
.eqsl-panel{min-width:0}
.eqsl-itemlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:4px 10px;margin:0 0 12px;padding:0;list-style:none}
.eqsl-itemlist li{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:3px 0;border-bottom:1px dashed var(--eq-line)}
.eqsl-itemlist label{margin:0;min-width:0;font-size:14px;word-break:keep-all}
.eqsl-props{margin:0 0 14px;padding:10px 12px 6px;border:1px solid var(--eq-line);border-radius:10px;background:#fff;min-width:0}
.eqsl-props legend{width:auto;margin:0;padding:0 6px;font-size:14px;font-weight:700}
.eqsl-props[disabled]{opacity:.55}
.eqsl-row{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:0 0 8px}
.eqsl-row>label:first-child{min-width:78px;margin:0;font-size:14px;font-weight:600}
.eqsl-row input[type=range]{flex:1 1 120px;min-width:100px}
.eqsl-row input[type=color]{width:44px;height:34px;padding:2px;border:1px solid var(--eq-line);border-radius:8px;background:#fff}
.eqsl-msg{min-height:1.5em;margin:8px 0 0;font-weight:700}
.eqsl-msg.ok{color:#0a7a3a}.eqsl-msg.bad{color:#b00020}
.eqsl-server-preview{margin-top:14px}
.eqsl-server-preview img{display:block;width:100%;max-width:1000px;height:auto;border:1px solid var(--eq-line);border-radius:10px}

/* 발송 */
.eqsl-record{margin:0 0 12px;line-height:1.6}
.eqsl-notice{margin:0 0 14px;padding:10px 14px;border-radius:10px;font-weight:700;line-height:1.5}
.eqsl-notice.ok{background:#e8f9ef;color:#0a7a3a;border:1px solid #9fe0b9}
.eqsl-notice.bad{background:#fdecee;color:#b00020;border:1px solid #f1b3ba}
.eqsl-send-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
@media (min-width:992px){.eqsl-send-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}}
.eqsl-send-card img{display:block;width:100%;max-width:900px;height:auto;border:1px solid var(--eq-line);border-radius:10px;background:var(--eq-bg)}
.eqsl-email{width:100%;max-width:340px}
.eqsl-search{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px}
.eqsl-tablewrap{overflow-x:auto;border:1px solid var(--eq-line);border-radius:10px}
.eqsl-table{width:100%;border-collapse:collapse;font-size:14px}
.eqsl-table th{background:var(--eq-bg);white-space:nowrap}
.eqsl-table th,.eqsl-table td{padding:7px 8px;border-bottom:1px solid var(--eq-line);text-align:center}
.eqsl-call{font-weight:700}
.eqsl-pager{display:flex;flex-wrap:wrap;gap:4px;margin:12px 0}
.eqsl-pg{display:inline-block;min-width:34px;padding:5px 8px;border:1px solid var(--eq-line);border-radius:8px;text-align:center;text-decoration:none}
.eqsl-pg.on{background:var(--eq-navy);border-color:var(--eq-navy);color:#fff}
@media (max-width:480px){
  .eqsl-wrap{padding:14px 10px 40px}
  .eqsl-title{font-size:1.35rem}
  .eqsl-cards{grid-template-columns:minmax(0,1fr)}
  .eqsl-itemlist{grid-template-columns:minmax(0,1fr)}
  .eqsl-table{font-size:12.5px}
  .eqsl-table th,.eqsl-table td{padding:6px 4px}
  .eqsl-row>label:first-child{min-width:100%}
}

/* 2026-10-28 교신 QSL 보내기 강조 영역 */
.eqsl-cta{display:flex;align-items:center;gap:20px;margin:6px 0 28px;padding:22px 26px;border-radius:16px;background:linear-gradient(120deg,#0b1d33 0%,#0d3350 60%,#0a6e79 100%);color:#fff;box-shadow:0 10px 28px rgba(11,29,51,.22)}
.eqsl-cta-icon{flex:0 0 64px;display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:16px;background:rgba(255,255,255,.1);color:#7fdbe6}
.eqsl-cta-body{flex:1 1 auto;min-width:0}
.eqsl-cta-h{margin:0 0 8px;color:#fff;font-size:1.35rem;font-weight:800;letter-spacing:-.3px}
.eqsl-cta-steps{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;list-style:none;color:#cfe3f1;font-size:.95rem}
.eqsl-cta-steps b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:6px;border-radius:50%;background:#3ddc84;color:#06261a;font-size:.8rem}
.eqsl-cta-btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 30px;border-radius:999px;background:#3ddc84;color:#06261a!important;font-size:1.15rem;font-weight:800;text-decoration:none!important;box-shadow:0 6px 18px rgba(61,220,132,.35);transition:transform .15s,box-shadow .15s,background .15s}
.eqsl-cta-btn:hover{background:#5fe69b;transform:translateY(-2px);box-shadow:0 10px 24px rgba(61,220,132,.45)}
.eqsl-cta-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media (max-width:720px){
  .eqsl-cta{flex-wrap:wrap;gap:14px;padding:18px}
  .eqsl-cta-icon{flex-basis:52px;width:52px;height:52px}
  .eqsl-cta-btn{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.eqsl-cta-btn{transition:none}.eqsl-cta-btn:hover{transform:none}}

/* 발송 기록 (history.php) */
.eqsl-hist-form{align-items:flex-end}
.eqsl-hist-form label{margin:0;font-size:14px;font-weight:600}
.eqsl-hist-form input[type=date],.eqsl-hist-form input[type=text]{width:150px;max-width:100%}
.eqsl-hist-form select{max-width:100%;padding:6px 8px;border:1px solid var(--eq-line);border-radius:8px;font-size:15px;background:#fff}
.eqsl-st{display:inline-block;padding:1px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.eqsl-st-ok{background:var(--eq-signal);color:#06301a}
.eqsl-st-fail{background:#fdecee;color:#b00020;border:1px solid #f1b3ba}
.eqsl-st-wait{background:#fff6dd;color:#7a5a00;border:1px solid #f0d98a}
.eqsl-hist-when{white-space:nowrap}
.eqsl-muted{color:var(--eq-muted)}
@media (max-width:480px){
  .eqsl-hist-table thead{display:none}
  .eqsl-hist-table,.eqsl-hist-table tbody,.eqsl-hist-table tr,.eqsl-hist-table td{display:block;width:100%}
  .eqsl-hist-table tr{padding:10px 12px;border-bottom:1px solid var(--eq-line)}
  .eqsl-hist-table td{padding:3px 0;text-align:left;border:0;white-space:normal;overflow-wrap:anywhere}
  .eqsl-hist-table td[data-label]::before{content:attr(data-label) " : ";display:inline-block;min-width:92px;color:var(--eq-muted);font-size:12.5px;font-weight:600}
}

/* 2026-10-29 편집 화면: 항목 한 줄 카드·묶음 접기·글꼴 선택(편집 화면 범위만 .eqsl-editor/.eqsl-grp/.eqsl-frow) */
.eqsl-wrap .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (min-width:992px) and (max-width:1199px){.eqsl-editor{grid-template-columns:minmax(0,1fr)}.eqsl-panel{position:static}}
@media (min-width:1200px){.eqsl-editor{grid-template-columns:minmax(0,1fr) 600px}}
.eqsl-groups{display:grid;gap:12px;margin:0 0 14px}
.eqsl-grp{margin:0;min-width:0;border:1px solid var(--eq-line);border-radius:12px;background:#fff;overflow:hidden}
.eqsl-grp-h{margin:0}
.eqsl-grp-btn{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 12px;border:0;background:var(--eq-bg);color:var(--eq-navy);font-size:15px;font-weight:800;text-align:left;cursor:pointer}
.eqsl-grp-btn:hover{background:#e6f1f6}
.eqsl-grp-btn:focus-visible{outline:3px solid #ffd36b;outline-offset:-3px}
.eqsl-grp-mark{color:var(--eq-teal);font-size:13px;font-weight:700}
.eqsl-grp-body{padding:6px 8px}
.eqsl-grp-body[hidden]{display:none}
.eqsl-frow{display:flex;flex-wrap:nowrap;align-items:center;gap:6px 8px;margin:0;padding:6px;border:1px solid transparent;border-radius:10px;border-bottom:1px dashed var(--eq-line)}
.eqsl-frow:last-child{border-bottom:0}
.eqsl-frow.is-sel{border-color:var(--eq-signal);background:rgba(61,220,132,.12)}
.eqsl-frow.is-off .eqsl-fname{opacity:.55}
.eqsl-frow label{margin:0}
.eqsl-frow .eqsl-flab{font-size:13px;font-weight:600;color:var(--eq-muted);white-space:nowrap}
.eqsl-fchk{display:inline-flex;align-items:center;gap:4px;min-height:40px;font-size:14px;white-space:nowrap;cursor:pointer}
.eqsl-fchk input{width:18px;height:18px;margin:0}
.eqsl-fname{flex:0 1 128px;min-width:96px;min-height:40px;padding:6px 8px;border:1px solid var(--eq-line);border-radius:8px;background:#fff;color:var(--eq-navy);font-size:14px;font-weight:700;text-align:left;word-break:keep-all;cursor:pointer}
.eqsl-fname:hover{border-color:var(--eq-teal)}
.eqsl-fname:focus-visible{outline:3px solid #ffd36b;outline-offset:1px}
.eqsl-frow select.eqsl-fsel{flex:1 1 150px;min-width:120px;min-height:40px}
.eqsl-frow .eqsl-fsz{width:72px;min-height:40px}
.eqsl-frow input[type=color]{width:44px;height:40px;padding:2px;border:1px solid var(--eq-line);border-radius:8px;background:#fff;cursor:pointer}
.eqsl-frow .eqsl-fdef{flex:1 1 150px;min-width:120px;min-height:40px}
.eqsl-frow select.eqsl-fdef{min-height:40px}
.eqsl-frow .btn{min-height:40px}
.eqsl-frow-tools{flex-wrap:wrap}
.eqsl-fsample{flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:var(--eq-navy)}
.eqsl-fsample[hidden],.eqsl-fwarn[hidden]{display:none}
.eqsl-fwarn{flex:1 1 100%;margin:0;padding:6px 10px;border-radius:8px;background:#fff6dd;color:#7a5a00;font-size:13px;line-height:1.5}
.eqsl-foot{margin-top:14px}
@media (max-width:768px){
  .eqsl-frow{flex-wrap:wrap}
  .eqsl-fname{flex:1 1 calc(100% - 110px)}
  .eqsl-frow select.eqsl-fsel{flex:1 1 100%}
  .eqsl-fsample{flex:1 1 100%}
  .eqsl-frow .eqsl-fdef{flex:1 1 100%}
}
@media (max-width:380px){
  .eqsl-frow{flex-direction:column;align-items:stretch}
  .eqsl-fname,.eqsl-frow select.eqsl-fsel,.eqsl-frow .eqsl-fdef,.eqsl-frow .eqsl-fsz{width:100%;max-width:100%;flex:none}
  .eqsl-fchk{min-height:40px}
}
