/* AutoNews WORKS · 사이트와 같은 제호 파랑 #1C69D4 · 모바일 반응형 (대표 11/3) */
:root{--b:#1C69D4;--bd:#1554ad;--ink:#16181d;--mu:#6b7280;--ln:#e3e5ea;--bg:#f2f3f5;--card:#fff}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:Pretendard,"Malgun Gothic",sans-serif;color:var(--ink);background:var(--bg);font-size:15px;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
.wm{display:inline-flex;align-items:flex-start;font-size:24px;letter-spacing:-.02em;line-height:1}
.wm b{font-weight:700}.wm span{font-weight:300}.wm i{width:.24em;height:.24em;background:var(--b);margin-left:.15em;margin-top:.12em}
.wm em{font-style:normal;font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--b);margin:.6em 0 0 .7em}

/* ── 로그인 (메인 모션 영상) ── */
body.lg{background:#000;color:#fff;min-height:100vh;min-height:100svh;overflow-x:hidden}
.bgv{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.shade{position:fixed;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.35) 55%,rgba(0,0,0,.55) 100%);z-index:1}
.lgw{position:relative;z-index:2;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:space-between;gap:48px;padding:48px 7vw}
.cp small{display:block;font-size:13px;letter-spacing:.3em;font-weight:600;opacity:.8;margin-bottom:18px}
.cp b{display:block;font-size:clamp(30px,4.2vw,58px);font-weight:300;line-height:1.25;letter-spacing:-.03em}
.cp span{display:block;opacity:0;transform:translateY(18px);animation:up .9s cubic-bezier(.2,.7,.2,1) forwards}
.cp .t2{font-weight:700;animation-delay:.5s}
@keyframes up{to{opacity:1;transform:none}}
.box{width:380px;max-width:100%;background:rgba(14,16,20,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.14);padding:40px 36px;display:flex;flex-direction:column;gap:14px;opacity:0;animation:up .9s .3s forwards}
.box .wm.big{font-size:40px;color:#fff}
.box .sub{color:rgba(255,255,255,.7);font-size:14px;margin:-4px 0 8px}
.box label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:rgba(255,255,255,.8)}
.box input{height:50px;padding:0 14px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font-size:16px;border-radius:3px}
.box input:focus{outline:2px solid var(--b);border-color:transparent}
.box button{height:52px;margin-top:8px;border:0;border-radius:3px;background:var(--b);color:#fff;font-size:16px;font-weight:600;cursor:pointer}
.box button:hover{background:var(--bd)}
.box .err{background:rgba(220,38,38,.18);border:1px solid rgba(248,113,113,.5);padding:10px 12px;font-size:14px}
.box .fn{font-size:12px;color:rgba(255,255,255,.5);text-align:center;margin-top:6px}
@media (max-width:760px){.lgw{flex-direction:column;justify-content:flex-end;align-items:stretch;gap:28px;padding:40px 20px 32px}.cp b{font-size:30px}.box{width:100%;padding:28px 22px}}

/* ── 안쪽 화면 ── */
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:28px;height:64px;padding:0 28px;background:#fff;border-bottom:1px solid var(--ln)}
.nv{display:flex;gap:4px;flex:1}
.nv a{display:flex;align-items:center;gap:7px;padding:9px 14px;border-radius:3px;font-weight:500;color:#374151}
.nv a svg{width:18px;height:18px;fill:none;stroke:var(--b);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nv a:hover{background:#f3f6fb}.nv a.on{background:#eaf1fc;color:var(--b);font-weight:700}
.me{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--mu)}.me a:hover{color:var(--b)}.me span{color:var(--ink);font-weight:600}
.mb{display:none;width:44px;height:44px;border:0;background:none;flex-direction:column;justify-content:center;gap:5px;align-items:center;margin-left:auto;cursor:pointer}
.mb span{display:block;width:22px;height:2px;background:var(--ink)}
.wrap{max-width:1680px;margin:0 auto;padding:28px}
h1{font-size:26px;font-weight:700;letter-spacing:-.02em;margin-bottom:20px}h1 small{font-size:14px;color:var(--mu);font-weight:500;margin-left:8px}
h2{font-size:17px;font-weight:700;margin-bottom:14px}h2 small{font-size:12px;color:var(--mu);font-weight:400;margin-left:6px}
.hd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.hd h1{margin:0}
.card{background:var(--card);border:1px solid var(--ln);padding:22px;margin-bottom:18px}
.flash{background:#eaf1fc;border-left:3px solid var(--b);padding:12px 16px;margin-bottom:18px}.flash.tmp code{font-size:17px;font-weight:700;background:#fff;padding:2px 8px}
button,.btn{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 18px;border:1px solid var(--ln);background:#fff;border-radius:3px;font-weight:600;cursor:pointer;white-space:nowrap}
.pri{background:var(--b);border-color:var(--b);color:#fff}.pri:hover{background:var(--bd)}
.sm{height:32px;padding:0 12px;font-size:13px}.full{width:100%;height:50px;font-size:16px;margin-top:6px}
input,select,textarea{width:100%;border:1px solid #d1d5db;border-radius:3px;padding:10px 12px;background:#fff;font-size:15px}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(28,105,212,.35);border-color:var(--b)}
label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#374151;margin-bottom:14px}label small{font-weight:400;color:var(--mu)}
label.ck{flex-direction:row;align-items:center;gap:6px;font-weight:500;margin:0}label.ck input{width:auto}
.narrow{max-width:460px}.act{display:flex;justify-content:flex-end}
.kps{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}
.kp{background:#fff;border:1px solid var(--ln);padding:18px 20px}.kp b{display:block;font-size:30px;font-weight:700;color:var(--b)}.kp span{font-size:13px;color:var(--mu)}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.ls{list-style:none}.ls li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #f0f1f3}.ls li a{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls li a:hover{color:var(--b)}.ls li span{flex-shrink:0;font-size:12px;color:var(--mu)}
.nn{color:var(--mu);padding:14px 0}.more{display:inline-block;margin-top:12px;font-size:13px;color:var(--b);font-weight:600}
.dl{list-style:none}.dl li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0f1f3}
.qk{display:flex;flex-wrap:wrap;gap:10px}.qk a{display:inline-flex;align-items:center;height:44px;padding:0 18px;border:1px solid var(--ln);border-radius:3px;font-weight:600}
.st{display:inline-block;font-size:12px;font-weight:600;padding:2px 8px;border-radius:2px;background:#f3f4f6;color:#4b5563;white-space:nowrap}
.st-pub{background:#e7f6ec;color:#15803d}.st-sent{background:#fff4e5;color:#b45309}.st-sched{background:#eaf1fc;color:var(--b)}.st-off{background:#fde8e8;color:#b91c1c}
.flt{display:flex;gap:8px;margin-bottom:14px}.flt input{flex:1}.flt select{width:170px}
.tbw{background:#fff;border:1px solid var(--ln);overflow-x:auto}
.tb{width:100%;border-collapse:collapse}.tb th{text-align:left;font-size:12px;color:var(--mu);font-weight:600;padding:10px 12px;border-bottom:1px solid var(--ln);white-space:nowrap}
.tb td{padding:10px 12px;border-bottom:1px solid #f0f1f3;vertical-align:middle;white-space:nowrap}
.tb td.tt{white-space:normal;width:100%}.tb td.tt a{font-weight:600}.tb td.tt a:hover{color:var(--b)}.tb td.tt small{display:block;font-size:12px;color:var(--mu)}
.tb td.th{width:60px;padding-right:0}.tb td.th img{width:48px;height:60px;object-fit:cover;display:block;background:#eee}
.tb td.bt{display:flex;gap:6px}.inl{display:inline}
.wf{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start}
.ti{font-size:20px;font-weight:600}.bd{line-height:1.8;min-height:380px}
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.cg b{display:block;font-size:13px;margin-bottom:6px;color:var(--b)}.cg .ck{padding:4px 0;font-size:14px}
.wside{position:sticky;top:84px}.pv{width:100%;display:block;margin-bottom:14px;border:1px solid var(--ln)}
.rv{list-style:none;font-size:13px;color:var(--mu)}.rv li{padding:6px 0;border-bottom:1px solid #f0f1f3}
.up{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.up input{width:auto;flex:1}.up small{width:100%;color:var(--mu)}
.pg{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.pg figure{background:#fff;border:1px solid var(--ln)}.pg img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.pg figcaption{padding:8px 10px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pg small{display:block;color:var(--mu);font-size:11px}
.users{padding:6px 22px}.ur{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f1f3;flex-wrap:wrap}.ur b{width:100px}.ur input,.ur select{width:150px}.ls2{font-size:12px;color:var(--mu);margin-left:auto}

@media (max-width:1100px){.top .me span,.top .me a:first-child{display:none}.wf{grid-template-columns:1fr}.wside{position:static}.cats{grid-template-columns:repeat(2,1fr)}.kps{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){
  .top{height:56px;padding:0 16px;gap:0}.mb{display:flex}
  .nv,.me{display:none}
  body.nvon .nv{display:flex;flex-direction:column;position:fixed;top:56px;left:0;right:0;background:#fff;padding:8px 12px;border-bottom:1px solid var(--ln);box-shadow:0 10px 24px rgba(0,0,0,.08)}
  body.nvon .me{display:flex;position:fixed;top:calc(56px + 236px);left:0;right:0;background:#fff;padding:12px 26px 16px;border-bottom:1px solid var(--ln);gap:18px}
  body.nvon .me span,body.nvon .me a:first-child{display:inline}
  .nv a{padding:12px 10px;font-size:16px}
  .wrap{padding:18px 16px}h1{font-size:22px}
  .kps{grid-template-columns:repeat(2,1fr)}.kp b{font-size:24px}.g2{grid-template-columns:1fr}
  .card{padding:18px 16px}
  .flt{flex-wrap:wrap}.flt select{width:calc(50% - 4px)}.flt input{flex-basis:100%}
  .tb thead{display:none}.tb,.tb tbody,.tb tr{display:block}.tb tr{display:grid;grid-template-columns:56px 1fr;gap:4px 12px;padding:12px;border-bottom:1px solid var(--ln)}
  .tb td{display:block;padding:0;border:0;white-space:normal;font-size:13px;color:var(--mu)}.tb td.th{grid-row:span 4;width:auto}.tb td.tt{color:var(--ink)}.tb td.bt{gap:6px}
  .cats{grid-template-columns:1fr 1fr;gap:12px}
  .ur b{width:100%}.ur input,.ur select{width:100%}
  input,select,textarea{font-size:16px}
}
