/* doc24 — 오프365 패밀리 디자인 */
:root{
  --navy:#15213f;--navy2:#1d2f5c;--ink:#1a2338;--muted:#5f6b85;--line:#e3e8f1;--bg:#f4f6fb;
  --accent:#27458f;--accent2:#3b5bdb;--soft:#e9eef9;--red:#e5352b;--red-d:#c92a21;--yellow:#ffd24d;
  --good:#1f8a4c;--good-soft:#e3f4ea;--crit:#c0392b;--crit-soft:#fce8e5;--warn:#9a5b00;--warn-soft:#fdf0d5;
  --font:"Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif;
  --w:1100px;--r:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;line-height:1.65;-webkit-font-smoothing:antialiased;word-break:keep-all}
a{color:inherit;text-decoration:none}
img,svg{display:block}
button,input,select,textarea{font:inherit}
.wrap{max-width:var(--w);margin:0 auto;padding:0 20px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:46px;padding:0 20px;border-radius:10px;border:0;background:var(--accent);color:#fff;font-weight:700;font-size:15px;cursor:pointer;transition:.15s;white-space:nowrap}
.btn:hover{filter:brightness(1.08)}
.btn:disabled{background:#b7c0d4;cursor:not-allowed;filter:none}
.btn.red{background:var(--red)}
.btn.yellow{background:var(--yellow);color:#3a2a00;border-radius:14px}
.btn.line{background:transparent;border:1.5px solid rgba(255,255,255,.35);color:#fff}
.btn.line:hover{background:rgba(255,255,255,.08)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.ghost:hover{background:var(--bg);filter:none}
.btn.sm{height:36px;padding:0 14px;font-size:14px}
.btn.lg{height:54px;padding:0 26px;font-size:17px}
.btn.block{display:flex;width:100%;height:50px;font-size:16px;border-radius:12px}

/* ---------- header (navy) ---------- */
.hd{background:rgba(21,33,63,.96);color:#fff;position:sticky;top:0;z-index:30;backdrop-filter:blur(6px)}
.hd .wrap{display:flex;align-items:center;gap:24px;height:58px}
.logo{display:flex;align-items:center;gap:10px;flex:none}
.logo-mark{width:30px;height:30px}
.lg-txt{display:flex;flex-direction:column;line-height:1.15}
.lg-txt b{font-size:19px;font-weight:900;letter-spacing:-.02em}
.lg-txt small{font-size:11px;color:#c9d3ea;font-weight:500}
.nav{display:flex;gap:2px;margin-left:auto;overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{padding:7px 11px;font-size:14px;color:#dfe5f3;white-space:nowrap;border-radius:8px;font-weight:500}
.nav a:hover{color:#fff;background:rgba(255,255,255,.08)}
.hd-cta{flex:none}
@media(max-width:900px){.hd-cta{display:none}}
@media(max-width:640px){.hd .wrap{height:auto;flex-wrap:wrap;padding-top:9px;padding-bottom:4px;gap:4px}.nav{width:100%;margin:0 -8px}}

/* ---------- hero (navy gradient) ---------- */
.hero{background:radial-gradient(1200px 500px at 85% -10%,#2e4a8f 0%,rgba(0,0,0,0) 60%),linear-gradient(160deg,var(--navy) 0%,var(--navy2) 100%);color:#fff;padding:64px 0 92px}
.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:48px;align-items:center}
.kick{font-size:15px;color:#d4dcef;margin-bottom:12px}.kick b{color:#fff;font-weight:900;margin-right:6px}
.badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700;color:#ffe08a}
.badge i{width:8px;height:8px;border-radius:50%;background:#4ade80}
.hero h1{font-size:46px;line-height:1.22;font-weight:900;letter-spacing:-.03em;margin:18px 0 16px}
.hero h1 em{font-style:normal;color:#9db7ff}
.lead{font-size:17px;color:#d4dcef;margin:0 0 22px;max-width:520px}
.search{position:relative;max-width:520px;margin-bottom:18px}
.search input{width:100%;height:52px;border:0;border-radius:12px;padding:0 18px 0 48px;font-size:15.5px;background:#fff;color:var(--ink);outline:3px solid transparent;transition:.15s}
.search input:focus{outline-color:rgba(157,183,255,.6)}
.search svg{position:absolute;left:16px;top:16px;width:20px;height:20px;color:var(--muted)}
.hero-btns{display:flex;gap:10px;flex-wrap:wrap}
.hchk{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:6px 20px;font-size:14px;color:#dfe5f3}
.hchk li:before{content:"✓";color:#4ade80;font-weight:900;margin-right:7px}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.try-card{max-width:520px}}
@media(max-width:600px){.hero{padding:40px 0 70px}.hero h1{font-size:31px}.lead{font-size:15.5px}}

/* demo card */
.try-card{background:#fff;color:var(--ink);border-radius:20px;padding:16px;box-shadow:0 24px 60px rgba(5,12,35,.45)}
.tc-hd{display:flex;justify-content:space-between;align-items:center;margin:0 4px 12px}
.tc-hd b{font-size:15px}
.pill{font-size:12px;font-weight:700;background:var(--warn-soft);color:var(--warn);padding:3px 10px;border-radius:999px}
.tc-box{background:var(--navy);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px}
.tc-row{display:flex;align-items:center;gap:8px;background:linear-gradient(180deg,#2a3d6e,#22335c);border-radius:10px;padding:10px 12px;color:#fff;font-size:13.5px;border-top:3px solid #6f8fe8}
.tc-row:nth-child(2){border-top-color:#3fc7b0}.tc-row:nth-child(3){border-top-color:#f08ba0}
.fi{font-size:10.5px;font-weight:900;padding:3px 6px;border-radius:5px;color:#fff;flex:none}
.fi.pdf{background:var(--red)}.fi.xl{background:var(--good)}.fi.img{background:#7c5cd6}
.fn{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.arr{color:#9db7ff;font-weight:900}
.ok{font-size:11.5px;font-weight:700;color:#4ade80;margin-left:4px}
.ing{width:38px;height:6px;border-radius:9px;background:rgba(255,255,255,.2);overflow:hidden;margin-left:4px}
.ing i{display:block;height:100%;width:60%;background:var(--yellow);border-radius:9px;animation:ing 1.6s ease-in-out infinite}
@keyframes ing{0%{width:10%}100%{width:100%}}
.tc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.tc-stats div{border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.tc-stats b{display:block;font-size:20px;font-weight:900;color:var(--accent)}
.tc-stats span{font-size:11.5px;color:var(--muted)}

/* ---------- tool-page hero ---------- */
.thero{padding:22px 0 96px}
.thero.slim{padding:18px 0 54px}
.crumb{font-size:13px;color:#b8c3dd}
.crumb a:hover{color:#fff}
.thead{display:flex;align-items:center;gap:16px;margin:16px 0 4px}
.thead .ic{width:60px;height:60px;border-radius:16px;flex:none}
.thead .ic svg{width:30px;height:30px}
.thead h1{margin:0;font-size:36px;font-weight:900;letter-spacing:-.03em;line-height:1.2}
.thead p{margin:4px 0 0;color:#d4dcef;font-size:16px}
.chips{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:16px;font-size:13.5px;color:#dfe5f3}
.chips span{color:#dfe5f3}
@media(max-width:600px){.thead h1{font-size:26px}.thead .ic{width:48px;height:48px}.thead p{font-size:14.5px}}

/* ---------- section heads ---------- */
.sec{margin:72px 0}
.sh{text-align:center;margin-bottom:30px}
.kicker{font-size:13px;font-weight:900;letter-spacing:.08em;color:var(--red);margin-bottom:6px}
.sh h2{font-size:34px;font-weight:900;letter-spacing:-.03em;margin:0;line-height:1.3}
.sh p{margin:8px 0 0;color:var(--muted);font-size:16px}
@media(max-width:600px){.sec{margin:52px 0}.sh h2{font-size:25px}}

/* ---------- tool cards ---------- */
.tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 0 10px}
.tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 17px;font-size:14.5px;cursor:pointer;color:var(--ink);font-weight:700}
.tab:hover{border-color:#c5cee0}
.tab.on{background:var(--navy);border-color:var(--navy);color:#fff}
.cat{margin:34px 0}
.cat-h{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:900;margin:0 0 14px;letter-spacing:-.02em}
.cat-h i{width:10px;height:10px;border-radius:3px;display:inline-block}
.cat-h small{font-size:14px;color:var(--muted);font-weight:500}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:980px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.grid{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px;display:flex;flex-direction:column;gap:6px;transition:.15s;position:relative}
a.card:hover{border-color:#c7d2ea;box-shadow:0 10px 28px rgba(21,33,63,.10);transform:translateY(-2px)}
.ic{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;margin-bottom:10px}
.ic svg{width:23px;height:23px}
.card h3{margin:0;font-size:17px;font-weight:900;letter-spacing:-.02em}
.card p{margin:0;font-size:14px;color:var(--muted);line-height:1.55}
.card.soon{background:#fafbfd}
.card.soon .ic,.card.soon h3,.card.soon p{opacity:.55}
.card .tag{position:absolute;top:16px;right:16px;font-size:11.5px;font-weight:700;background:var(--bg);color:var(--muted);border-radius:999px;padding:2px 9px}
.empty-search{display:none;text-align:center;color:var(--muted);padding:40px 0}

.feats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px}
.feat h3{margin:0 0 6px;font-size:18px;font-weight:900;letter-spacing:-.02em}
.feat p{margin:0;color:var(--muted);font-size:14.5px}
@media(max-width:860px){.feats{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.feats{grid-template-columns:1fr}}

/* ---------- work panel (overlaps hero) ---------- */
.work{background:#fff;border-radius:22px;box-shadow:0 20px 50px rgba(21,33,63,.16);padding:24px;margin:-66px 0 10px;position:relative;z-index:2}
.drop{border:2px dashed #c3cde3;border-radius:16px;padding:44px 20px;text-align:center;background:var(--bg);transition:.15s;cursor:pointer}
.drop.over{border-color:var(--accent2);background:var(--soft)}
.drop svg{width:48px;height:48px;margin:0 auto 12px;color:var(--accent)}
.drop strong{display:block;font-size:19px;font-weight:900;margin-bottom:4px}
.drop span{color:var(--muted);font-size:14px}
.drop .btn{margin-top:16px;background:var(--red);height:50px;padding:0 30px;font-size:16px;border-radius:12px}
.privacy-note{display:flex;align-items:center;gap:6px;justify-content:center;font-size:13px;color:var(--muted);margin-top:12px}
.privacy-note svg{width:15px;height:15px;margin:0;color:var(--good)}

.files{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.files li{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff}
.files li.dragging{opacity:.5}
.files .th{width:42px;height:42px;border-radius:9px;background:var(--soft);flex:none;display:grid;place-items:center;font-size:11px;font-weight:900;color:var(--accent);overflow:hidden}
.files .th img{width:100%;height:100%;object-fit:cover}
.files .nm{flex:1;min-width:0}
.files .nm b{display:block;font-weight:700;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.files .nm small{color:var(--muted);font-size:12.5px}
.files .ctl{display:flex;gap:4px}
.files .ctl button{width:32px;height:32px;border:1px solid var(--line);background:#fff;border-radius:8px;cursor:pointer;display:grid;place-items:center;color:var(--muted)}
.files .ctl button:hover{background:var(--bg);color:var(--ink)}
.files .ctl svg{width:16px;height:16px}
.files .grip{cursor:grab;color:#b3bccd}
.files .grip svg{width:18px;height:18px}
.addmore{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}

.opts{margin-top:18px;padding:18px;border-radius:14px;background:var(--bg);display:grid;gap:16px}
.opt label.t{display:block;font-weight:700;font-size:14px;margin-bottom:7px}
.opt .help{font-size:12.5px;color:var(--muted);margin-top:5px}
.seg{display:flex;flex-wrap:wrap;gap:6px}
.seg label{position:relative}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg span{display:inline-block;padding:8px 14px;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:14px;cursor:pointer;font-weight:500}
.seg input:checked+span{border-color:var(--navy);background:var(--navy);color:#fff;font-weight:700}
.opt input[type=text],.opt input[type=number],.opt select{height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;min-width:120px;outline:none}
.opt input[type=text]:focus,.opt input[type=number]:focus{border-color:var(--accent2)}
.opt input[type=range]{width:100%;max-width:360px;accent-color:var(--red)}
.opt .chk{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer;margin:0;color:var(--ink)}

.opt .chk input{width:18px;height:18px;accent-color:var(--accent)}
.row2{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
[data-show]{display:none}
[data-show].on{display:block}

.runbar{display:flex;justify-content:center;margin-top:20px}
.runbar .btn{min-width:260px;height:56px;font-size:17px;background:var(--red);border-radius:14px}
.prog{margin-top:16px;display:none}
.prog.on{display:block}
.prog .bar{height:8px;background:var(--line);border-radius:99px;overflow:hidden}
.prog .bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--accent),var(--accent2));transition:width .2s}
.prog .msg{font-size:13.5px;color:var(--muted);margin-top:6px;text-align:center}
.alert{margin-top:14px;padding:12px 14px;border-radius:12px;font-size:14px;display:none}
.alert.on{display:block}
.alert.err{background:var(--crit-soft);color:var(--crit)}
.alert.info{background:var(--soft);color:var(--accent)}

.result{margin-top:18px;display:none;background:var(--good-soft);border-radius:16px;padding:18px}
.result.on{display:block}
.result h3{margin:0 0 10px;font-size:17px;font-weight:900;display:flex;align-items:center;gap:8px;color:var(--good)}
.result h3 svg{width:22px;height:22px}
.result ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.result li{display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:8px 10px}
.result li .nm{flex:1;min-width:0;font-size:14.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.result li small{color:var(--muted);font-size:12.5px;white-space:nowrap}
.result li .btn{height:34px;font-size:13.5px}
.result .acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.result .acts .btn:first-child{background:var(--red)}
.result textarea{width:100%;min-height:260px;border:1px solid var(--line);border-radius:12px;padding:12px;font-size:14px;line-height:1.6;resize:vertical;margin-top:10px}

/* ---------- content ---------- */
.desc{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px;color:#3b455c;font-size:15.5px;max-width:860px;margin:0 auto}
.desc p{margin:0 0 10px}.desc p:last-child{margin:0}
.desc ul{margin:6px 0 0;padding-left:20px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:s}
.steps div{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px;position:relative}
.steps div:before{counter-increment:s;content:counter(s);width:36px;height:36px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:900;margin-bottom:12px}
.steps h3{margin:0 0 4px;font-size:17px;font-weight:900}
.steps p{margin:0;font-size:14.5px;color:var(--muted)}
@media(max-width:720px){.steps{grid-template-columns:1fr}}
.faq{max-width:760px;margin-left:auto;margin-right:auto}
.faq details{background:#fff;border-radius:12px;margin-bottom:10px;box-shadow:0 1px 3px rgba(21,33,63,.08);border:1px solid #edf0f6}
.faq summary{padding:16px 20px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:10px;font-size:15px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";font-size:20px;color:var(--accent);line-height:1;font-weight:700}
.faq details[open] summary:after{content:"−"}
.faq details p{margin:0;padding:0 20px 18px;color:var(--muted);font-size:15px}
.rel{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:720px){.rel{grid-template-columns:1fr}}

.ad-slot{margin:26px 0}
.ad-slot:empty{display:none}

/* ---------- CTA + family ---------- */
.cta{background:radial-gradient(700px 300px at 90% 0,#2e4a8f,rgba(0,0,0,0) 70%),linear-gradient(120deg,var(--navy),#253f80);color:#fff;border-radius:22px;padding:38px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 22px;flex-wrap:wrap}
.cta h2{margin:0 0 6px;font-size:27px;font-weight:900;letter-spacing:-.02em}
.cta p{margin:0;color:#d4dcef}
.cta-btns{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:600px){.cta{padding:28px 22px}.cta h2{font-size:22px}}
.family{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:16px;padding:16px 20px;background:var(--bg);margin-bottom:56px;transition:.15s}
.family:hover{border-color:#c7d2ea;background:#fff}
.family svg{width:46px;height:46px;flex:none}
.family div{flex:1;display:flex;flex-direction:column}
.family small{font-size:12px;color:var(--red);font-weight:700}
.family b{font-size:16px;font-weight:900}
.family span{font-size:13.5px;color:var(--muted)}
.family em{font-style:normal;font-weight:700;color:var(--accent);font-size:14px;white-space:nowrap}

/* ---------- static pages ---------- */
.page{background:#fff;border-radius:22px;box-shadow:0 20px 50px rgba(21,33,63,.12);padding:36px;margin:-34px 0 60px;position:relative}
.page h1{margin-top:0;font-size:30px;font-weight:900;letter-spacing:-.02em}
.page h2{font-size:19px;font-weight:900;margin-top:28px}
.page p,.page li{color:#3b455c}
@media(max-width:600px){.page{padding:24px 20px}}

/* ---------- footer (dark navy) ---------- */
.ft{background:#101a33;color:#aeb8cf;font-size:13.5px;padding:28px 0 30px}
.ft-tools{display:flex;flex-wrap:wrap;gap:4px 16px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.08)}
.ft-tools a{color:#c9d2e6}.ft-tools a:hover{color:#fff}
.ft-bot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:16px}
.ft-links{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.ft-links a:hover{color:#fff}
.ft-links b{color:#fff}
.fam a{color:#ffd24d;margin-left:4px}

@media(max-width:600px){.work{padding:14px;border-radius:16px}.drop{padding:30px 14px}.files li{padding:8px;gap:8px}.files .ctl button{width:30px;height:30px}.opts{padding:12px}.runbar .btn{width:100%}}

/* render stage for html→pdf (offscreen) */
.stage{position:fixed;left:-20000px;top:0;background:#fff;color:#000}
.stage table{border-collapse:collapse;font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:11px}
.stage td,.stage th{border:1px solid #b7bcc6;padding:3px 5px;vertical-align:middle;white-space:pre-wrap}
.stage .doc{font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:14.5px;line-height:1.65;color:#111}
.stage .doc h1{font-size:26px}.stage .doc h1.title{text-align:center;font-size:30px;margin-bottom:24px}.stage .doc h2{font-size:21px}.stage .doc h3{font-size:18px}
.stage .doc img{max-width:100%;height:auto;display:inline-block}
.stage .doc table{border-collapse:collapse;margin:8px 0;width:100%}
.stage .doc td,.stage .doc th{border:1px solid #999;padding:4px 6px;font-size:13px}
.stage .doc p{margin:0 0 8px}

/* ===== 변환 흐름 시각화 ===== */
.flow{display:flex;align-items:center;justify-content:center;gap:10px}
.fs{display:flex;align-items:center}
.fs .fc+.fc{margin-left:-5px}
.fs .fc:nth-child(2){transform:translateY(-4px)}.fs .fc:nth-child(3){transform:translateY(-8px)}
.fc{--c:#5f6b85;position:relative;width:38px;height:46px;background:#fff;border-radius:5px 12px 5px 5px;box-shadow:0 2px 6px rgba(21,33,63,.14);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:6px;flex:none}
.fc i{position:absolute;top:0;right:0;width:12px;height:12px;background:linear-gradient(225deg,transparent 50%,color-mix(in srgb,var(--c) 30%,#fff) 50%);border-radius:0 12px 0 3px}
.fc:before{content:"";position:absolute;left:7px;right:9px;top:10px;height:2px;background:#e3e8f1;box-shadow:0 5px 0 #e3e8f1,0 10px 0 #e3e8f1}
.fc b{font-size:8.5px;font-weight:900;color:#fff;background:var(--c);border-radius:3px;padding:1px 4px;letter-spacing:.02em;position:relative}
.fc small{position:absolute;bottom:-17px;font-size:10px;font-weight:700;color:var(--muted);white-space:nowrap}
.fa{display:flex;flex-direction:column;align-items:center;color:var(--muted);min-width:56px}
.fa span{font-size:10.5px;font-weight:700;margin-bottom:1px}
.fa svg{width:46px;height:10px}
.fa em{font-style:normal;font-size:11px;color:#9db7ff}
/* 카드 */
.card.fl{padding:0;overflow:hidden;gap:0}
.fv{height:96px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line);transition:.2s}
.fv .flow{transform:scale(.98);transition:.25s}
a.card.fl:hover .fv .flow{transform:scale(1.06)}
a.card.fl:hover .fa svg{animation:nudge .6s ease-in-out infinite alternate}
@keyframes nudge{to{transform:translateX(4px)}}
.ct{display:flex;gap:12px;padding:16px 18px 18px;align-items:flex-start}
.ic.sm{width:36px;height:36px;border-radius:10px;margin:2px 0 0;flex:none}
.ic.sm svg{width:19px;height:19px}
.ct h3{margin:0 0 2px}
.card .tag.new{background:var(--red);color:#fff;z-index:1;top:10px;right:10px}
/* 도구 상단 큰 흐름 */
.tgrid{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.flow.big{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:26px 28px 32px;gap:16px}
.flow.big .fc{width:58px;height:72px;border-radius:7px 18px 7px 7px;box-shadow:0 8px 20px rgba(0,0,0,.25)}
.flow.big .fc i{width:18px;height:18px;border-radius:0 18px 0 4px}
.flow.big .fc:before{left:10px;right:14px;top:16px;height:3px;box-shadow:0 8px 0 #e3e8f1,0 16px 0 #e3e8f1}
.flow.big .fc b{font-size:11px;padding:2px 6px}
.flow.big .fc small{color:#c9d3ea;font-size:11.5px;bottom:-21px}
.flow.big .fs .fc+.fc{margin-left:-8px}
.flow.big .fs .fc:nth-child(2){transform:translateY(-6px) rotate(4deg)}
.flow.big .fs .fc:nth-child(3){transform:translateY(-2px) rotate(8deg)}
.flow.big .fa{color:#9db7ff;min-width:90px}
.flow.big .fa span{font-size:12.5px;color:#fff}
.flow.big .fa svg{width:76px;height:14px;animation:nudge .9s ease-in-out infinite alternate}
@media(max-width:860px){.tgrid{grid-template-columns:1fr}.flow.big{display:none}}
/* 단계 아이콘 */
.st-ic{position:absolute;top:22px;right:22px;width:44px;height:44px;border-radius:12px;background:var(--soft);color:var(--accent);display:grid;place-items:center}
.st-ic svg{width:22px;height:22px}
/* 결과 미리보기 표 */
.pv{margin-top:12px;background:#fff;border-radius:12px;padding:12px;border:1px solid #cfe9d9}
.pv-hd{font-weight:900;font-size:14px;margin-bottom:8px}
.pv-hd small{font-weight:500;color:var(--muted);margin-left:6px}
.pv-scroll{overflow:auto;max-height:340px;border:1px solid var(--line);border-radius:8px}
.pv table{border-collapse:collapse;font-size:12.5px;min-width:100%}
.pv th{background:#f1f3f7;color:var(--muted);font-weight:700;padding:4px 8px;border:1px solid var(--line);position:sticky;top:0}
.pv tr th:first-child{position:sticky;left:0;text-align:center;min-width:34px}
.pv td{padding:4px 8px;border:1px solid var(--line);white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis}
.pv td.n{text-align:right;color:#0f5a32;font-variant-numeric:tabular-nums}
/* 이어서 작업하기 */
.next{margin-top:14px}
.next:empty{display:none}
.next-t{font-weight:900;font-size:14.5px;margin-bottom:8px}
.next-t small{font-weight:500;color:var(--muted);margin-left:6px;font-size:12.5px}
.next-l{display:flex;flex-wrap:wrap;gap:8px}
.next-b{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px 12px 7px 7px;cursor:pointer;font-size:14px;transition:.15s}
.next-b:hover{border-color:var(--accent2);box-shadow:0 4px 12px rgba(21,33,63,.1)}
.next-b .ic{width:30px;height:30px;border-radius:8px;margin:0}
.next-b .ic svg{width:16px;height:16px}
.next-b em{font-style:normal;color:var(--accent2);font-weight:900}
/* 페이지 정리 */
.pg-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
#pgSum{font-size:14px}
#pgSum b{font-size:16px;color:var(--accent)}
#pgSum .r{color:var(--red);font-weight:700}
.pg-bulk{display:flex;gap:6px;flex-wrap:wrap}
.pg-bulk .btn{height:32px;font-size:13px;padding:0 10px}
.pg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;max-height:640px;overflow:auto;padding:4px}
.pg{background:#fff;border:2px solid var(--line);border-radius:12px;padding:8px 8px 6px;position:relative;cursor:grab;transition:border-color .12s,transform .12s}
.pg:hover{border-color:#b9c6e4}
.pg.over{border-color:var(--accent2);transform:scale(1.03)}
.pg.dragging{opacity:.4}
.pg-img{height:150px;display:grid;place-items:center;background:#f6f7fa;border-radius:8px;overflow:hidden;position:relative}
.pg-img img{max-width:100%;max-height:100%;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:transform .2s;background:#fff}
.pg-img img:not([src]){width:70%;height:85%}
.pg-x{display:none;position:absolute;inset:0;background:rgba(229,53,43,.72);color:#fff;font-weight:900;place-items:center;font-size:14px}
.pg.del .pg-x{display:grid}
.pg.del{border-color:#f3b9b5}
.pg-tools{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:4px;opacity:0;transition:.15s}
.pg:hover .pg-tools,.pg.del .pg-tools{opacity:1}
@media(hover:none){.pg-tools{opacity:1}}
.pg-tools button,.pg-bar button{width:28px;height:28px;border-radius:8px;border:0;background:rgba(21,33,63,.82);color:#fff;display:grid;place-items:center;cursor:pointer}
.pg-tools button svg,.pg-bar button svg{width:15px;height:15px}
.pg-tools .dl{background:var(--red)}
.pg-bar{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.pg-bar button{background:transparent;color:var(--muted);width:24px;height:24px}
.pg-bar button:hover{background:var(--bg)}
.pg-bar span{font-weight:900;font-size:14px;text-align:center;line-height:1.1}
.pg-bar small{display:block;font-size:10.5px;font-weight:500;color:var(--muted)}
.ft-note{margin-top:14px;font-size:12.5px;color:#8792ad;line-height:1.6}
.ft-note a{color:#c9d2e6;text-decoration:underline}

/* ===== 관리자 공지 배너 · 도구 일시 중지 ===== */
.notice{background:var(--soft);color:var(--accent);font-size:14px;border-bottom:1px solid #d6dff5}
.notice .wrap{display:flex;align-items:center;gap:10px;min-height:44px;padding-top:6px;padding-bottom:6px}
.nt-ic{font-size:11.5px;font-weight:900;background:var(--accent);color:#fff;border-radius:6px;padding:2px 8px;flex:none}
.nt-tx{flex:1;font-weight:500}
.nt-tx a{text-decoration:underline}
.notice button{border:0;background:none;color:inherit;cursor:pointer;font-size:15px;opacity:.6}
.nt-warn{background:var(--warn-soft);color:var(--warn);border-color:#f3dfb5}.nt-warn .nt-ic{background:#c27c0e}
.nt-maint{background:var(--crit-soft);color:var(--crit);border-color:#f4c9c5}.nt-maint .nt-ic{background:var(--red)}
.paused-msg{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;background:var(--warn-soft);color:var(--warn);border-radius:14px;padding:18px;margin-bottom:14px}
.paused-msg b{font-size:17px;font-weight:900}
.paused-msg a{color:var(--accent);font-weight:700;margin-top:4px}
.work.paused .drop{opacity:.45;pointer-events:none}

/* ===== 이미지 자르기 ===== */
.crop-stage{position:relative;width:100%;margin:0 auto;background:#e9edf3;user-select:none;touch-action:none;overflow:hidden;border-radius:8px}
.crop-stage img{width:100%;height:100%;display:block;pointer-events:none}
.crop-sel{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px rgba(21,33,63,.55);cursor:move;outline:1px solid rgba(0,0,0,.25)}
.crop-sel:before,.crop-sel:after{content:"";position:absolute;inset:0;pointer-events:none;border-color:rgba(255,255,255,.45);border-style:solid}
.crop-sel:before{left:33.3%;right:33.3%;border-width:0 1px}
.crop-sel:after{top:33.3%;bottom:33.3%;border-width:1px 0}
.crop-sel i{position:absolute;width:14px;height:14px;background:#fff;border:2px solid var(--red);border-radius:3px;z-index:2}
.crop-sel i[data-h=nw]{left:-8px;top:-8px;cursor:nwse-resize}.crop-sel i[data-h=ne]{right:-8px;top:-8px;cursor:nesw-resize}
.crop-sel i[data-h=sw]{left:-8px;bottom:-8px;cursor:nesw-resize}.crop-sel i[data-h=se]{right:-8px;bottom:-8px;cursor:nwse-resize}
.crop-sel i[data-h=n]{left:calc(50% - 7px);top:-8px;cursor:ns-resize}.crop-sel i[data-h=s]{left:calc(50% - 7px);bottom:-8px;cursor:ns-resize}
.crop-sel i[data-h=w]{top:calc(50% - 7px);left:-8px;cursor:ew-resize}.crop-sel i[data-h=e]{top:calc(50% - 7px);right:-8px;cursor:ew-resize}
#cropInfo{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}
