/* ══ DRAFT · 모두의창업 사업계획서 집필 (2026-09-13, 관리자 미리보기) ══
   Figma UI-DESIGN-ARCHIVE 6196:2 (Handydocs 화면 10장)를 그대로 옮긴다: 흰 배경 · #FAFAFB 내부 사이드바 · #E5E7EB 헤어라인 ·
   본문 #202124 · 보조 #606165 · 옅음 #9CA3AF · 포인트 #1F6FEB(#EFF5FF) · 위험 #DC2626 · 짙은 버튼 #191F28. 감독 지시 "제대로 동일하게".
   XITA 전역 사이드바는 그대로 두고(body.df-full 은 XIKO 규약), 이 뷰 안에 Figma 의 사이드바를 다시 그린다.
   모든 .hd-* 규칙은 #draft-view 특이도(전역 .main-content h1/button 색 규칙 대응). 양수 자간 없음, 보이는 스크롤바 없음. */
#draft-view{--hd-bg:#FFFFFF;--hd-side:#FAFAFB;--hd-line:#E5E7EB;--hd-line-2:#F4F5F7;--hd-text:#202124;--hd-body:#606165;--hd-muted:#9CA3AF;--hd-faint:#D1D5DB;--hd-blue:#1F6FEB;--hd-blue-bg:#EFF5FF;--hd-navy:#033770;--hd-dark:#191F28;--hd-red:#DC2626;
  position:relative;flex:1 1 auto;min-width:0;height:100%;min-height:0;overflow:hidden;background:var(--hd-bg);color:var(--hd-text);font-family:'Pretendard Variable',Pretendard,sans-serif;font-size:14px;line-height:1.6;color-scheme:light}
