/* 2026-11-09 convnotice */
/* 2026-11-09 convert (그록 봇): 파일 변환 (/tools/convert). cd_genogram.css(gg-*) 위에 얹음 */
#cv-app{max-width:980px;margin:6px auto 18px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.06);padding:18px;box-sizing:border-box}
#cv-app *{box-sizing:border-box}
.cv-top{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.cv-pick{flex:1 1 100%;min-width:0}
.cv-pick>span{display:block;font-size:13px;font-weight:800;color:#4b5563;margin:0 0 6px}
#cv-type{width:100%;min-height:54px;font-size:18px;font-weight:800;color:#111827;padding:10px 44px 10px 14px;border:2px solid #4f46e5;border-radius:14px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%234f46e5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;-webkit-appearance:none;appearance:none;cursor:pointer}
#cv-type:focus{outline:none;box-shadow:0 0 0 4px rgba(79,70,229,.2)}
.cv-mode{display:none!important}
.cv-mode--web{}
.cv-mode--srv{}
.cv-chips{display:flex;gap:6px;overflow-x:auto;padding:12px 0 2px;margin:0;list-style:none;scrollbar-width:none}
.cv-chips::-webkit-scrollbar{display:none}
.cv-chip{flex:0 0 auto;display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border-radius:999px;border:1px solid #e5e7eb;background:#f8fafc;color:#334155;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.cv-chip[aria-current=true]{background:#4f46e5;border-color:#4f46e5;color:#fff}
.cv-opts{display:flex;flex-wrap:wrap;gap:10px 14px;margin:12px 0 0}
.cv-opts:empty{display:none}
.cv-f{display:flex;flex-direction:column;gap:4px;flex:1 1 220px;min-width:0}
.cv-f>span{font-size:13px;font-weight:800;color:#4b5563}
.cv-f small{font-weight:600;color:#94a3b8}
.cv-f select,.cv-f input{min-height:46px;font-size:16px;padding:8px 12px;border:1.5px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;width:100%}
.cv-seg{display:flex;flex-wrap:wrap;gap:6px}
.cv-seg button{flex:1 1 120px;min-height:46px;border:1.5px solid #d1d5db;border-radius:12px;background:#fff;font-size:14.5px;font-weight:700;color:#334155;cursor:pointer;padding:6px 8px;line-height:1.25}
.cv-seg button small{display:block;font-size:11.5px;font-weight:600;color:#64748b}
.cv-seg button[aria-pressed=true]{background:#eef2ff;border-color:#4f46e5;color:#3730a3;box-shadow:inset 0 0 0 1px #4f46e5}
.cv-hint{flex:1 1 100%;margin:0;font-size:13.5px;line-height:1.55;color:#64748b}
.cv-hint a{color:#4f46e5;font-weight:700}
.cv-drop{margin:14px 0 0;border:2.5px dashed #a5b4fc;border-radius:18px;background:linear-gradient(180deg,#f8faff,#eef2ff);min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:22px 14px;cursor:pointer;transition:background .15s,border-color .15s}
.cv-drop:hover,.cv-drop.is-over{border-color:#4f46e5;background:#e0e7ff}
.cv-drop:focus-visible{outline:3px solid #4f46e5;outline-offset:2px}
.cv-drop__ic{font-size:40px;line-height:1}
.cv-drop b{font-size:18px;color:#1e293b}
.cv-drop .gg-btn{min-height:50px;font-size:17px;padding:0 26px}
.cv-drop small{font-size:13px;color:#64748b}
.cv-has .cv-drop{min-height:120px}
.cv-files{margin:12px 0 0}
.cv-files-hd{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#64748b;font-weight:700;min-height:28px}
.cv-files-hd button{border:0;background:none;color:#ef4444;font-weight:700;font-size:13px;cursor:pointer;min-height:36px}
#cv-list,.cv-out-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
#cv-list li,.cv-out-list li{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;min-width:0}
.cv-ic{flex:0 0 auto;min-width:46px;height:30px;border-radius:8px;background:#eef2ff;color:#4338ca;font-size:11.5px;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 4px}
.cv-nm{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;font-weight:700;color:#1f2937}
.cv-nm small{display:block;font-size:12px;font-weight:600;color:#94a3b8;white-space:normal}
.cv-act{flex:0 0 auto;display:flex;gap:4px}
.cv-act button{width:38px;height:38px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;cursor:pointer;font-size:13px;color:#475569}
.cv-act button:disabled{opacity:.35;cursor:default}
.cv-go{display:flex;gap:8px;margin:14px 0 0}
#cv-go{flex:1 1 auto;min-height:58px;font-size:18.5px;font-weight:900;border-radius:14px}
#cv-go:disabled{opacity:.45;cursor:not-allowed}
#cv-stop{min-height:58px;border-radius:14px}
.cv-prog{margin:12px 0 0}
.cv-bar{height:12px;border-radius:999px;background:#e5e7eb;overflow:hidden}
.cv-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6366f1,#22c55e);border-radius:999px;transition:width .25s}
.cv-msg{margin:8px 0 0;font-size:14.5px;line-height:1.5;color:#334155;font-weight:600;word-break:keep-all;overflow-wrap:anywhere}
.cv-msg--ok{color:#047857}.cv-msg--warn{color:#b45309}.cv-msg--err{color:#dc2626}
.cv-out{margin:14px 0 0;padding:14px;border-radius:16px;background:#f0fdf4;border:1px solid #bbf7d0}
.cv-out-hd{font-size:16px;margin:0 0 10px;color:#065f46}
.cv-out-list{max-height:420px;overflow:auto}
.cv-out .gg-btn{flex:0 0 auto;min-height:42px}
.cv-zipall{width:100%;margin:10px 0 0;min-height:50px;font-size:16px}
.cv-out .cv-hint{margin:10px 0 0}
.cv-priv{display:none!important}
.cv-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.cv-busy .cv-drop{opacity:.55;pointer-events:none}
.cv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin:10px 0 16px}
.cv-grid a{display:block;padding:12px 14px;border:1px solid #e5e7eb;border-radius:14px;text-decoration:none;color:#1f2937;background:#fff;font-weight:800;font-size:15px}
.cv-grid a small{display:block;font-weight:600;color:#64748b;font-size:12.5px;margin-top:2px}
.cv-grid a:hover{border-color:#4f46e5}
@media (max-width:640px){
  #cv-app{padding:12px;border-radius:16px;margin:4px -2px 14px}
  #cv-type{font-size:17px}
  .cv-mode{min-height:0;font-size:13px}
  .cv-drop{min-height:170px}
  .cv-drop b{font-size:16px}
  .cv-f{flex-basis:100%}
  .cv-seg button{flex-basis:30%}
  .cv-out-list li .gg-btn{padding:0 14px}
}