body:not(.can-draft) #draft-view{display:none!important}
body.df-full #draft-view{position:fixed;inset:0 0 0 256px;z-index:160;display:block!important;background:var(--hd-bg);animation:none!important}
body.df-full .sidebar.icon-mode+.main-content #draft-view{left:56px}
body.df-full .top-header,body.df-full .main-content::before{display:none!important}
@media (max-width:900px){body.df-full #draft-view{left:56px}}
@media (max-width:620px){body.df-full #draft-view{left:0}}
#draft-view *{box-sizing:border-box;scrollbar-width:none}
#draft-view *::-webkit-scrollbar{display:none;width:0;height:0}
#draft-view :is(h1,h2,h3,p,label,small,b,i,em,span,li,td,th){color:inherit;font-family:inherit;margin:0}
#draft-view button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0}
#draft-view :is(input,textarea,select){font:inherit;color:var(--hd-text)}
#draft-view :is(input,textarea,button,select):focus{outline:none}
#draft-view :is(input,textarea,select):focus-visible{border-color:var(--hd-blue)!important}
#draft-view a{color:inherit;text-decoration:none}
#draft-view .ph{font-style:normal}
/* ── 셸: Figma 사이드바 255px + 본문 ── */
#draft-view .hd{display:grid;grid-template-columns:255px minmax(0,1fr);grid-template-rows:100%;height:100%}
#draft-view .hd-side,#draft-view .hd-main{min-height:0}
#draft-view .hd-side{display:flex;flex-direction:column;height:100%;padding:24px 0 0;background:var(--hd-side);border-right:1px solid var(--hd-line);overflow-y:auto}
#draft-view .hd-brand{padding:0 24px 32px;font-size:18px;line-height:28.8px;font-weight:500;letter-spacing:-.04em;color:#0F0F10}
#draft-view .hd-nav{flex:1;display:flex;flex-direction:column;gap:2px;padding:0 12px}
#draft-view .hd-nav-label{padding:0 12px;font-size:12px;line-height:19.2px;font-weight:500;color:var(--hd-muted)}
#draft-view .hd-nav-label.is-sep{margin-top:24px;padding-top:24px;border-top:1px solid var(--hd-line)}
#draft-view .hd-nav-item{display:flex;align-items:center;gap:12px;height:42px;padding:10px 12px;border-radius:8px;font-size:14px;line-height:22.4px;font-weight:500;color:var(--hd-body);text-align:left;width:100%}
#draft-view .hd-nav-item i{font-size:18px}
#draft-view .hd-nav-item:hover{background:rgba(0,0,0,.03)}
#draft-view .hd-nav-item.is-on{background:var(--hd-blue-bg);color:var(--hd-blue);font-weight:600}
#draft-view .hd-nav-item.is-soon{color:var(--hd-muted)}
#draft-view .hd-nav-item.is-soon small{margin-left:auto;font-size:11px;color:var(--hd-faint)}
#draft-view .hd-nav-label+.hd-nav-item{margin-top:4px}
#draft-view .hd-side-foot{display:flex;flex-direction:column;gap:12px;padding:24px 12px}
#draft-view .hd-side-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;height:42px;padding:10px 12px;border-radius:8px;font-size:14px;line-height:22.4px;font-weight:600;color:#fff;background:var(--hd-blue);width:100%}
#draft-view .hd-side-btn.is-navy{background:var(--hd-navy)}
#draft-view .hd-side-btn i{font-size:16px;flex:none}
#draft-view .hd-side-btn small{flex:1;min-width:0;text-align:left;font-size:12px;font-weight:500;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#draft-view .hd-main{position:relative;min-width:0;height:100%}
#draft-view .hd-scroll{height:100%;overflow-y:auto;overscroll-behavior:contain}
#draft-view .hd-page{margin:0 auto;padding:64px 24px 120px}
#draft-view .hd-page.w-1160{max-width:1160px}
#draft-view .hd-page.w-960{max-width:960px}
#draft-view .hd-page.w-820{max-width:820px}
#draft-view .hd-page.w-800{max-width:800px}
#draft-view .hd-page.w-680{max-width:680px}
#draft-view .hd-page.w-1440{max-width:1440px}
#draft-view .hd-page.is-hero{padding-top:120px}
#draft-view .hd-h1{font-size:28px;line-height:44.8px;font-weight:700;letter-spacing:-.02em;color:var(--hd-text)}
#draft-view .hd-h1.is-24{font-size:24px;line-height:32px}
#draft-view .hd-sub{padding-top:12px;font-size:15px;line-height:24px;color:var(--hd-body)}
#draft-view .hd-sub.is-16{font-size:16px;line-height:25.6px}
#draft-view .hd-crumb{display:inline-flex;align-items:center;gap:6px;margin-bottom:16px;font-size:13px;line-height:20.8px;color:var(--hd-body)}
#draft-view .hd-crumb:hover{color:var(--hd-text)}
/* ── 대시보드 카드 (6196:3) ── */
#draft-view .hd-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px;margin-top:32px}
#draft-view .hd-card{position:relative;display:flex;flex-direction:column;gap:16px;min-height:225px;padding:32px;border:1px solid var(--hd-line);border-radius:16px;background:#fff;text-align:left;transition:border-color .12s ease,box-shadow .12s ease}
#draft-view .hd-card:hover{border-color:#D1D5DB;box-shadow:0 8px 24px rgba(0,0,0,.05)}
#draft-view .hd-card.is-locked{background:var(--hd-side)}
#draft-view .hd-card-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:var(--hd-blue-bg);color:var(--hd-blue);font-size:24px}
#draft-view .hd-card.is-locked .hd-card-ic{background:var(--hd-line-2);color:var(--hd-muted)}
#draft-view .hd-card h3{font-size:16px;line-height:25.6px;font-weight:600;letter-spacing:-.012em}
#draft-view .hd-card p{flex:1;font-size:13px;line-height:20.8px;color:var(--hd-body)}
#draft-view .hd-card-go{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:20.8px;font-weight:600;color:var(--hd-blue)}
#draft-view .hd-card-go i{font-size:16px}
#draft-view .hd-card-lock{display:inline-flex;align-items:center;gap:12px;font-size:12px;line-height:19.2px;color:var(--hd-muted)}
#draft-view .hd-badge{position:absolute;top:17px;right:17px;padding:6px 12px;border-radius:6px;background:var(--hd-blue-bg);font-size:14px;line-height:14px;font-weight:600;color:var(--hd-blue)}
#draft-view .hd-skill{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:4px 10px;border-radius:999px;background:var(--hd-line-2);font-size:12px;line-height:19.2px;font-weight:500;color:var(--hd-body)}
#draft-view .hd-skill i{font-size:14px;color:var(--hd-blue)}
#draft-view .hd-card-due{margin-left:8px;font-size:12px;font-weight:500;color:var(--hd-muted)}
#draft-view .hd-hero-skill{display:inline-flex;align-items:center;gap:6px;margin-top:16px;padding:6px 12px;border-radius:999px;background:var(--hd-blue-bg);font-size:13px;line-height:20.8px;font-weight:500;color:var(--hd-blue)}
#draft-view .hd-foot-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#draft-view .hd-foot-tools{display:flex;align-items:center;gap:12px;padding-bottom:16px;font-size:12px;color:var(--hd-muted)}
#draft-view .xmp-chip{height:36px;border:1px solid var(--hd-line);background:#fff;color:var(--hd-text);font:500 13px/16px 'Pretendard Variable',Pretendard,sans-serif}
#draft-view .xmp-chip:hover{background:var(--hd-side)}
#draft-view .xmp-chip .xmp-chip-effort{color:var(--hd-muted)}
/* ── 시작 (6196:159) ── */
#draft-view .hd-hero{text-align:center}
#draft-view .hd-hero h1{font-size:44px;line-height:52.8px;font-weight:700;letter-spacing:-.02em;white-space:pre-line}
#draft-view .hd-hero p{padding-top:16px;font-size:16px;line-height:25.6px;color:var(--hd-body)}
#draft-view .hd-start-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;width:min(1112px,100%);margin:64px auto 0}
@media (max-width:1100px){#draft-view .hd-start-cards{grid-template-columns:1fr;max-width:440px}}
#draft-view .hd-start-card{display:flex;flex-direction:column;align-items:center;gap:16px;min-height:432px;padding:96px 32px;border:1px solid var(--hd-line);border-radius:16px;background:#fff;text-align:center;transition:border-color .12s ease,box-shadow .12s ease}
#draft-view .hd-start-card:hover{border-color:#D1D5DB;box-shadow:0 8px 24px rgba(0,0,0,.05)}
#draft-view .hd-start-ic{display:grid;place-items:center;width:56px;height:56px;margin-bottom:12px;border-radius:16px;background:var(--hd-blue-bg);color:var(--hd-blue);font-size:28px}
#draft-view .hd-start-card h3{font-size:24px;line-height:38.4px;font-weight:700;letter-spacing:-.02em}
#draft-view .hd-start-card p{font-size:15px;line-height:24px;color:var(--hd-body);white-space:pre-line}
#draft-view .hd-start-go{display:inline-flex;align-items:center;gap:6px;padding-top:12px;font-size:15px;line-height:24px;font-weight:600;color:var(--hd-blue)}
#draft-view .hd-start-go i{font-size:18px}
/* ── 폼 (6196:651 · 338 · 966 · 1732) ── */
#draft-view .hd-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:6px;margin-top:32px;border-radius:16px;background:var(--hd-side)}
#draft-view .hd-tabs button{height:48px;border-radius:10px;font-size:15px;line-height:24px;font-weight:500;color:var(--hd-muted)}
#draft-view .hd-tabs button.is-on{background:#fff;color:var(--hd-text);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.04)}
#draft-view .hd-form{padding-top:32px}
#draft-view .hd-q{padding-top:32px}
#draft-view .hd-q:first-child{padding-top:0}
#draft-view .hd-q-label{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding-bottom:12px;font-size:18px;line-height:28.8px;font-weight:600;color:var(--hd-text)}
#draft-view .hd-q-label.has-help{padding-bottom:0}
#draft-view .hd-req{font-size:14px;line-height:22.4px;font-weight:600;color:var(--hd-red)}
#draft-view .hd-opt{font-size:14px;line-height:22.4px;font-weight:400;color:var(--hd-muted)}
#draft-view .hd-q-help{padding:8px 0 12px;font-size:15px;line-height:24px;color:var(--hd-body)}
#draft-view .hd-input,#draft-view .hd-textarea,#draft-view .hd-select{width:100%;padding:12px 14px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;font-size:15px;line-height:24px;color:var(--hd-text)}
#draft-view .hd-input{height:48px}
#draft-view .hd-textarea{display:block;resize:none;min-height:98px;overflow:hidden}
#draft-view .hd-textarea.is-lg{min-height:170px}
#draft-view .hd-textarea.is-sm{min-height:98px}
#draft-view :is(.hd-input,.hd-textarea)::placeholder{color:var(--hd-muted)}
#draft-view .hd-q.is-missing :is(.hd-input,.hd-textarea,.hd-select,.hd-radio,.hd-drop,.hd-file){border-color:var(--hd-red)}
#draft-view .hd-q.is-missing .hd-chips .hd-chip,#draft-view .hd-q.is-missing .hd-btn-group button{border-color:#F3B4B4}
#draft-view .hd-select-wrap{position:relative}
#draft-view .hd-select{height:48px;appearance:none;-webkit-appearance:none;padding-right:40px;cursor:pointer}
#draft-view .hd-select.is-empty{color:var(--hd-muted)}
#draft-view .hd-select-wrap>i{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--hd-body);pointer-events:none}
#draft-view .hd-photos{display:flex;flex-direction:column;padding-top:12px}
#draft-view .hd-photo-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
#draft-view .hd-photo-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:88px;height:88px;border:1px solid var(--hd-faint);border-radius:8px;color:var(--hd-body);font-size:12px;line-height:19.2px;font-weight:500}
#draft-view .hd-photo-add i{font-size:20px}
#draft-view .hd-photo-add:hover{border-color:var(--hd-muted)}
#draft-view .hd-photo{position:relative;width:88px;height:88px;border-radius:8px;overflow:hidden;border:1px solid var(--hd-line)}
#draft-view .hd-photo img{width:100%;height:100%;object-fit:cover;display:block}
#draft-view .hd-photo button{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:12px}
#draft-view .hd-photo-help{padding-top:8px;font-size:13px;line-height:20.8px;color:var(--hd-muted)}
#draft-view .hd-radios{display:flex;flex-direction:column;gap:12px}
#draft-view .hd-radio{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--hd-line);border-radius:10px;background:#fff;font-size:15px;line-height:24px;color:var(--hd-text);text-align:left}
#draft-view .hd-radio::before{content:'';width:16px;height:16px;border-radius:50%;border:1px solid var(--hd-faint);flex:none;background:#fff}
#draft-view .hd-radio.is-on{border-color:var(--hd-blue)}
#draft-view .hd-radio.is-on::before{border:5px solid var(--hd-blue)}
#draft-view .hd-form-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:64px;padding-top:24px;border-top:1px solid var(--hd-line)}
#draft-view .hd-form-foot.is-plain{border-top:0;padding-top:0;margin-top:48px;flex-direction:column;align-items:stretch}
#draft-view .hd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border:1px solid var(--hd-line);border-radius:10px;background:#fff;font-size:14px;line-height:22.4px;font-weight:500;color:var(--hd-body);white-space:nowrap}
#draft-view .hd-btn i{font-size:14px}
#draft-view .hd-btn:hover{background:var(--hd-side)}
#draft-view .hd-btn.is-blue{border-color:transparent;background:var(--hd-blue);color:#fff}
#draft-view .hd-btn.is-blue:hover{background:#1a61cf}
#draft-view .hd-btn.is-dark{border-color:transparent;background:var(--hd-dark);color:#fff}
#draft-view .hd-btn.is-dark:hover{background:#0f141c}
#draft-view .hd-btn.is-wide{width:100%;height:56px;font-size:16px;font-weight:600;border-radius:12px}
#draft-view .hd-btn.is-sm{height:32px;padding:0 12px;border-radius:8px;font-size:13px;line-height:20.8px}
#draft-view .hd-btn:disabled{opacity:.4;cursor:default}
#draft-view .hd-btn .is-red{color:#FF8A80;font-weight:700}
#draft-view .hd-btn .is-dot{opacity:.6}
#draft-view .hd-foot-note{padding-top:16px;font-size:13px;line-height:20.8px;color:var(--hd-muted);text-align:center}
/* 없다면 · Step 1 섹션 카드와 칩 (6196:338) */
#draft-view .hd-sec{padding:32px;margin-top:32px;border:1px solid var(--hd-line);border-radius:16px;background:#fff}
#draft-view .hd-sec-head{display:flex;align-items:baseline;gap:6px;font-size:16px;line-height:25.6px;font-weight:600}
#draft-view .hd-sec-head small{font-size:13px;line-height:20.8px;font-weight:400;color:var(--hd-muted)}
#draft-view .hd-sec-note{padding:16px 0;font-size:13px;line-height:20.8px;color:var(--hd-body)}
#draft-view .hd-chips{display:flex;flex-wrap:wrap;gap:8px;padding-top:16px}
#draft-view .hd-chip{display:inline-flex;align-items:center;height:36px;padding:0 14px;border:1px solid var(--hd-line);border-radius:999px;background:#fff;font-size:13px;line-height:20.8px;font-weight:500;color:var(--hd-body)}
#draft-view .hd-chip:hover{border-color:var(--hd-faint)}
#draft-view .hd-chip.is-on{border-color:var(--hd-blue);background:var(--hd-blue-bg);color:var(--hd-blue)}
/* 1기 (6196:966) */
#draft-view .hd-intro{padding:32px;margin-top:32px;border:1px solid var(--hd-line);border-radius:16px;background:var(--hd-side)}
#draft-view .hd-intro b{display:block;font-size:18px;line-height:28.8px;font-weight:600}
#draft-view .hd-intro p{padding-top:6px;font-size:15px;line-height:24px;color:var(--hd-body)}
#draft-view .hd-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:150px;padding:28px;border:1px dashed var(--hd-faint);border-radius:12px;background:var(--hd-side);text-align:center;cursor:pointer}
#draft-view .hd-drop:hover,#draft-view .hd-drop.is-over{border-color:var(--hd-blue);background:var(--hd-blue-bg)}
#draft-view .hd-drop i{font-size:24px;color:var(--hd-blue)}
#draft-view .hd-drop b{font-size:15px;line-height:24px;font-weight:600}
#draft-view .hd-drop small{font-size:13px;line-height:20.8px;color:var(--hd-muted)}
#draft-view .hd-drop.is-done{border-style:solid;border-color:var(--hd-blue)}
#draft-view .hd-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
#draft-view .hd-label-row .hd-q-label{padding-bottom:0}
/* AI 활용지원 폼 (6196:1732) · 632 폭 · 라벨 15/24 */
#draft-view .hd-form.is-compact{width:min(632px,100%);margin:0 auto}
#draft-view .hd-form.is-compact .hd-q{padding-top:28px}
#draft-view .hd-form.is-compact .hd-q-label{padding-bottom:12px;font-size:15px;line-height:24px}
#draft-view .hd-form.is-compact .hd-q-label.has-help{padding-bottom:0}
#draft-view .hd-form.is-compact .hd-q-help{padding:2px 0 12px;font-size:13px;line-height:20.8px;color:var(--hd-muted)}
#draft-view .hd-form.is-compact .hd-input{height:58px;padding:16px}
#draft-view .hd-form.is-compact .hd-textarea{min-height:82px;padding:16px}
#draft-view .hd-form.is-compact .hd-req{color:var(--hd-blue)}
#draft-view .hd-btn-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
#draft-view .hd-btn-group button{padding:16px 8px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;font-size:15px;line-height:24px;color:var(--hd-body);text-align:center}
#draft-view .hd-btn-group button.is-on{border-color:var(--hd-blue);background:var(--hd-blue-bg);color:var(--hd-blue)}
#draft-view .hd-team{display:flex;flex-direction:column;gap:8px}
#draft-view .hd-team-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}
#draft-view .hd-team-row .hd-input{height:44px;padding:10px 14px}
#draft-view .hd-team-row button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--hd-line);border-radius:8px;color:var(--hd-muted)}
#draft-view .hd-link-btn{display:inline-flex;align-items:center;gap:4px;font-size:13px;line-height:20.8px;color:var(--hd-blue)}
#draft-view .hd-file{display:flex;align-items:center;gap:6px;height:58px;padding:16px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;font-size:15px;line-height:24px;color:var(--hd-muted);cursor:pointer;width:100%;text-align:left}
#draft-view .hd-file.is-done{color:var(--hd-text);border-color:var(--hd-blue)}
/* Step 2 · 아이디어 추천 (Figma 에 없는 화면 · 같은 카드 문법) */
#draft-view .hd-ideas{display:flex;flex-direction:column;gap:16px;padding-top:32px}
#draft-view .hd-idea{display:flex;flex-direction:column;gap:12px;padding:32px;border:1px solid var(--hd-line);border-radius:16px;background:#fff;text-align:left;transition:border-color .12s ease,box-shadow .12s ease}
#draft-view .hd-idea:hover{border-color:#D1D5DB;box-shadow:0 8px 24px rgba(0,0,0,.05)}
#draft-view .hd-idea-head{display:flex;align-items:center;gap:12px}
#draft-view .hd-idea-num{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--hd-blue-bg);font-size:13px;font-weight:700;color:var(--hd-blue)}
#draft-view .hd-idea h3{font-size:18px;line-height:28.8px;font-weight:600}
#draft-view .hd-idea p{font-size:15px;line-height:24px;color:var(--hd-text)}
#draft-view .hd-idea small{font-size:13px;line-height:20.8px;color:var(--hd-muted)}
#draft-view .hd-idea .hd-card-go{font-size:15px;line-height:24px}
#draft-view .hd-wait{display:flex;flex-direction:column;align-items:center;gap:16px;padding:64px 24px;margin-top:32px;border:1px solid var(--hd-line);border-radius:16px;background:#fff;text-align:center}
#draft-view .hd-wait>i{font-size:28px;color:var(--hd-blue);animation:hd-spin 1s linear infinite}
@keyframes hd-spin{to{transform:rotate(360deg)}}
#draft-view .hd-wait b{font-size:18px;line-height:28.8px;font-weight:600}
#draft-view .hd-wait p{max-width:640px;font-size:14px;line-height:22.4px;color:var(--hd-body);white-space:pre-wrap;text-align:left}
#draft-view .hd-wait small{font-size:13px;color:var(--hd-muted)}
#draft-view .hd-notice{display:flex;align-items:center;gap:8px;padding:12px 16px;margin-top:24px;border-radius:10px;background:var(--hd-blue-bg);font-size:13px;line-height:20.8px;color:var(--hd-blue)}
/* ── 지원사업 목록 (6196:1340) ── */
#draft-view .hd-toolbar{display:flex;align-items:center;gap:12px;padding-top:32px}
#draft-view .hd-search{position:relative;width:360px;max-width:100%}
#draft-view .hd-search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:16px;color:var(--hd-muted)}
#draft-view .hd-search input{width:100%;height:40px;padding:0 12px 0 40px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;font-size:14px;line-height:22.4px}
#draft-view .hd-search input::placeholder{color:var(--hd-muted)}
#draft-view .hd-filter{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;font-size:14px;line-height:22.4px;font-weight:500;color:var(--hd-body)}
#draft-view .hd-filter.is-on{border-color:var(--hd-blue);color:var(--hd-blue);background:var(--hd-blue-bg)}
#draft-view .hd-table{margin-top:16px;border:1px solid var(--hd-line-2);border-radius:10px;background:#fff;overflow:hidden}
#draft-view .hd-table table{width:100%;border-collapse:collapse}
#draft-view .hd-table th{height:44px;padding:12px 16px;background:var(--hd-line-2);font-size:12px;line-height:19.2px;font-weight:600;color:var(--hd-body);text-align:left}
#draft-view .hd-table th:first-child{width:56px;padding-left:24px}
#draft-view .hd-table th:last-child{width:80px;padding-right:24px}
#draft-view .hd-table td{height:64px;padding:16px;border-top:1px solid var(--hd-line-2);font-size:14px;line-height:22.4px;color:var(--hd-body);vertical-align:middle}
#draft-view .hd-table tbody tr:hover td{background:#FCFCFD}
#draft-view .hd-table td:first-child{padding-left:24px}
#draft-view .hd-table td:last-child{padding-right:24px;text-align:right}
#draft-view .hd-table .hd-name{font-size:15px;line-height:24px;font-weight:500;color:var(--hd-text);text-align:left}
#draft-view .hd-table .hd-name:hover{color:var(--hd-blue)}
#draft-view .hd-star{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--hd-faint);font-size:18px}
#draft-view .hd-star:hover{background:var(--hd-line-2)}
#draft-view .hd-star.is-on{color:#F5B301}
#draft-view .hd-due{display:inline-flex;align-items:center;gap:12px;color:var(--hd-text)}
#draft-view .hd-tag{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;background:var(--hd-line-2);font-size:12px;line-height:12px;font-weight:600;color:var(--hd-muted)}
#draft-view .hd-tag.is-open{background:var(--hd-blue-bg);color:var(--hd-blue)}
#draft-view .hd-tag.is-hot{background:#FEF2F2;color:var(--hd-red)}
#draft-view .hd-row-go{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--hd-muted);font-size:16px}
#draft-view .hd-row-go:hover{background:var(--hd-line-2);color:var(--hd-text)}
#draft-view .hd-empty{padding:40px 24px;text-align:center;font-size:14px;color:var(--hd-muted)}
/* ── 지원사업 안내 (6196:1507) ── */
#draft-view .hd-info-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:32px}
@media (max-width:760px){#draft-view .hd-info-cards{grid-template-columns:1fr}}
#draft-view .hd-info{padding:16px;border:1px solid var(--hd-line);border-radius:8px;background:var(--hd-side)}
#draft-view .hd-info small{display:block;font-size:12px;line-height:19.2px;color:var(--hd-muted)}
#draft-view .hd-info b{display:block;padding-top:4px;font-size:13px;line-height:20.8px;font-weight:600}
#draft-view .hd-steps{display:flex;flex-direction:column;gap:12px;padding-top:16px}
#draft-view .hd-step{display:flex;gap:16px}
#draft-view .hd-step-num{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:6px;background:var(--hd-blue-bg);font-size:12px;line-height:19.2px;font-weight:700;color:var(--hd-blue)}
#draft-view .hd-step b{display:block;font-size:13px;line-height:20.8px;font-weight:600}
#draft-view .hd-step small{display:block;font-size:12px;line-height:19.2px;color:var(--hd-muted)}
#draft-view .hd-sec .hd-h2{font-size:16px;line-height:25.6px;font-weight:600}
#draft-view .hd-sec .hd-p{padding-top:16px;font-size:13px;line-height:20.8px;color:var(--hd-body)}
/* ── 결과 (6196:1989 · 2482) ── */
#draft-view .hd-doc-kicker{font-size:14px;line-height:22.4px;font-weight:600;color:var(--hd-muted)}
#draft-view .hd-doc-title{width:100%;padding:0;margin-top:12px;border:0;border-bottom:1px solid transparent;background:none;font-size:24px;line-height:32px;font-weight:700;letter-spacing:-.02em;color:var(--hd-text)}
#draft-view .hd-doc-title:hover,#draft-view .hd-doc-title:focus{border-bottom-color:var(--hd-line)}
#draft-view .hd-doc-meta{display:flex;flex-wrap:wrap;gap:6px 14px;padding-top:8px;font-size:12px;line-height:19.2px;color:var(--hd-muted)}
#draft-view .hd-doc-meta span{display:inline-flex;align-items:center;gap:4px}
#draft-view .hd-doc-tabs{display:flex;gap:32px;margin-top:32px;border-bottom:1px solid var(--hd-line)}
#draft-view .hd-doc-tabs button{position:relative;height:48px;font-size:16px;line-height:25.6px;font-weight:600;color:var(--hd-muted)}
#draft-view .hd-doc-tabs button.is-on{color:var(--hd-text)}
#draft-view .hd-doc-tabs button.is-on::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--hd-text)}
#draft-view .hd-panel{padding-top:48px}
#draft-view .hd-section{padding:32px;border:1px solid var(--hd-line);border-radius:16px;background:#fff}
#draft-view .hd-section+.hd-section,#draft-view .hd-section+.hd-add-sec,#draft-view .hd-add-sec+.hd-section{margin-top:16px}
#draft-view .hd-section-head{display:flex;align-items:center;gap:12px}
#draft-view .hd-section-title{flex:1;min-width:0;padding:0;border:0;background:none;font-size:20px;line-height:32px;font-weight:700;letter-spacing:-.014em;color:var(--hd-text)}
#draft-view .hd-section-acts{display:flex;gap:2px;opacity:0;transition:opacity .12s ease}
#draft-view .hd-section:hover .hd-section-acts,#draft-view .hd-section:focus-within .hd-section-acts{opacity:1}
#draft-view .hd-section-acts button{display:grid;place-items:center;width:28px;height:28px;border-radius:6px;color:var(--hd-muted);font-size:14px}
#draft-view .hd-section-acts button:hover{background:var(--hd-line-2);color:var(--hd-text)}
#draft-view .hd-section-body{display:block;width:100%;padding:0;margin-top:16px;border:0;background:none;font-size:16px;line-height:25.6px;color:var(--hd-text);resize:none;overflow:hidden;min-height:52px}
#draft-view .hd-section-body::placeholder{color:var(--hd-muted)}
#draft-view .hd-section-hint{padding-top:8px;font-size:12px;line-height:19.2px;color:var(--hd-muted)}
#draft-view .hd-add-sec{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:48px;margin-top:16px;border:1px dashed var(--hd-faint);border-radius:12px;font-size:14px;color:var(--hd-body)}
#draft-view .hd-add-sec:hover{border-color:var(--hd-muted);color:var(--hd-text)}
/* 피드백 탭 */
#draft-view .hd-fb-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;line-height:19.2px;color:var(--hd-muted)}
#draft-view .hd-fb-head span:first-child{font-weight:500}
#draft-view .hd-fb-title{padding-top:16px;font-size:24px;line-height:38.4px;font-weight:700;letter-spacing:-.02em}
#draft-view .hd-fb-sub{padding-top:12px;font-size:14px;line-height:22.4px;color:var(--hd-body)}
#draft-view .hd-fb-sub b{font-weight:700;color:var(--hd-blue)}
#draft-view .hd-bands{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding-top:24px}
#draft-view .hd-band i{display:block;height:6px;border-radius:999px;background:var(--hd-line)}
#draft-view .hd-band span{display:block;padding-top:6px;font-size:12px;line-height:19.2px;text-align:center;color:var(--hd-muted)}
#draft-view .hd-band.is-on i{background:var(--hd-blue)}
#draft-view .hd-band.is-on span{color:var(--hd-text);font-weight:600}
#draft-view .hd-fb-group{padding-top:48px}
#draft-view .hd-h3{font-size:20px;line-height:32px;font-weight:700;letter-spacing:-.014em}
#draft-view .hd-fixes{display:flex;flex-direction:column;gap:12px;padding-top:24px}
#draft-view .hd-fix{display:flex;gap:16px;padding:24px;border-radius:8px;background:var(--hd-side)}
#draft-view .hd-fix>div{flex:1;min-width:0}
#draft-view .hd-fix b{display:block;font-size:16px;line-height:25.6px;font-weight:600}
#draft-view .hd-fix p{padding-top:4px;font-size:16px;line-height:25.6px;color:var(--hd-body)}
#draft-view .hd-fix em{flex:none;font-style:normal;font-size:16px;line-height:25.6px;font-weight:700;color:var(--hd-blue)}
#draft-view .hd-fb-note{padding-top:24px;font-size:16px;line-height:25.6px;color:var(--hd-body)}
#draft-view .hd-fb-note b{font-weight:700;color:var(--hd-blue)}
#draft-view .hd-rubrics{padding-top:8px}
#draft-view .hd-rubric{padding:24px 0;border-bottom:1px solid var(--hd-line)}
#draft-view .hd-rubric:last-child{border-bottom:0}
#draft-view .hd-rubric-head{display:flex;align-items:center;gap:16px}
#draft-view .hd-rubric-head::before{content:'';width:10px;height:10px;border-radius:50%;background:var(--hd-muted);flex:none}
#draft-view .hd-rubric-head[data-grade='좋음']::before{background:var(--hd-blue)}
#draft-view .hd-rubric-head[data-grade='부족']::before{background:var(--hd-red)}
#draft-view .hd-rubric-head b{flex:1;font-size:16px;line-height:25.6px;font-weight:600}
#draft-view .hd-rubric-score{display:flex;align-items:baseline;gap:8px}
#draft-view .hd-rubric-score strong{font-size:20px;line-height:32px;font-weight:700}
#draft-view .hd-rubric-score strong small{font-size:12px;font-weight:500;color:var(--hd-body)}
#draft-view .hd-rubric-score em{font-style:normal;font-size:15px;line-height:24px;font-weight:600;color:var(--hd-body)}
#draft-view .hd-rubric-score em[data-grade='좋음']{color:var(--hd-blue)}
#draft-view .hd-rubric-score em[data-grade='부족']{color:var(--hd-red)}
#draft-view .hd-rubric p{padding-top:16px;font-size:16px;line-height:25.6px;color:var(--hd-body)}
#draft-view .hd-musts{padding-top:8px}
#draft-view .hd-must{display:flex;gap:16px;padding:24px 0;border-bottom:1px solid var(--hd-line)}
#draft-view .hd-must:last-child{border-bottom:0}
#draft-view .hd-must>i{flex:none;margin-top:2px;font-size:20px;color:var(--hd-blue)}
#draft-view .hd-must[data-ok=false]>i{color:var(--hd-red)}
#draft-view .hd-must>div{flex:1;min-width:0}
#draft-view .hd-must-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#draft-view .hd-must-head b{font-size:16px;line-height:25.6px;font-weight:600}
#draft-view .hd-must-head em{font-style:normal;font-size:15px;line-height:24px;font-weight:600;color:var(--hd-blue)}
#draft-view .hd-must[data-ok=false] .hd-must-head em{color:var(--hd-red)}
#draft-view .hd-must p{padding-top:12px;font-size:16px;line-height:25.6px;color:var(--hd-body)}
#draft-view .hd-disclaimer{padding:32px 4px 0;font-size:12px;line-height:19.2px;color:var(--hd-muted)}
#draft-view .hd-refs{margin-top:32px}
#draft-view .hd-refs+.hd-refs{margin-top:16px}
#draft-view .hd-refs-head{display:flex;align-items:baseline;justify-content:space-between;font-size:15px;line-height:24px;font-weight:600}
#draft-view .hd-refs-head small{font-size:12px;line-height:19.2px;font-weight:600;color:var(--hd-muted)}
#draft-view .hd-refs p{padding-top:16px;font-size:14px;line-height:22.4px;color:var(--hd-body)}
#draft-view .hd-refs ul{margin:0;padding:16px 0 0 0;list-style:none;display:flex;flex-direction:column;gap:8px}
#draft-view .hd-refs ul.is-verify{padding-top:12px}
#draft-view .hd-refs li{font-size:14px;line-height:22.4px;color:var(--hd-text)}
#draft-view .hd-refs li a{color:var(--hd-blue)}
#draft-view .hd-refs li a:hover{text-decoration:underline}
#draft-view .hd-fb-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:32px;font-size:12px;color:var(--hd-muted)}
#draft-view .hd-fb-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:64px 24px;border:1px solid var(--hd-line);border-radius:16px;background:#fff;text-align:center;color:var(--hd-body)}
#draft-view .hd-fb-empty i{font-size:28px;color:var(--hd-muted)}
#draft-view .hd-fb-empty b{font-size:18px;line-height:28.8px;font-weight:600;color:var(--hd-text)}
#draft-view .hd-fb-empty .hd-btn{margin-top:8px}
#draft-view .hd-doc-foot{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;margin-top:64px;padding-top:24px;border-top:1px solid var(--hd-line)}
#draft-view .hd-menu-wrap{position:relative}
#draft-view .hd-menu{position:absolute;right:0;bottom:calc(100% + 8px);min-width:220px;padding:6px;border:1px solid var(--hd-line);border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.08);z-index:5}
#draft-view .hd-menu button{display:flex;align-items:center;gap:10px;width:100%;height:40px;padding:0 12px;border-radius:8px;font-size:14px;line-height:22.4px;color:var(--hd-text);text-align:left;white-space:nowrap}
#draft-view .hd-menu button i{font-size:18px;color:var(--hd-body)}
#draft-view .hd-menu button:hover{background:var(--hd-side)}
#draft-view .hd-sort{display:flex;gap:6px}
#draft-view .hd-count{margin-left:auto;font-size:13px;color:var(--hd-muted)}
/* 도움말 필 + 원형 버튼 (우하단, 모든 화면) */
#draft-view .hd-help{position:absolute;right:24px;bottom:24px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;z-index:4}
#draft-view .hd-pill{display:inline-flex;align-items:center;gap:8px;padding:12px 20px 12px 16px;border:1px solid var(--hd-line);border-radius:999px;background:#fff;font-size:14px;line-height:20px;font-weight:600;color:#000;box-shadow:0 4px 16px rgba(0,0,0,.06)}
#draft-view .hd-pill:hover{background:var(--hd-side)}
#draft-view .hd-pill i{font-size:16px;color:var(--hd-blue)}
#draft-view .hd-help.is-folded .hd-pill{display:none}
#draft-view .hd-help-row{display:flex;gap:8px}
#draft-view .hd-circle{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid var(--hd-line);background:#fff;color:var(--hd-body);font-size:20px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
#draft-view .hd-circle.is-agent{background:var(--hd-blue);border-color:var(--hd-blue);color:#fff}
#draft-view .hd-circle.is-agent.is-busy i{animation:hd-spin 1s linear infinite}
#draft-view .hd-circle:hover{filter:brightness(.97)}
/* ── 에이전트 드로어 (스피어 문법 · 라이트) ── */
#draft-view .hd-drawer{position:absolute;top:0;right:0;bottom:0;width:min(440px,100%);display:flex;flex-direction:column;background:#fff;border-left:1px solid var(--hd-line);box-shadow:-12px 0 40px rgba(0,0,0,.08);transform:translateX(105%);transition:transform .22s cubic-bezier(.2,.7,.2,1);z-index:6}
#draft-view .hd-drawer.is-open{transform:none}
#draft-view .hd-drawer-head{display:flex;align-items:center;gap:8px;height:56px;padding:0 16px;border-bottom:1px solid var(--hd-line);font-size:14px;font-weight:700}
#draft-view .hd-drawer-head>i{color:var(--hd-blue);font-size:18px}
#draft-view .hd-seg{display:flex;gap:2px;padding:2px;border-radius:8px;background:var(--hd-line-2)}
#draft-view .hd-seg button{height:26px;padding:0 10px;border-radius:6px;font-size:12px;font-weight:600;color:var(--hd-body)}
#draft-view .hd-seg button.is-on{background:#fff;color:var(--hd-text);box-shadow:0 1px 2px rgba(0,0,0,.06)}
#draft-view .hd-drawer-close{margin-left:auto;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--hd-muted);font-size:18px}
#draft-view .hd-drawer-close:hover{background:var(--hd-line-2);color:var(--hd-text)}
#draft-view .hd-thread{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:20px;padding:16px}
#draft-view .hd-thread:empty+.hd-intro-chips{display:flex}
#draft-view .hd-intro-chips{display:none;flex-direction:column;gap:10px;padding:0 16px 12px;font-size:13px;color:var(--hd-body)}
#draft-view .hd-intro-chips div{display:flex;flex-wrap:wrap;gap:6px}
#draft-view .hd-intro-chips button{height:30px;padding:0 12px;border:1px solid var(--hd-line);border-radius:999px;font-size:12px;color:var(--hd-body)}
#draft-view .hd-intro-chips button:hover{border-color:var(--hd-blue);color:var(--hd-blue)}
#draft-view .hd-msg{align-self:flex-end;max-width:86%;padding:10px 14px;border-radius:16px;background:var(--hd-line-2);font-size:14px;line-height:20px;white-space:pre-wrap}
#draft-view .hd-run{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:20px}
#draft-view .hd-run.is-past{color:var(--hd-muted)}
#draft-view .hd-run-status{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--hd-body)}
#draft-view .hd-run-status i.is-spin{animation:hd-spin 1s linear infinite;color:var(--hd-blue)}
#draft-view .hd-think{margin:0;padding-left:10px;border-left:1px solid var(--hd-line)}
#draft-view .hd-think summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;font-size:13px;font-weight:500;color:var(--hd-body)}
#draft-view .hd-think summary::-webkit-details-marker{display:none}
#draft-view .hd-think p{padding-top:6px;font-size:13px;line-height:1.6;color:var(--hd-muted);white-space:pre-wrap}
#draft-view .hd-say{font-size:14px;line-height:1.6;color:var(--hd-text)}
#draft-view .hd-say.is-err{color:var(--hd-red)}
#draft-view .hd-prop{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--hd-line);border-radius:14px;background:var(--hd-side)}
#draft-view .hd-prop-head{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}
#draft-view .hd-prop-head small{margin-left:auto;font-size:12px;font-weight:500;color:var(--hd-muted)}
#draft-view .hd-finding{display:flex;gap:8px;font-size:13px;color:var(--hd-body)}
#draft-view .hd-finding i{flex:none;margin-top:3px;font-size:10px;color:var(--hd-muted)}
#draft-view .hd-finding[data-sev=high] i,#draft-view .hd-finding[data-sev=critical] i{color:var(--hd-red)}
#draft-view .hd-op{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid var(--hd-line);border-radius:9px;background:#fff}
#draft-view .hd-op-head{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}
#draft-view .hd-op-head em{font-style:normal;padding:1px 6px;border-radius:5px;background:var(--hd-blue-bg);font-size:11px;color:var(--hd-blue)}
#draft-view .hd-op-head small{margin-left:auto;font-weight:500;color:var(--hd-muted);font-variant-numeric:tabular-nums}
#draft-view .hd-op p{font-size:12px;line-height:1.5;color:var(--hd-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#draft-view .hd-op p.is-after{color:var(--hd-text)}
#draft-view .hd-prop-acts{display:flex;gap:6px;margin-top:2px}
#draft-view .hd-prop-acts .hd-btn{height:34px;padding:0 14px;font-size:13px}
#draft-view .hd-prop-state{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--hd-body)}
#draft-view .hd-prop-state i{font-size:13px;color:var(--hd-blue)}
#draft-view .hd-prop-state .hd-btn{margin-left:auto;height:28px;padding:0 10px;font-size:12px}
#draft-view .hd-compose{display:flex;flex-direction:column;gap:8px;padding:12px 16px 16px;border-top:1px solid var(--hd-line)}
#draft-view .hd-compose textarea{width:100%;min-height:64px;max-height:180px;padding:10px 12px;border:1px solid var(--hd-line);border-radius:10px;background:#fff;font-size:14px;line-height:1.5;resize:none}
#draft-view .hd-compose textarea::placeholder{color:var(--hd-muted)}
#draft-view .hd-compose-foot{display:flex;align-items:center;gap:8px}
#draft-view .hd-compose-foot small{color:var(--hd-muted);font-size:11px}
#draft-view .hd-effort{display:flex;gap:2px}
#draft-view .hd-effort button{height:24px;padding:0 8px;border-radius:6px;font-size:11px;font-weight:600;color:var(--hd-muted)}
#draft-view .hd-effort button.is-on{background:var(--hd-line-2);color:var(--hd-text)}
#draft-view .hd-send{margin-left:auto;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--hd-blue);color:#fff;font-size:16px}
#draft-view .hd-send:disabled{opacity:.4}
#draft-view .hd-toast{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);padding:10px 16px;border-radius:10px;background:var(--hd-dark);color:#fff;font-size:13px;z-index:7;pointer-events:none;opacity:0;transition:opacity .16s ease;white-space:nowrap}
#draft-view .hd-toast.is-on{opacity:1}

/* ── 에이전트 드로어 · 스피어 「추론 과정」 문법(sphere-agent-system.css)을 라이트 토큰으로 ──
   값은 스피어 것: 메시지 간격 32 · 말풍선 12×16 r20 · 행 20px 아이콘 + 8px 간격 · 14/20 Medium 보조색 · 생각 본문 36px 들여쓰기 · 답 세리프 16/24 ·
   푸터 12/16 · 승인 카드 r24 padding 16 · 다음 단계 8/16/8/6 r10. 색: 보조 #606165 · 옅음 #9CA3AF · 선 #E5E7EB · 가이드 #D1D5DB · 포인트 #1F6FEB. */
#draft-view .hd-drawer{width:min(480px,100%)}
#draft-view .hd-drawer-sub{margin-left:6px;font-size:12px;font-weight:500;color:var(--hd-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#draft-view .sph-shell-agent-intro{padding:20px 16px 8px;text-align:center}
#draft-view .sph-shell-agent-intro h2{margin:12px 0 8px;font-size:16px;line-height:1.5;font-weight:600;color:var(--hd-text)}
#draft-view .sph-shell-agent-intro p{margin:0 0 12px;font-size:14px;line-height:1.7;color:var(--hd-body)}
#draft-view .sph-agent-suggestions{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 0 20px}
#draft-view .sph-agent-suggestions button{max-width:100%;min-height:34px;padding:6px 14px;border:1px solid var(--hd-line);border-radius:18px;background:var(--hd-side);color:var(--hd-body);font-size:14px;line-height:1.5}
#draft-view .sph-agent-suggestions button:hover{background:var(--hd-line-2);color:var(--hd-text)}
#draft-view .sph-agent-thread{display:flex;flex-direction:column;gap:32px;padding:16px 16px 24px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;text-align:left;font-size:14px;line-height:20px;color:var(--hd-text)}
#draft-view .sph-agent-thread:empty{display:none}
#draft-view .sph-agent-thread *{box-sizing:border-box}
#draft-view .sph-agent-thread :is(p,li){margin:0}
#draft-view .sph-agent-thread,#draft-view .sph-agent-thread *{user-select:text}
#draft-view .sph-agent-thread :is(button,summary,.sph-agent-ico,.sph-agent-ico *){user-select:none}
#draft-view .sph-agent-ico{display:inline-flex;width:20px;height:20px;flex:0 0 20px;align-items:center;justify-content:center;color:var(--hd-body);font-style:normal}
#draft-view .sph-agent-ico svg{width:20px;height:20px;display:block}
#draft-view .sph-agent-ico.is-spinning{animation:hd-spin 1s linear infinite}
#draft-view .sph-agent-msg-user{align-self:flex-end;max-width:361px;padding:12px 16px;border-radius:20px;background:var(--hd-line-2);color:var(--hd-text);font-size:14px;line-height:20px;font-weight:500;white-space:pre-wrap}
#draft-view .sph-agent-plan,#draft-view .sph-agent-plan-past{display:flex;flex-direction:column;gap:8px;color:var(--hd-text);font-size:14px;line-height:20px;text-align:left}
#draft-view .sph-agent-plan-past{color:var(--hd-body)}
#draft-view .sph-agent-status{display:flex;flex-wrap:wrap;align-items:center;min-height:28px;column-gap:8px;color:var(--hd-body);font-size:14px;line-height:20px;font-weight:500}
#draft-view .sph-agent-skills{display:flex;flex-wrap:wrap;gap:0 8px;padding-left:28px;flex-basis:100%}
#draft-view .sph-agent-skill{color:var(--hd-muted);font-weight:500}
#draft-view .sph-agent-skill[data-verified=false]{text-decoration:line-through}
#draft-view .sph-agent-group{display:flex;flex-direction:column;gap:12px}
#draft-view .sph-agent-group[data-collapsed=true]{gap:0}
#draft-view .sph-agent-group-head{display:flex;align-items:center;column-gap:8px;width:100%;color:var(--hd-body);font-size:14px;line-height:20px;font-weight:500;text-align:left}
#draft-view .sph-agent-group-count{margin-left:-2px;color:var(--hd-muted);font-size:12px;line-height:20px;font-weight:500}
#draft-view .sph-agent-collapse{width:18px;flex-basis:18px;margin-left:auto;transition:transform .15s}
#draft-view .sph-agent-collapse svg{width:11px;height:11px}
#draft-view .sph-agent-group[data-collapsed=true] .sph-agent-collapse{transform:rotate(180deg)}
#draft-view .sph-agent-group-bodywrap{display:grid;grid-template-rows:1fr;transition:grid-template-rows .34s cubic-bezier(.2,.7,.2,1)}
#draft-view .sph-agent-group-bodywrap>.sph-agent-group-body{min-height:0;overflow:hidden}
#draft-view .sph-agent-group[data-collapsed=true] .sph-agent-group-bodywrap{grid-template-rows:0fr}
#draft-view .sph-agent-group-body{position:relative;display:flex;flex-direction:column;gap:12px;margin-left:9px;padding-left:19px;transition:opacity .24s ease,transform .34s cubic-bezier(.2,.7,.2,1)}
#draft-view .sph-agent-group[data-collapsed=true] .sph-agent-group-body{opacity:0;transform:translateY(-4px)}
#draft-view .sph-agent-group-body>*{position:relative}
#draft-view .sph-agent-group-body>*::before{content:"";position:absolute;left:-19px;top:-6px;bottom:-6px;width:1px;background:var(--hd-faint)}
#draft-view .sph-agent-group-body>*:first-child::before{top:-12px}
#draft-view .sph-agent-group-body>*:last-child::before{bottom:auto;height:6px;top:-6px}
#draft-view .sph-agent-group-body>*:first-child:last-child::before{top:-12px;height:12px}
#draft-view .sph-agent-group-body>*::after{content:"";position:absolute;left:-19px;top:0;width:12px;height:11px;border-left:1px solid var(--hd-faint);border-bottom:1px solid var(--hd-faint);border-bottom-left-radius:8px}
#draft-view .sph-agent-tool{display:flex;flex-wrap:wrap;align-items:center;min-height:20px;column-gap:8px;color:var(--hd-body);font-size:14px;line-height:20px;font-weight:500}
#draft-view .sph-agent-tool-arg{color:var(--hd-muted);font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#draft-view .sph-agent-tool-ms{margin-left:auto;color:var(--hd-muted);font-size:12px;line-height:18px;font-variant-numeric:tabular-nums}
#draft-view .sph-agent-tool[data-state=error] .sph-agent-ico{color:var(--hd-red)}
#draft-view .sph-agent-tool-note{flex-basis:100%;padding-left:28px;color:var(--hd-body);font-size:12px;line-height:18px;font-weight:400}
#draft-view .sph-agent-tool[data-state=pending] .sph-agent-tool-label{animation:hd-breathe 1.1s ease-in-out infinite}
@keyframes hd-breathe{0%,100%{opacity:.55}50%{opacity:1}}
#draft-view .sph-agent-think{margin:0}
#draft-view .sph-agent-think summary{display:flex;align-items:center;column-gap:8px;cursor:pointer;list-style:none;color:var(--hd-body);font-size:14px;line-height:20px;font-weight:500}
#draft-view .sph-agent-think summary::-webkit-details-marker{display:none}
#draft-view .sph-agent-think summary .sph-agent-chevron{width:18px;flex-basis:18px;margin-left:auto;transition:transform .15s}
#draft-view .sph-agent-think summary .sph-agent-chevron svg{width:18px;height:18px}
#draft-view .sph-agent-think[open] summary .sph-agent-chevron{transform:rotate(180deg)}
#draft-view .sph-agent-think[data-streaming=true] summary .sph-agent-ico:first-child{color:var(--hd-blue);animation:hd-pulse 1.2s ease-in-out infinite}
@keyframes hd-pulse{0%,100%{opacity:.4}50%{opacity:1}}
#draft-view .sph-agent-think[data-streaming=true] summary .sph-agent-think-label{background:linear-gradient(90deg,var(--hd-body) 0%,var(--hd-body) 35%,var(--hd-text) 50%,var(--hd-body) 65%,var(--hd-body) 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:hd-shimmer 1.6s linear infinite}
@keyframes hd-shimmer{from{background-position:120% 0}to{background-position:-120% 0}}
#draft-view .sph-agent-think-body{margin:4px 0 0 9px;padding:8px 0 4px 20px;border-left:1px solid var(--hd-faint);border-bottom-left-radius:9px;color:var(--hd-body);font-size:14px;line-height:20px;font-weight:400;white-space:pre-wrap}
#draft-view .sph-agent-think-body p{margin:0 0 16px}
#draft-view .sph-agent-think[data-streaming=true] .sph-agent-think-body p:last-of-type::after{content:"▍";margin-left:2px;color:var(--hd-blue);animation:hd-caret 1s steps(2,start) infinite}
@keyframes hd-caret{to{visibility:hidden}}
#draft-view .sph-agent-think-less{display:block;margin:0 0 0 36px;color:var(--hd-body);font-size:12px;line-height:18px;font-weight:500}
#draft-view .sph-agent-answer{margin-top:4px;color:var(--hd-text);font-family:'Source Serif 4',Georgia,'Noto Serif KR',serif;font-size:16px;line-height:24px}
#draft-view .sph-agent-answer p{margin:0 0 8px}
#draft-view .sph-agent-copy{display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:4px 10px 4px 8px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;color:var(--hd-body);font-family:'Pretendard Variable',Pretendard,sans-serif;font-size:12px;line-height:16px;font-weight:500}
#draft-view .sph-agent-copy .sph-agent-ico{width:16px;height:16px;flex-basis:16px}
#draft-view .sph-agent-copy .sph-agent-ico svg{width:16px;height:16px}
#draft-view .sph-agent-copy:hover{background:var(--hd-side);color:var(--hd-text)}
#draft-view .sph-agent-review{display:flex;flex-direction:column;gap:8px;color:var(--hd-body);font-size:14px;line-height:20px}
#draft-view .sph-agent-review-head{display:block;color:var(--hd-text);font-size:14px;line-height:20px;font-weight:600}
#draft-view .sph-agent-review-line,#draft-view .sph-agent-meta{display:block;color:var(--hd-body);font-size:12px;line-height:18px}
#draft-view .sph-agent-chips{display:flex;flex-wrap:wrap;gap:4px}
#draft-view .sph-agent-chip-setting{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 8px;border-radius:8px;background:var(--hd-line-2);color:var(--hd-text);font-size:12px;line-height:18px;font-weight:600;max-width:100%}
#draft-view .sph-agent-chip-setting span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#draft-view .sph-agent-chip-setting .sph-agent-ico{width:16px;height:16px;flex-basis:16px;color:var(--hd-text)}
#draft-view .sph-agent-chip-setting .sph-agent-ico svg{width:16px;height:16px}
#draft-view .sph-agent-findings{margin:0;padding:0;list-style:none}
#draft-view .sph-agent-findings li{padding:6px 0;border-top:1px solid var(--hd-line);color:var(--hd-body);font-size:14px;line-height:20px}
#draft-view .sph-agent-findings b{color:var(--hd-text);font-weight:600}
#draft-view .sph-agent-findings li[data-severity=high] b,#draft-view .sph-agent-findings li[data-severity=critical] b{color:var(--hd-red)}
#draft-view .sph-agent-diff{width:100%;border-collapse:collapse;color:var(--hd-body);font-size:13px;line-height:18px;text-align:left;table-layout:fixed}
#draft-view .sph-agent-diff th,#draft-view .sph-agent-diff td{padding:4px 4px 4px 0;border-top:1px solid var(--hd-line);vertical-align:top;overflow:hidden;text-overflow:ellipsis;word-break:break-all}
#draft-view .sph-agent-diff th{color:var(--hd-muted);font-weight:500;font-size:12px;line-height:18px}
#draft-view .sph-agent-diff th:first-child,#draft-view .sph-agent-diff td:first-child{width:22%}
#draft-view .sph-agent-diff th:nth-child(2),#draft-view .sph-agent-diff td:nth-child(2){width:20%}
#draft-view .sph-agent-diff td:nth-child(4){color:var(--hd-text)}
#draft-view .sph-agent-errors{display:block;color:var(--hd-red);font-size:12px;line-height:18px}
#draft-view .sph-agent-code{margin:8px 0 0;border:1px solid var(--hd-line);border-radius:10px;overflow:hidden;background:var(--hd-side)}
#draft-view .sph-agent-code summary{display:flex;align-items:center;gap:8px;height:28px;padding:0 10px;background:var(--hd-line-2);color:var(--hd-body);font-size:12px;line-height:16px;font-weight:500;cursor:pointer;list-style:none}
#draft-view .sph-agent-code summary::-webkit-details-marker{display:none}
#draft-view .sph-agent-code summary .sph-agent-chevron{width:16px;flex:0 0 16px;transition:transform .15s}
#draft-view .sph-agent-code[open] summary .sph-agent-chevron{transform:rotate(180deg)}
#draft-view .sph-agent-code-copy{margin-left:auto;height:20px;padding:0 8px;border:1px solid var(--hd-line);border-radius:6px;background:#fff;color:var(--hd-body);font-size:11px;line-height:18px;font-weight:500}
#draft-view .sph-agent-code-body{margin:0;padding:10px 12px;max-height:260px;overflow:auto;color:var(--hd-text);font:400 12px/18px "JetBrains Mono",Consolas,"Cascadia Mono",monospace;white-space:pre}
#draft-view .sph-agent-answercard{display:flex;flex-direction:column;margin-top:4px;padding:16px;border:1px solid var(--hd-line);border-radius:24px;background:#fff}
#draft-view .sph-agent-answercard-head{display:flex;align-items:center;gap:6px;color:var(--hd-body);font-size:12px;line-height:18px;font-weight:500}
#draft-view .sph-agent-answercard-head .sph-agent-ico{width:16px;height:16px;flex-basis:16px}
#draft-view .sph-agent-answercard-head .sph-agent-ico svg{width:16px;height:16px}
#draft-view .sph-agent-answercard-divider{height:1px;margin:16px 0;background:var(--hd-line)}
#draft-view .sph-agent-answercard-q{color:var(--hd-body);font-size:14px;line-height:20px;font-weight:500}
#draft-view .sph-agent-answercard-choices{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
#draft-view .sph-agent-apply-button,#draft-view .sph-agent-skip-button{display:inline-flex;align-items:center;height:32px;padding:0 10px;border-radius:8px;background:var(--hd-line-2);color:var(--hd-text);font-size:13px;line-height:18px;font-weight:600}
#draft-view .sph-agent-skip-button{color:var(--hd-body);font-weight:500}
#draft-view .sph-agent-skip-button:hover{background:var(--hd-line)}
#draft-view .sph-agent-apply-button{padding:0 12px;background:var(--hd-blue);color:#fff}
#draft-view .sph-agent-apply-button:hover:not(:disabled){background:#1a61cf}
#draft-view .sph-agent-apply-button:disabled{background:var(--hd-line-2);color:var(--hd-muted);cursor:not-allowed}
#draft-view .sph-agent-answercard-a{display:block;margin-top:6px;color:var(--hd-muted);font-size:12px;line-height:18px}
#draft-view .sph-agent-answercard-a:empty{display:none}
#draft-view .sph-agent-footer{display:flex;align-items:center;gap:6px;width:100%;min-height:20px;margin-top:6px;color:var(--hd-muted);font-size:12px;line-height:16px;font-weight:500;text-align:left}
#draft-view .sph-agent-footer .sph-agent-ico{width:14px;height:14px;flex-basis:14px;color:var(--hd-muted)}
#draft-view .sph-agent-footer .sph-agent-ico svg{width:14px;height:14px}
#draft-view .sph-agent-footer[aria-expanded=false] .sph-agent-chevron{transform:rotate(-90deg)}
#draft-view .sph-agent-time{display:flex;align-items:center;gap:8px;margin-top:4px;color:var(--hd-muted);font-size:12px;line-height:16px}
#draft-view .sph-agent-time .sph-agent-ico{width:16px;height:16px;flex-basis:16px;color:var(--hd-muted)}
#draft-view .sph-agent-time .sph-agent-ico svg{width:16px;height:16px}
#draft-view .sph-agent-next{display:flex;flex-direction:column;gap:8px;padding-top:12px}
#draft-view .sph-agent-next-title{color:var(--hd-muted);font-size:14px;line-height:20px;font-weight:500}
#draft-view .sph-agent-next-list{display:flex;flex-direction:column;gap:2px}
#draft-view .sph-agent-next-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 14px 8px 10px;border:1px solid var(--hd-line);border-radius:10px;background:#fff;color:var(--hd-text);font-size:14px;line-height:20px;text-align:left}
#draft-view .sph-agent-next-item .sph-agent-ico{width:16px;height:16px;flex-basis:16px;color:var(--hd-body)}
#draft-view .sph-agent-next-item .sph-agent-ico svg{width:16px;height:16px}
#draft-view .sph-agent-next-item:hover{background:var(--hd-side);border-color:var(--hd-faint)}
#draft-view .sph-agent-trace{display:flex;align-items:center;column-gap:8px;width:100%;min-height:28px;color:var(--hd-body);font-size:14px;line-height:20px;font-weight:500;text-align:left}
#draft-view .sph-agent-trace .sph-agent-chevron{margin-left:auto;transition:transform .15s}
#draft-view .sph-agent-trace[aria-expanded=false] .sph-agent-chevron{transform:rotate(-90deg)}
#draft-view .sph-agent-trace:hover .sph-agent-trace-label{color:var(--hd-text)}
#draft-view .sph-agent-tracebody{display:grid;grid-template-rows:1fr;transition:grid-template-rows .36s cubic-bezier(.2,.7,.2,1),margin-top .36s cubic-bezier(.2,.7,.2,1)}
#draft-view .sph-agent-tracebody-in{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden;transition:opacity .22s ease,transform .36s cubic-bezier(.2,.7,.2,1)}
#draft-view .sph-agent-tracebody[data-collapsed=true]{grid-template-rows:0fr;margin-top:-8px;pointer-events:none}
#draft-view .sph-agent-tracebody[data-collapsed=true] .sph-agent-tracebody-in{opacity:0;transform:translateY(-4px)}
#draft-view .sph-agent-input-area{padding:0 16px 16px;border-top:1px solid var(--hd-line)}
#draft-view .sph-agent-compose{display:flex;flex-direction:column;margin:12px 0 8px;padding:10px 12px;border:1px solid var(--hd-line);border-radius:14px;background:var(--hd-side)}
#draft-view .sph-agent-compose:focus-within{border-color:var(--hd-faint)}
#draft-view .sph-agent-compose label{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:16px;color:var(--hd-text);font-weight:500}
#draft-view .sph-agent-compose label span{color:var(--hd-muted);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#draft-view .sph-agent-compose textarea{display:block;width:100%;min-height:44px;max-height:220px;padding:8px 0;margin:2px 0 0;resize:none;overflow-y:auto;border:0;background:transparent;color:var(--hd-text);font-size:14px;line-height:1.6}
#draft-view .sph-agent-compose textarea::placeholder{color:var(--hd-muted)}
#draft-view .sph-agent-compose footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px solid var(--hd-line)}
#draft-view .sph-agent-compose-tools{display:flex;align-items:center;gap:6px;min-width:0;flex:1 1 auto;flex-wrap:wrap}
#draft-view .sph-agent-compose-actions{display:flex;align-items:center;gap:6px;flex:none;margin-left:auto}
#draft-view .sph-agent-compose button{min-height:32px;padding:0 10px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;color:var(--hd-body);font-size:12px;line-height:16px;font-weight:500}
#draft-view .sph-agent-compose button:hover{background:var(--hd-line-2)}
#draft-view .sph-agent-compose #hd-agent-mode[aria-pressed=true]{border-color:var(--hd-blue);color:var(--hd-blue);background:var(--hd-blue-bg)}
#draft-view .sph-agent-compose #hd-send{position:relative;display:inline-flex;align-items:center;gap:8px;padding:0 6px 0 12px;border:0;border-radius:16px;background:var(--hd-dark);color:#fff;font-weight:600}
#draft-view .sph-agent-compose #hd-send:hover{background:#0f141c}
#draft-view .sph-agent-compose #hd-send .ph{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#fff;color:var(--hd-dark);font-size:13px}
#draft-view .sph-agent-compose #hd-send[data-running=true]{background:var(--hd-line-2);color:var(--hd-body);opacity:1}
#draft-view .sph-agent-compose #hd-send[data-running=true] .ph{background:var(--hd-line);color:var(--hd-blue);animation:hd-spin 1s linear infinite}
#draft-view .sph-agent-compose #hd-send:disabled{cursor:default}
#draft-view .sph-shell-agent-note{margin:0;font-size:12px;line-height:18px;color:var(--hd-muted)}
#draft-view .sph-agent-compose .xmp-chip{height:32px}
@media (prefers-reduced-motion: reduce){#draft-view .sph-agent-tracebody,#draft-view .sph-agent-tracebody-in,#draft-view .sph-agent-group-bodywrap{transition:none}}

/* 읽기 보기: 표 · 흐름도 렌더 (VISUALS 문법) */
#draft-view .hd-view-toggle{display:flex;gap:2px;margin-left:auto;align-self:center;padding:2px;border-radius:8px;background:var(--hd-line-2)}
#draft-view .hd-view-toggle button{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:6px;font-size:12px;font-weight:600;color:var(--hd-body)}
#draft-view .hd-view-toggle button.is-on{background:#fff;color:var(--hd-text);box-shadow:0 1px 2px rgba(0,0,0,.06)}
#draft-view .hd-section-rich{margin-top:16px;font-size:16px;line-height:25.6px;color:var(--hd-text);cursor:text;min-height:52px}
#draft-view .hd-section-rich p{margin:0 0 10px;white-space:pre-wrap}
#draft-view .hd-section-rich p:last-child{margin-bottom:0}
#draft-view .hd-section-rich p.is-empty{color:var(--hd-muted)}
#draft-view .hd-rich-caption{font-size:13px;line-height:20.8px;font-weight:600;color:var(--hd-body);margin:4px 0 6px}
#draft-view .hd-rich-table{margin:6px 0 14px;overflow-x:auto}
#draft-view .hd-rich-table table{width:100%;border-collapse:collapse;font-size:14px;line-height:20px}
#draft-view .hd-rich-table th,#draft-view .hd-rich-table td{padding:8px 10px;border:1px solid var(--hd-line);text-align:left;vertical-align:top}
#draft-view .hd-rich-table th{background:var(--hd-line-2);font-weight:600;color:var(--hd-text)}
#draft-view .hd-rich-table td{color:var(--hd-text)}
#draft-view .hd-rich-flow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 14px;font-size:14px;line-height:20px}
#draft-view .hd-rich-flow span{padding:6px 12px;border:1px solid var(--hd-line);border-radius:999px;background:var(--hd-side);color:var(--hd-text)}
#draft-view .hd-rich-flow i{color:var(--hd-muted);font-size:16px}
#draft-view .hd-rich-table figcaption,#draft-view .hd-rich-visual-title{font-size:13px;line-height:20px;font-weight:600;color:var(--hd-body);margin:0 0 6px}
#draft-view .hd-rich-visual-title span{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;background:var(--hd-blue-bg);color:var(--hd-blue);font-size:11px;line-height:16px;font-weight:600}
#draft-view figure.hd-rich-table{margin:6px 0 14px;overflow:visible}
#draft-view .hd-rich-table-wrap{overflow-x:auto;scrollbar-width:none}
#draft-view .hd-rich-table-wrap::-webkit-scrollbar{display:none}
#draft-view .hd-rich-table th.is-num,#draft-view .hd-rich-table td.is-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#draft-view .hd-rich-table tr.is-total td{font-weight:600;background:var(--hd-side)}
#draft-view .hd-rich-note{margin-top:8px;font-size:13px;line-height:20px;color:var(--hd-body);padding-left:10px;border-left:2px solid var(--hd-blue)}
#draft-view .hd-rich-visual{margin:6px 0 14px}
#draft-view .hd-rich-visual .hd-rich-flow{margin:0}
#draft-view .hd-rich-flow span{display:inline-flex;align-items:center}
#draft-view .hd-rich-flow span b{display:inline-grid;place-items:center;width:18px;height:18px;margin-right:6px;border-radius:50%;background:var(--hd-blue);color:#fff;font-size:11px;font-weight:600;line-height:1}
#draft-view .hd-rich-funnel ol{list-style:none;margin:0;padding:0;display:grid;gap:4px}
#draft-view .hd-rich-funnel li{width:var(--w,100%);min-width:200px;max-width:100%;margin:0 auto;display:flex;justify-content:space-between;gap:12px;padding:8px 14px;border-radius:8px;background:var(--hd-blue-bg);border:1px solid var(--hd-line);font-size:14px;line-height:20px}
#draft-view .hd-rich-funnel li b{font-weight:600;color:var(--hd-text)}
#draft-view .hd-rich-funnel li span{color:var(--hd-blue);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
#draft-view .hd-rich-roadmap ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
#draft-view .hd-rich-roadmap li{position:relative;flex:1 1 130px;min-width:130px;padding:0 12px 8px 0;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:8px;font-size:13px;line-height:19px}
#draft-view .hd-rich-roadmap li::before{content:'';position:absolute;left:22px;right:0;top:11px;height:2px;background:var(--hd-line)}
#draft-view .hd-rich-roadmap li:last-child::before{display:none}
#draft-view .hd-rich-roadmap li i{grid-row:1/3;position:relative;z-index:1;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--hd-blue);color:#fff;font-style:normal;font-size:11px;font-weight:600}
#draft-view .hd-rich-roadmap li time{font-size:11px;line-height:16px;font-weight:600;color:var(--hd-blue);white-space:nowrap}
#draft-view .hd-rich-roadmap li span{color:var(--hd-text)}
#draft-view .hd-rich-ba-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:stretch}
#draft-view .hd-rich-ba-grid>div{padding:10px 14px;border-radius:8px;border:1px solid var(--hd-line);background:var(--hd-side)}
#draft-view .hd-rich-ba-grid>div.is-after{background:var(--hd-blue-bg);border-color:var(--hd-blue)}
#draft-view .hd-rich-ba-grid small{display:block;font-size:11px;line-height:16px;font-weight:600;color:var(--hd-muted);margin-bottom:4px}
#draft-view .hd-rich-ba-grid .is-after small{color:var(--hd-blue)}
#draft-view .hd-rich-ba-grid ul{margin:0;padding:0;list-style:none;font-size:14px;line-height:21px;color:var(--hd-text)}
#draft-view .hd-rich-ba-grid>i{align-self:center;color:var(--hd-blue);font-size:20px}
#draft-view .hd-rich-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
#draft-view .hd-rich-kpi-grid>div{padding:12px 14px;border-radius:8px;border:1px solid var(--hd-line);background:#fff}
#draft-view .hd-rich-kpi-grid b{display:block;font-size:20px;line-height:26px;font-weight:700;color:var(--hd-text);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
#draft-view .hd-rich-kpi-grid span{display:block;font-size:12px;line-height:17px;color:var(--hd-body);margin-top:2px}
#draft-view .hd-rich-canvas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
#draft-view .hd-rich-canvas-grid>div{padding:10px 12px;border-radius:8px;border:1px solid var(--hd-line);background:var(--hd-side);min-height:64px}
#draft-view .hd-rich-canvas-grid small{display:block;font-size:11px;line-height:16px;font-weight:600;color:var(--hd-blue);margin-bottom:3px}
#draft-view .hd-rich-canvas-grid p{margin:0;font-size:13px;line-height:19px;color:var(--hd-text);white-space:normal}
@media (max-width:640px){#draft-view .hd-rich-canvas-grid{grid-template-columns:1fr 1fr}#draft-view .hd-rich-ba-grid{grid-template-columns:1fr}#draft-view .hd-rich-ba-grid>i{transform:rotate(90deg);justify-self:center}}
#draft-view .sph-agent-compose #hd-agent-mode[data-mode=visualize]{border-color:var(--hd-blue);color:var(--hd-blue);background:var(--hd-blue-bg)}
#draft-view .sph-agent-compose #hd-agent-mode[data-mode=polish]{border-color:var(--hd-blue);color:var(--hd-blue);background:var(--hd-blue-bg)}

/* 심사평 카드 · 자가진단 표 · 스킬 검수 버튼 */
#draft-view .hd-judges{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding-top:24px}
#draft-view .hd-judge{padding:20px;border:1px solid var(--hd-line);border-radius:12px;background:#fff}
#draft-view .hd-judge-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#draft-view .hd-judge-head b{font-size:15px;line-height:24px;font-weight:600}
#draft-view .hd-judge-head em{font-style:normal;padding:2px 8px;border-radius:6px;background:var(--hd-line-2);font-size:12px;font-weight:600;color:var(--hd-body)}
#draft-view .hd-judge[data-verdict='통과'] .hd-judge-head em{background:var(--hd-blue-bg);color:var(--hd-blue)}
#draft-view .hd-judge[data-verdict='탈락'] .hd-judge-head em{background:#FEF2F2;color:var(--hd-red)}
#draft-view .hd-judge p{padding-top:10px;font-size:14px;line-height:22.4px;color:var(--hd-body)}
#draft-view .hd-h3-sub{margin-left:8px;font-size:12px;font-weight:500;color:var(--hd-muted)}
#draft-view .hd-audit{padding-top:16px;overflow-x:auto}
#draft-view .hd-audit table{width:100%;border-collapse:collapse;font-size:13px;line-height:18px}
#draft-view .hd-audit th,#draft-view .hd-audit td{padding:6px 8px;border-bottom:1px solid var(--hd-line);text-align:center;white-space:nowrap}
#draft-view .hd-audit th{font-size:12px;font-weight:600;color:var(--hd-body);background:var(--hd-line-2)}
#draft-view .hd-audit td:first-child,#draft-view .hd-audit th:first-child{text-align:left}
#draft-view .hd-audit td.is-ok{color:var(--hd-blue);font-weight:600}
#draft-view .hd-audit td.is-miss{color:var(--hd-muted)}
#draft-view .sph-agent-compose #hd-agent-audit{white-space:nowrap}
#draft-view .hd-reason-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px solid var(--hd-line);border-radius:8px;background:#fff;font-size:12px;line-height:16px;font-weight:500;color:var(--hd-body);white-space:nowrap}
#draft-view .hd-reason-btn i{font-size:15px}
#draft-view .hd-reason-btn[data-reasoning=true]{border-color:var(--hd-blue);color:var(--hd-blue);background:var(--hd-blue-bg)}
#draft-view .hd-reason-btn[data-reasoning=false]{color:var(--hd-muted)}
#draft-view .hd-foot-tools .hd-reason-btn,#draft-view .hd-foot-left .hd-reason-btn{height:36px}
#draft-view .sph-agent-tool[data-state=error] .sph-agent-tool-arg{color:var(--hd-red)}

#draft-view .hd-questions{display:flex;flex-direction:column;gap:10px;padding-top:24px}
#draft-view .hd-question{padding:16px 20px;border:1px solid var(--hd-line);border-radius:12px;background:var(--hd-side)}
#draft-view .hd-question b{display:block;font-size:15px;line-height:24px;font-weight:600}
#draft-view .hd-question p{padding-top:6px;font-size:14px;line-height:22.4px;color:var(--hd-body)}
#draft-view .hd-judge .hd-link-btn,#draft-view .hd-question .hd-link-btn{padding-top:10px}
#draft-view .sph-agent-review .sph-agent-answercard-choices{margin-top:12px}
@media (max-width:1000px){#draft-view .hd{grid-template-columns:minmax(0,1fr)}#draft-view .hd-side{display:none}#draft-view .hd-cards{grid-template-columns:1fr}}
