:root{
  --bg:#f3f6fa;
  --surface:#fff;
  --paper:#fff;
  --text:#111827;
  --sub:#64748b;
  --line:#dbe4ee;
  --line-soft:#e9eef5;
  --blue:#2563eb;
  --blue-dark:#1d4ed8;
  --blue-soft:#eff6ff;
  --danger:#e5484d;
  --shadow-soft:0 8px 24px rgba(15,23,42,.055);
  --paper-shadow:0 12px 30px rgba(15,23,42,.065);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Pretendard","SUIT",-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",Arial,sans-serif;color:var(--text);background:var(--bg)}
body.modal-open{overflow:hidden}
button,input,textarea{font:inherit}
.app{width:min(1240px,calc(100% - 32px));margin:0 auto;padding:14px 0 52px}
.sticky-bar{position:sticky;top:0;z-index:200;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e8edf5;box-shadow:none}
.sticky-bar.is-scrolled{box-shadow:0 10px 26px rgba(15,23,42,.05)}
.sticky-inner{width:min(1240px,calc(100% - 32px));min-height:66px;margin:0 auto;padding:7px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}
.sticky-brand-block{min-width:0;display:flex;flex-direction:column;gap:4px}
.sticky-title-row{display:flex;align-items:center;gap:9px;min-width:0}
.sticky-app-icon{font-size:20px;line-height:1}
.sticky-app-name{color:#0f172a;font-size:22px;font-weight:800;letter-spacing:-.05em;line-height:1.1}
.sticky-version{display:inline-block;color:#718096;font-size:12.5px;font-weight:700;line-height:1.2}
.sticky-subtitle{margin:0;color:#64748b;font-size:12px;font-weight:600;line-height:1.35;letter-spacing:-.02em}
.sticky-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto}
.header-action-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;height:38px;padding:0 14px;border-radius:12px;border:1px solid #e1e7f0;background:#fff;color:#1f2937;text-decoration:none;font-size:12.5px;font-weight:850;cursor:pointer;transition:.15s ease}
.header-action-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#0f172a;transform:translateY(-1px)}
.header-action-btn:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}
.panel{background:var(--surface);border:1px solid var(--line-soft);border-radius:20px;box-shadow:var(--shadow-soft)}
.title-panel{padding:10px 18px;margin:0 0 12px;background:#fbfcfe;border-radius:15px;box-shadow:none}
.title-inline-field{display:grid;grid-template-columns:auto minmax(0,850px) auto minmax(16px,1fr) auto;gap:10px;align-items:center}
.title-action-spacer{min-width:0}
.title-reset-btn{justify-self:end;min-height:32px;padding:0 11px}
.title-inline-label{color:#334155;font-size:13px;font-weight:900;letter-spacing:-.025em}
.title-inline-input{height:38px;border-radius:10px;font-size:13.5px;background:#fff}
.title-file-hint{color:#94a3b8;font-size:11.5px;font-weight:650;white-space:nowrap}
.workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.input-column,.preview-column{min-width:0}
.source-panel{padding:18px;background:#f8fafc;border-color:#dfe7f0}
.source-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.source-head-copy{min-width:0}
.source-head-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.source-reset-btn{min-height:30px;padding:0 10px;border:1px solid #d8e0e9;border-radius:999px;background:#fff;color:#64748b;font-size:11.5px;font-weight:850;white-space:nowrap;cursor:pointer;transition:.14s ease}
.source-reset-btn:hover{border-color:#f4b8bb;background:#fff8f8;color:#c24145}
.source-reset-btn.is-demo-exit{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.source-reset-btn.is-demo-exit:hover{border-color:#93c5fd;background:#dbeafe;color:#1e40af}
.source-reset-btn:focus-visible{outline:3px solid rgba(37,99,235,.15);outline-offset:2px}
.document-kicker{display:block;margin:0 0 4px;color:#64748b;font-size:11.5px;font-weight:900;letter-spacing:.01em}
.source-head h2,.result-head h2{margin:0;color:#0f172a;font-size:19px;line-height:1.25;letter-spacing:-.045em}
.source-head p,.result-head p{margin:5px 0 0;color:#64748b;font-size:12.5px;line-height:1.5;font-weight:550;letter-spacing:-.02em}
.local-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d;font-size:11.5px;font-weight:850;white-space:nowrap}
.mode-switch,.result-action-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:100%;margin:0 0 12px;padding:4px;border:1px solid #dce5ef;border-radius:13px;background:#eaf0f6}
.mode-btn,.result-action-btn{min-height:42px;padding:0 13px;border:0;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:850;cursor:pointer;transition:.15s ease}
.mode-btn{background:transparent;color:#64748b}
.mode-btn:hover{color:#334155;background:rgba(255,255,255,.5)}
.mode-btn.is-active{background:#fff;color:#1d4ed8;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.result-action-btn{background:#fff;color:#1d4ed8;box-shadow:0 2px 8px rgba(15,23,42,.06)}
.result-action-btn:hover{color:#1e40af;background:#f8fbff;box-shadow:0 4px 12px rgba(37,99,235,.1)}
.result-action-btn:focus-visible{outline:3px solid rgba(37,99,235,.16);outline-offset:1px}
.source-mode-pane{min-width:0}
.paper-caption{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 8px}
.paper-caption strong{color:#334155;font-size:12.5px;font-weight:900}
.paper-caption span{color:#94a3b8;font-size:11.5px;font-weight:600;text-align:right}
.input,.textarea{width:100%;border:1px solid var(--line);background:#fbfdff;color:var(--text);border-radius:11px;padding:9px 11px;font-size:14px;outline:none;transition:.15s ease}
.input{height:40px}
.input:focus,.textarea:focus{border-color:#93b4f8;box-shadow:0 0 0 4px rgba(37,99,235,.08);background:#fff}
.textarea{min-height:40px;max-height:240px;resize:none;overflow:hidden;line-height:1.45}
.document-input{min-height:500px;max-height:none;resize:vertical;overflow:auto;padding:24px 26px;border-radius:6px;background:#fff;border:1px solid #d8e0e9;box-shadow:var(--paper-shadow);font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif;font-size:14px;line-height:1.68;white-space:pre-wrap}
.document-input::placeholder{color:#526073;opacity:1}
.mode-sub-actions{display:flex;justify-content:flex-end;margin-top:9px}
.action-anchor{display:none}
.source-action-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:11px 11px 11px 13px;border:1px solid #bfd6ff;border-radius:14px;background:rgba(239,246,255,.97);box-shadow:0 8px 22px rgba(37,99,235,.08);backdrop-filter:blur(10px)}
.source-action-copy{min-width:0;display:flex;align-items:center;gap:9px}
.source-action-step{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#2563eb;color:#fff;font-size:11px;font-weight:950;box-shadow:0 5px 12px rgba(37,99,235,.18)}
.source-action-help{margin:0;color:#3f5f91;font-size:12.5px;line-height:1.45;font-weight:750}
.source-primary-btn{flex:0 0 auto;min-width:218px;min-height:50px;padding:0 22px;border-radius:12px;font-size:14.5px;letter-spacing:-.02em;box-shadow:0 10px 24px rgba(37,99,235,.22)}
@media (min-width:901px){.source-action-row{position:sticky;top:78px;z-index:35}}
.compact-guide{margin-top:10px;padding:10px 12px;border-radius:11px;background:#f3f6f9;border:1px solid #e7edf3;display:flex;flex-wrap:wrap;gap:5px 14px;color:#7a8796;font-size:11.5px;line-height:1.45}
.compact-guide strong{color:#475569}
.paper-section{padding:18px 2px 0}
.paper-section+.paper-section{margin-top:18px;padding-top:18px;border-top:1px solid #e8edf3}
.paper-line-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.paper-line-head h2{margin:0;font-size:16px;line-height:1.2;letter-spacing:-.03em}
.paper-line-head .head-text{flex:1 1 auto;min-width:0}
.hint{margin:0;color:var(--sub);font-size:12px;line-height:1.45;font-weight:500;text-align:right}
.stack{display:grid;gap:8px}.indent-one{margin-left:24px}.nested-block{margin-top:14px;margin-left:24px}
.sentence-line{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start}.sentence-number{min-height:40px;display:flex;align-items:center;color:#111827;font-size:17px;font-weight:950}.sentence-textarea{min-height:42px;padding-top:10px;padding-bottom:10px}.main-section .nested-block{margin-left:16px;margin-top:12px}
.item-list{display:grid;grid-template-columns:1fr;gap:8px}.field{display:grid;grid-template-columns:30px 88px minmax(0,1fr);gap:12px;align-items:center}.item-marker{display:flex;align-items:center;min-height:42px;color:#111827;font-size:13.5px;font-weight:900}.item-label{display:flex;align-items:center;min-height:42px;margin:0;color:#111827;font-size:13.5px;font-weight:900;white-space:nowrap}.field .textarea{min-height:42px;padding-top:10px;padding-bottom:10px}.custom-field{grid-template-columns:30px 88px minmax(0,1fr)}.body-label-input{height:42px;padding-inline:10px;font-size:13.5px;font-weight:700;min-width:0}
.body-add-row{display:flex;align-items:center;gap:10px;margin-top:10px}.body-add-btn{min-height:38px;padding-inline:14px}.body-add-limit{text-align:left;color:#9aa5b1}
.paper-subtitle{margin:0;font-size:15px;font-weight:950;letter-spacing:-.03em;color:#172033}.attach-layout{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start}.attach-title{padding-top:39px;color:#111827;font-size:16px}.attach-guide{display:flex;justify-content:flex-end;min-height:22px;align-items:center;margin:0 0 8px}.attach-editor{display:grid;grid-template-columns:minmax(0,1fr) 164px;gap:14px;align-items:start}.attach-list{display:grid;gap:8px}.attach-list .textarea{min-height:42px;padding-top:10px;padding-bottom:10px}.attach-side-actions{display:flex}.attach-side-actions .attach-add-btn{width:100%;height:42px}.attach-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start}.attach-marker{min-height:42px;display:flex;align-items:center;color:#111827;font-size:14px;font-weight:950}.attach-row .textarea{min-height:42px;padding-top:10px;padding-bottom:10px}
.soft-btn,.primary-btn,.secondary-btn,.reset-btn{border:0;border-radius:11px;cursor:pointer;font-weight:900;transition:.14s ease}
.soft-btn{padding:9px 12px;background:var(--blue-soft);color:var(--blue-dark);border:1px solid #cfe0ff}.soft-btn:hover{background:#e4efff}.inline-btn{flex:0 0 auto;font-size:12.5px;white-space:nowrap}
.primary-btn{padding:12px 16px;color:#fff;background:var(--blue);box-shadow:0 10px 22px rgba(37,99,235,.18)}.primary-btn:hover{background:var(--blue-dark);transform:translateY(-1px)}
.secondary-btn{padding:9px 12px;color:#1e3a8a;background:#fff;border:1px solid #cfe0ff}.secondary-btn:hover{background:#f3f8ff}
.reset-safe-zone{margin-top:20px;padding-top:16px;border-top:1px solid #eef2f7;display:flex;align-items:center;justify-content:flex-end;gap:10px}.reset-safe-note{margin:0;color:#9aa5b1;font-size:12px}.reset-safe-btn{min-height:32px;padding:0 12px;border-radius:999px;background:#fff;color:#94a3b8;border:1px solid #e5eaf1;font-size:11.5px;font-weight:800}.reset-safe-btn:hover{color:#dc2626;background:#fffafa;border-color:#fecaca}
.preview-column{position:relative}
.result-panel{position:sticky;top:84px;max-height:calc(100vh - 100px);display:flex;flex-direction:column;padding:18px;background:#f8fafc;border-color:#dfe7f0}
.section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:8px}.result-head{align-items:flex-start;margin-bottom:12px}.status-line{min-height:30px;display:flex;align-items:center;justify-content:flex-end;margin:0 2px 8px}.status{font-size:11.5px;color:var(--sub);background:#fff;border:1px solid #e2e8f0;padding:5px 9px;border-radius:999px}.status.is-success{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.status.is-error{color:#b91c1c;background:#fff7f7;border-color:#fecaca}
.document-sheet{position:relative;min-width:0;background:#fff;border:1px solid #d8e0e9;border-radius:6px;box-shadow:var(--paper-shadow);overflow:hidden}
.result-sheet{flex:1 1 auto;min-height:500px}
.result{width:100%;height:100%;min-height:500px;max-height:none;overflow:auto;white-space:pre-wrap;word-break:keep-all;margin:0;padding:24px 26px;border:0;border-radius:0;background:#fff;color:#111827;font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif;font-size:14px;line-height:1.68;outline:none;resize:none}
.result:focus{box-shadow:inset 0 0 0 2px rgba(37,99,235,.18);background:#fff}
.result::selection{background:#dbeafe}
.result-edit-note{margin:9px 2px 0;color:#7b8794;font-size:11.5px;line-height:1.45;font-weight:600}
.empty-preview{min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:#94a3b8;background:#fff}.empty-preview-icon{font-size:34px;opacity:.72;margin-bottom:10px}.empty-preview-title{color:#64748b;font-size:14px}.empty-preview-desc{margin:6px 0 0;max-width:270px;font-size:12px;line-height:1.55}.result-panel.is-empty .result{display:none}.result-panel:not(.is-empty) .empty-preview{display:none}
.money-preview-badge{grid-column:3/4;justify-self:start;margin-top:-2px;padding:6px 10px;border-radius:10px;background:#eef6ff;border:1px solid #cfe0ff;color:#1d4ed8;font-size:12.5px;font-weight:900}.money-preview-badge[hidden]{display:none}
.toast{position:fixed;left:50%;bottom:26px;z-index:400;transform:translate(-50%,18px);opacity:0;pointer-events:none;min-height:44px;padding:0 17px;border-radius:999px;background:#0f172a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:850;box-shadow:0 14px 34px rgba(15,23,42,.2);transition:.18s ease}.toast.is-visible{opacity:1;transform:translate(-50%,0)}.toast.is-error{background:#b91c1c}
.floating-top-btn{position:fixed;right:22px;bottom:22px;z-index:190;width:42px;height:42px;border-radius:15px;border:1px solid #d7e6ff;background:#fff;color:#1d4ed8;box-shadow:0 12px 28px rgba(15,23,42,.12);font-size:18px;font-weight:950;opacity:0;pointer-events:none;transform:translateY(8px);transition:.15s ease}.floating-top-btn.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.help-modal[hidden]{display:none}
.help-modal{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:24px;background:rgba(15,23,42,.46);backdrop-filter:blur(7px);animation:helpFadeIn .16s ease-out}
.help-dialog{width:min(720px,100%);max-height:min(860px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.75);border-radius:24px;background:#fff;box-shadow:0 32px 90px rgba(15,23,42,.24);animation:helpDialogIn .2s ease-out}
.help-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #edf1f6;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.help-title-wrap{display:flex;align-items:center;gap:13px;min-width:0}.help-app-mark{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#2563eb;color:#fff;font-size:18px;font-weight:950;box-shadow:0 10px 22px rgba(37,99,235,.22)}
.help-eyebrow{display:block;margin-bottom:3px;color:#2563eb;font-size:10px;font-weight:950;letter-spacing:.12em}.help-title-wrap h2{margin:0;color:#0f172a;font-size:21px;line-height:1.2;letter-spacing:-.045em}
.help-close-btn{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#64748b;font-size:24px;line-height:1;cursor:pointer}.help-close-btn:hover{background:#f8fafc;color:#0f172a}.help-close-btn:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}
.help-content{overflow:auto;padding:22px 24px 8px}.help-intro{margin:0 0 22px;padding:15px 16px;border:1px solid #dbeafe;border-radius:14px;background:#f5f9ff;color:#334155;font-size:13.5px;font-weight:650;line-height:1.65;letter-spacing:-.02em}
.help-section{padding:0 0 22px}.help-section+.help-section{padding-top:20px;border-top:1px solid #edf1f6}.help-section-head{display:flex;align-items:center;gap:9px;margin-bottom:12px}.help-section-number{color:#2563eb;font-size:10px;font-weight:950;letter-spacing:.08em}.help-section-head h3{margin:0;color:#172033;font-size:15px;line-height:1.25;letter-spacing:-.035em}
.quick-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0;padding:0;list-style:none}.quick-steps li{min-width:0;padding:14px;border:1px solid #e5eaf1;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.035)}.step-number{width:25px;height:25px;display:grid;place-items:center;margin-bottom:10px;border-radius:8px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:950}.quick-steps strong{display:block;color:#1e293b;font-size:12.5px;line-height:1.35}.quick-steps p{margin:5px 0 0;color:#7a8796;font-size:11.5px;line-height:1.55;word-break:keep-all}
.help-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.help-mode-card{padding:15px;border:1px solid #e3e9f1;border-radius:15px;background:#fbfcfe}.help-mode-card.is-primary{border-color:#bfdbfe;background:#f6faff}.mode-card-label{display:inline-flex;align-items:center;min-height:22px;margin-bottom:9px;padding:0 8px;border-radius:999px;background:#eef2f7;color:#64748b;font-size:10px;font-weight:900}.is-primary .mode-card-label{background:#dbeafe;color:#1d4ed8}.help-mode-card h4{margin:0;color:#172033;font-size:13.5px;letter-spacing:-.025em}.help-mode-card p{margin:5px 0 0;color:#718096;font-size:11.5px;line-height:1.55;word-break:keep-all}
.help-chip-list{display:flex;flex-wrap:wrap;gap:7px}.help-chip-list span{display:inline-flex;align-items:center;min-height:31px;padding:0 11px;border:1px solid #dce5f0;border-radius:10px;background:#f8fafc;color:#334155;font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif;font-size:12px;font-weight:800}.help-detail{margin:10px 0 0;color:#7a8796;font-size:11.5px;line-height:1.6}
.help-notice{display:flex;align-items:flex-start;gap:11px;margin-bottom:10px;padding:14px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff}.notice-icon{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#2563eb;color:#fff;font-size:12px;font-weight:950}.help-notice strong{display:block;color:#1e3a8a;font-size:12.5px}.help-notice p{margin:4px 0 0;color:#64748b;font-size:11.5px;line-height:1.55}
.update-history{margin:10px 0 0;border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow:hidden}
.update-history summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;cursor:pointer;color:#475569;font-size:11.8px;font-weight:850;list-style:none}
.update-history summary::-webkit-details-marker{display:none}
.update-history summary::after{content:'+';color:#94a3b8;font-size:16px;font-weight:700;line-height:1}
.update-history[open] summary::after{content:'−'}
.update-history-current{color:#2563eb;font-size:10.8px;font-weight:800}
.update-history-list{margin:0;padding:0 14px 12px;list-style:none;border-top:1px solid #edf2f7}
.update-history-list li{display:grid;grid-template-columns:68px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #f1f5f9;color:#64748b;font-size:11px;line-height:1.45}
.update-history-list li:last-child{border-bottom:0;padding-bottom:0}
.update-history-list strong{color:#334155;font-size:10.8px}

.privacy-notice{display:flex;align-items:flex-start;gap:9px;margin-bottom:12px;padding:12px 14px;border-radius:13px;background:#f0fdf4;color:#166534}.privacy-notice>span{margin-top:5px;color:#22c55e;font-size:8px}.privacy-notice p{margin:0;font-size:11.5px;line-height:1.55}.privacy-notice strong{font-weight:950}
.help-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px 20px;border-top:1px solid #edf1f6;background:#fff}.help-credit{margin:0;color:#94a3b8;font-size:11.5px;font-weight:650;letter-spacing:-.015em}.help-credit strong{color:#64748b;font-weight:850}.help-confirm-btn{min-width:118px;min-height:42px;padding:0 18px;border-radius:12px;font-size:13px}
@keyframes helpFadeIn{from{opacity:0}to{opacity:1}}@keyframes helpDialogIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

/* v1.13.2 · 핵심 CTA 위치/가시성 개선 (이전 변경) */
/* 입력 직후에 핵심 버튼을 배치하고, 데스크톱에서는 긴 입력 중에도 하단에 유지합니다. */

/* v1.13.1 · 좌우 5:5 정렬 */
.input-column,.preview-column{align-self:start}
.source-panel,.result-panel{width:100%}

@media (max-width:1040px){
  .workbench{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
  .app,.sticky-inner{width:min(1180px,calc(100% - 24px))}
  .document-input,.result,.empty-preview{min-height:460px}
  .result-sheet{min-height:460px}
}
@media (max-width:900px){
  .workbench{grid-template-columns:1fr}
  .result-panel{position:static;max-height:none}
  .document-input{min-height:340px}
  .result-sheet,.result,.empty-preview{min-height:320px}
}
@media (max-width:720px){
  .sticky-inner{width:min(100% - 20px,1240px);min-height:60px;padding:7px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.sticky-brand-block{gap:3px}.sticky-title-row{gap:7px}.sticky-app-icon{font-size:18px}.sticky-app-name{font-size:20px}.sticky-version{font-size:11.5px}.sticky-subtitle{font-size:11px;white-space:nowrap}.sticky-actions{width:auto;display:flex;justify-content:flex-end;gap:6px;align-self:center}.header-action-btn{width:auto;min-height:34px;height:34px;padding:0 10px;border-radius:10px;font-size:11.5px}.app{width:min(100% - 20px,1240px);padding-top:10px}
  .title-inline-field{grid-template-columns:42px minmax(0,1fr) auto}.title-inline-input{grid-column:2/4}.title-file-hint{grid-column:2/3}.title-action-spacer{display:none}.title-reset-btn{grid-column:3;justify-self:end}
  .source-panel,.result-panel{padding:14px;border-radius:17px}
  .source-head{gap:8px}.local-badge{display:none}
  .mode-btn{min-height:44px;font-size:12.5px}
  .paper-caption{display:block}.paper-caption span{display:block;margin-top:3px;text-align:left}
  .document-input{min-height:310px;padding:18px 16px;font-size:16px;line-height:1.62}
  .source-action-row{align-items:stretch;flex-direction:column}.source-action-help{text-align:left}.source-primary-btn{width:100%;min-width:0;min-height:50px;font-size:15px}
  .compact-guide{display:grid;gap:4px}
  .paper-line-head{flex-direction:column;align-items:stretch;gap:8px}.inline-btn{width:100%}.indent-one,.nested-block{margin-left:12px}.sentence-line{grid-template-columns:24px minmax(0,1fr);gap:6px}.main-section .nested-block{margin-left:14px}.field,.custom-field{grid-template-columns:1fr;gap:5px}.item-marker,.item-label{min-height:auto;margin-left:2px}.body-label-input{width:100%}
  .attach-layout{grid-template-columns:1fr;gap:8px}.attach-title{padding-top:0}.attach-guide{justify-content:flex-start}.attach-guide .hint{text-align:left}.attach-editor{grid-template-columns:1fr;gap:10px}.attach-row{grid-template-columns:24px minmax(0,1fr);gap:6px}.attach-add-btn{width:100%}.reset-safe-zone{align-items:stretch;flex-direction:column;gap:8px}.reset-safe-note{text-align:right}.reset-safe-btn{align-self:flex-end}
  .result-head{flex-direction:column}.status-line{justify-content:flex-start}
  .result-sheet,.result,.empty-preview{min-height:300px}.result{padding:20px 16px;font-size:16px;line-height:1.62}
  .floating-top-btn{right:14px;bottom:14px;width:40px;height:40px;border-radius:14px}
  .money-preview-badge{grid-column:1/-1;margin-left:32px}
  .help-modal{place-items:end center;padding:12px}.help-dialog{max-height:calc(100vh - 24px);border-radius:22px}.help-header{padding:18px 18px 15px}.help-content{padding:18px 18px 6px}.quick-steps{grid-template-columns:1fr}.quick-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;padding:12px}.step-number{margin:0}.help-mode-grid{grid-template-columns:1fr}.help-footer{align-items:stretch;flex-direction:column;padding:12px 18px 16px}.help-credit{text-align:center}.help-confirm-btn{width:100%}
}
@media (max-width:480px){
  .sticky-inner{width:min(100% - 16px,1240px);gap:6px}.sticky-title-row{gap:6px}.sticky-app-icon{font-size:17px}.sticky-app-name{font-size:19px}.sticky-version{font-size:10.5px}.sticky-subtitle{font-size:10px}.sticky-actions{display:flex;gap:5px}.header-action-btn{width:auto;min-height:32px;height:32px;padding:0 8px;font-size:11px}
  .title-inline-field{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}.title-inline-label{grid-column:1/-1}.title-inline-input{grid-column:1/-1}.title-file-hint{grid-column:1}.title-reset-btn{grid-column:2;justify-self:end}.mode-switch,.result-action-switch{grid-template-columns:1fr}.mode-btn,.result-action-btn{justify-content:flex-start;padding-left:14px}
  .reset-safe-btn{width:100%}
}
@media print{
  body{background:#fff}.sticky-bar,.floating-top-btn,.help-modal,.title-panel,.input-column,.result-action-switch,.status-line,.section-head p,.document-kicker,.result-edit-note,.toast{display:none!important}.app{width:100%;padding:0}.workbench{display:block}.result-panel{box-shadow:none;border:0;padding:0;margin:0;display:block!important;position:static;max-height:none;background:#fff}.document-sheet{border:0;box-shadow:none}.result{border:0;padding:0;font-size:12pt;line-height:1.7;min-height:0;height:auto!important;overflow:visible;resize:none}
}

/* v1.13.0 · 체험하기 */
.demo-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;margin:0 0 12px;padding:13px 14px;border:1px solid #d8e6fb;border-radius:16px;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 62%,#eff6ff 100%);box-shadow:0 7px 20px rgba(37,99,235,.055);transition:.16s ease}
.demo-card:hover{border-color:#c3d9fb;box-shadow:0 10px 26px rgba(37,99,235,.08)}
.demo-card.is-active{border-color:#bfd6ff;background:linear-gradient(135deg,#ffffff 0%,#f4f8ff 56%,#eaf3ff 100%)}
.demo-card-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#2563eb;color:#fff;font-size:17px;font-weight:950;box-shadow:0 8px 18px rgba(37,99,235,.18)}
.demo-card-copy{min-width:0}.demo-card-title-row{display:flex;align-items:center;gap:8px;min-width:0}.demo-card-title-row strong{color:#172033;font-size:13.5px;line-height:1.3;letter-spacing:-.03em}.demo-card-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#2563eb;font-size:10.5px;font-weight:900;white-space:nowrap}.demo-card.is-active .demo-card-badge{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.demo-card-copy p{margin:4px 0 0;color:#64748b;font-size:11.8px;line-height:1.45;font-weight:600;letter-spacing:-.018em;word-break:keep-all}
.demo-btn{min-height:40px;padding:0 13px 0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #c9dcfb;border-radius:11px;background:#fff;color:#1d4ed8;font-size:12.5px;font-weight:900;white-space:nowrap;cursor:pointer;box-shadow:0 3px 10px rgba(37,99,235,.055);transition:.14s ease}.demo-btn:hover{background:#2563eb;border-color:#2563eb;color:#fff;transform:translateY(-1px);box-shadow:0 8px 18px rgba(37,99,235,.16)}.demo-btn:focus-visible{outline:3px solid rgba(37,99,235,.16);outline-offset:2px}.demo-btn-arrow{font-size:15px;line-height:1;transition:transform .14s ease}.demo-btn:hover .demo-btn-arrow{transform:translateX(2px)}
.demo-result-notice[hidden]{display:none}.demo-result-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-1px 0 10px;padding:10px 11px;border:1px solid #cfe0ff;border-radius:12px;background:#f4f8ff}.demo-result-copy{display:flex;align-items:center;gap:9px;min-width:0}.demo-result-mark{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#2563eb;color:#fff;font-size:11px;font-weight:950}.demo-result-copy div{min-width:0}.demo-result-copy strong{display:block;color:#1e3a8a;font-size:11.8px;line-height:1.25}.demo-result-copy span:not(.demo-result-mark){display:block;margin-top:2px;color:#64748b;font-size:10.8px;line-height:1.35;word-break:keep-all}.demo-exit-btn{flex:0 0 auto;min-height:32px;padding:0 10px;border:1px solid #d7e3f4;border-radius:9px;background:#fff;color:#334155;font-size:10.8px;font-weight:850;cursor:pointer;transition:.14s ease}.demo-exit-btn:hover{border-color:#bfd2ee;background:#fff;color:#1d4ed8}.demo-exit-btn:focus-visible{outline:3px solid rgba(37,99,235,.14);outline-offset:1px}

@media (max-width:720px){
  .demo-card{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:12px}.demo-card-icon{width:38px;height:38px;border-radius:12px}.demo-btn{grid-column:1/-1;width:100%;min-height:43px}.demo-result-notice{align-items:stretch;flex-direction:column}.demo-exit-btn{width:100%;min-height:36px}
}
@media (max-width:480px){
  .demo-card-title-row{align-items:flex-start;flex-direction:column;gap:5px}.demo-card-badge{min-height:20px}.demo-card-copy p{font-size:11.5px}
}
@media print{.demo-card,.demo-result-notice{display:none!important}}


/* v1.13.3 · CTA를 입력 전 노출 + 상단 초기화 동선 */
@media (max-width:900px){
  .source-head{align-items:flex-start}
  .source-head-actions{max-width:46%;gap:6px}
  .source-action-row{align-items:stretch;flex-direction:column;padding:11px}
  .source-action-copy{align-items:flex-start}
  .source-primary-btn{width:100%;min-width:0;min-height:50px}
}
@media (max-width:560px){
  .source-head{flex-direction:column}
  .source-head-actions{width:100%;max-width:none;justify-content:space-between}
}

/* v1.13.4 · 정리 전/후 비교형 작업화면 + 체험하기 하단 이동 */
@media (min-width:901px){
  .workbench{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
  .source-panel,.result-panel{position:static;max-height:none;height:auto}
  .source-head,.result-head{min-height:72px;margin-bottom:12px}
  .mode-switch,.result-action-switch{min-height:50px;margin-bottom:12px}
  .source-action-row,.status-line{min-height:62px;margin-bottom:12px}
  .source-action-row{position:static;padding:7px 8px 7px 11px}
  .source-primary-btn{min-height:46px}
  .status-line{justify-content:flex-end;padding:7px 2px}
  .document-input,.result-sheet,.result,.empty-preview{min-height:520px}
  .document-input{height:520px;resize:vertical}
  .result-sheet{height:520px;flex:none;margin-top:0}
  .result{height:100%}
  .compare-kicker{color:#2563eb}
  .input-column,.preview-column{position:relative}
  .result-panel{padding-top:20px}
  .result-head{margin-top:-2px}
  .input-column::after{content:'→';position:absolute;right:-17px;top:248px;z-index:8;width:28px;height:28px;display:grid;place-items:center;border:1px solid #cfe0ff;border-radius:999px;background:#fff;color:#2563eb;font-size:16px;font-weight:950;box-shadow:0 6px 16px rgba(37,99,235,.12);pointer-events:none}
  .paper-caption{margin-top:10px;margin-bottom:0;min-height:28px}
  .demo-result-notice{display:none!important}
}

.cta-arrow{display:inline-block;margin-left:4px;font-size:16px;line-height:1;transition:transform .14s ease}
.source-primary-btn:hover .cta-arrow{transform:translateX(3px)}
.demo-card-bottom{margin:20px 0 0;background:#fbfcfe;border-color:#e2e8f0;box-shadow:none}
.demo-card-bottom:hover{border-color:#d3dce8;box-shadow:0 7px 20px rgba(15,23,42,.045)}
.demo-card-bottom .demo-card-icon{background:#64748b;box-shadow:none}
.demo-card-bottom .demo-btn{border-color:#d8e0e9;color:#475569;box-shadow:none}
.demo-card-bottom .demo-btn:hover{background:#334155;border-color:#334155;color:#fff;box-shadow:0 7px 18px rgba(51,65,85,.14)}

@media (max-width:900px){
  .input-column::after{display:none}
  .demo-card-bottom{margin-top:14px}
}


/* v1.13.21 · Figma-style visual refinement (layout values intentionally preserved) */
:root{
  --bg:#F7F8FA;
  --surface:#FFFFFF;
  --paper:#FFFFFF;
  --text:#18181B;
  --sub:#71717A;
  --line:#E5E7EB;
  --line-soft:#E9EAEE;
  --blue:#2563EB;
  --blue-dark:#1D4ED8;
  --blue-soft:#EFF6FF;
  --shadow-soft:0 1px 2px rgba(15,23,42,.025);
  --paper-shadow:0 4px 16px rgba(15,23,42,.045);
}
body{background:var(--bg)}
.ui-icon{width:16px;height:16px;display:inline-block;flex:0 0 auto;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}
.ui-icon-arrow{width:15px;height:15px}
.sticky-app-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #E5E7EB;border-radius:9px;background:#fff;color:#2563EB;font-size:0}
.sticky-app-icon .ui-icon{width:17px;height:17px}
.sticky-app-name{font-weight:780;color:#18181B}
.sticky-version{font-weight:650;color:#A1A1AA}
.sticky-subtitle{font-weight:500;color:#71717A}
.sticky-bar.is-scrolled{box-shadow:0 2px 10px rgba(15,23,42,.035)}
.header-action-btn{border-radius:10px;border-color:#E5E7EB;color:#3F3F46;font-weight:680;box-shadow:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease}
.header-action-btn:hover{background:#F4F5F7;border-color:#D4D4D8;color:#18181B;transform:none}
.panel{border-color:#E5E7EB;border-radius:16px;box-shadow:0 1px 2px rgba(15,23,42,.025)}
.title-panel{background:#fff;border-radius:14px;border-color:#E5E7EB}
.title-inline-label{font-weight:700;color:#3F3F46}
.title-file-hint{font-weight:550;color:#A1A1AA}
.input,.textarea{border-color:#E5E7EB;border-radius:10px;background:#fff;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}
.input:focus,.textarea:focus{border-color:#93C5FD;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.source-panel,.result-panel{background:#fff;border-color:#E5E7EB;box-shadow:0 1px 2px rgba(15,23,42,.025)}
.document-kicker{font-weight:680;color:#71717A;letter-spacing:0}
.compare-kicker{color:#71717A!important}
.source-head h2,.result-head h2{font-weight:740;color:#18181B}
.source-head p,.result-head p{font-weight:450;color:#71717A}
.local-badge{border-color:#BBF7D0;background:#F0FDF4;color:#15803D;font-weight:680}
.source-reset-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-color:#E5E7EB;color:#71717A;font-weight:680;box-shadow:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease}
.source-reset-btn:hover{border-color:#FECACA;background:#FFF7F7;color:#B91C1C}
.source-reset-btn.is-demo-exit{border-color:#DBEAFE;background:#EFF6FF;color:#1D4ED8}
.mode-switch,.result-action-switch{border-color:#E5E7EB;border-radius:12px;background:#F4F5F7;box-shadow:none}
.mode-btn,.result-action-btn{border-radius:9px;font-weight:680;color:#71717A;box-shadow:none;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}
.mode-btn:hover{background:rgba(255,255,255,.7);color:#3F3F46}
.mode-btn.is-active{background:#fff;color:#2563EB;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.result-action-btn{background:#fff;color:#3F3F46;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.result-action-btn:hover{background:#FAFAFA;color:#1D4ED8;box-shadow:0 1px 2px rgba(15,23,42,.055)}
.source-action-row{border-color:#E5E7EB;border-radius:12px;background:#F8FAFC;box-shadow:none;backdrop-filter:none}
.source-action-step{border-radius:999px;background:#EFF6FF;color:#2563EB;font-weight:700;box-shadow:none}
.source-action-help{color:#52525B;font-weight:520}
.soft-btn,.primary-btn,.secondary-btn,.reset-btn{border-radius:10px;font-weight:680}
.primary-btn{box-shadow:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease}
.primary-btn:hover{background:#1D4ED8;transform:none}
.source-primary-btn{border-radius:10px;font-weight:700;box-shadow:0 2px 5px rgba(37,99,235,.16);display:inline-flex;align-items:center;justify-content:center;gap:8px}
.source-primary-btn:hover{box-shadow:0 2px 5px rgba(37,99,235,.16)}
.source-primary-btn:hover .ui-icon-arrow{transform:none}
.cta-arrow{display:none}
.compact-guide{background:#F7F7F8;border-color:#ECEDEF;border-radius:10px;color:#71717A}
.paper-caption strong{font-weight:680;color:#52525B}
.paper-caption span{font-weight:500;color:#A1A1AA}
.document-input,.document-sheet{border-color:#E5E7EB;border-radius:8px;box-shadow:0 4px 16px rgba(15,23,42,.045)}
.result:focus{box-shadow:inset 0 0 0 2px rgba(37,99,235,.12)}
.status{font-weight:550;color:#71717A;border-color:#E5E7EB;background:#FAFAFA}
.status.is-success{color:#15803D;background:#F0FDF4;border-color:#BBF7D0}
.empty-preview-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #E5E7EB;border-radius:10px;background:#FAFAFA;color:#A1A1AA;font-size:0;opacity:1}
.empty-preview-icon .ui-icon{width:19px;height:19px}
.empty-preview-title{font-weight:650;color:#71717A}
.result-edit-note{display:flex;align-items:flex-start;gap:6px;color:#A1A1AA;font-weight:450}
.result-edit-note .ui-icon{width:14px;height:14px;margin-top:1px}
.demo-card-bottom{background:#fff;border-color:#E5E7EB;border-radius:14px;box-shadow:none}
.demo-card-bottom:hover{border-color:#D4D4D8;box-shadow:none}
.demo-card-bottom .demo-card-icon{width:38px;height:38px;border:1px solid #E5E7EB;border-radius:10px;background:#F4F5F7;color:#71717A;box-shadow:none}
.demo-card-icon .ui-icon{width:17px;height:17px}
.demo-card-title-row strong{font-weight:680;color:#27272A}
.demo-card-badge{font-weight:650;border-color:#E5E7EB;background:#FAFAFA;color:#71717A}
.demo-card-copy p{font-weight:450;color:#71717A}
.demo-card-bottom .demo-btn{display:inline-flex;align-items:center;gap:7px;border-color:#E5E7EB;border-radius:10px;color:#52525B;font-weight:680;box-shadow:none;background:#fff}
.demo-card-bottom .demo-btn:hover{background:#F4F5F7;border-color:#D4D4D8;color:#27272A;box-shadow:none;transform:none}
.demo-btn-arrow{display:none}
.demo-result-mark{border-radius:8px;background:#EFF6FF;color:#2563EB;box-shadow:none}
.demo-result-mark .ui-icon{width:15px;height:15px}
.demo-exit-btn{display:inline-flex;align-items:center;gap:6px;font-weight:650}
.help-dialog{border-color:#E5E7EB;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.18)}
.help-app-mark{border-radius:10px;box-shadow:none;font-weight:750}
.help-close-btn{border-radius:10px;box-shadow:none}
.help-section-number,.step-number{font-weight:700}
.help-mode-card,.quick-steps li{box-shadow:none}
.help-confirm-btn{box-shadow:none;font-weight:680}
.update-history-current{font-weight:650}
.floating-top-btn{border-radius:10px;box-shadow:0 5px 18px rgba(15,23,42,.08);font-weight:700}
.toast{font-weight:650;box-shadow:0 10px 30px rgba(15,23,42,.16)}


/* v1.13.22 · 공문핏 디자인 시스템 재정렬 — 정돈된 귀여움 */
:root{
  --control-height:46px;
  --control-radius:10px;
  --panel-head-height:72px;
  --utility-row-height:62px;
  --ui-gap:12px;
}

/* 제목은 문서 제목과 같은 체급 */
.title-inline-label{
  font-size:19px;
  line-height:1.25;
  font-weight:740;
  letter-spacing:-.045em;
  color:#18181B;
}

/* 이모지 아이콘 — 귀여움은 유지하되 크기와 자리 폭은 통일 */
.sticky-app-icon{
  width:auto;
  height:auto;
  display:inline-block;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font-size:20px;
  line-height:1;
}
.control-emoji{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
  font-size:15px;
  line-height:1;
}

/* 좌우 4개 기능 버튼의 규격을 완전히 동일하게 */
.mode-switch,.result-action-switch{
  min-height:54px;
  padding:4px;
  gap:5px;
  border-radius:12px;
}
.mode-btn,.result-action-btn{
  height:var(--control-height);
  min-height:var(--control-height);
  padding:0 14px;
  border-radius:var(--control-radius);
  gap:7px;
  font-size:13.5px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.02em;
}
.mode-btn.is-active{
  color:#1D4ED8;
}
.result-action-btn{
  color:#3F3F46;
}

/* 헤더와 작업행을 공통 리듬으로 */
.source-head,.result-head{
  min-height:var(--panel-head-height);
}
.source-action-row,.status-line{
  min-height:var(--utility-row-height);
}

/* 화면에 1번이 없으므로 2번 step은 사용하지 않음 */
.source-action-step{display:none!important}
.source-action-copy{gap:0}
.source-action-help{
  margin:0;
  font-size:13px;
  line-height:1.45;
  font-weight:520;
  color:#52525B;
}
.source-action-row{
  padding:7px 8px 7px 14px;
  border-color:#E4E7EC;
  background:#F8FAFC;
}
.source-primary-btn{
  height:var(--control-height);
  min-height:var(--control-height);
  padding:0 18px;
  border-radius:var(--control-radius);
  gap:7px;
  font-size:13.5px;
  line-height:1;
  font-weight:700;
  box-shadow:0 2px 5px rgba(37,99,235,.14);
}
.cta-arrow{
  display:inline-block;
  margin-left:1px;
  font-size:15px;
  line-height:1;
  transition:none;
}
.source-primary-btn:hover .cta-arrow{transform:none}

/* 보조 버튼은 작고 조용하게 */
.title-reset-btn,.source-reset-btn,.demo-exit-btn{
  min-height:34px;
  font-weight:650;
}

/* 이모지 복귀에 맞춘 빈 상태/체험 요소 */
.empty-preview-icon{
  width:auto;
  height:auto;
  display:block;
  border:0;
  background:transparent;
  color:inherit;
  font-size:32px;
  line-height:1;
  opacity:.72;
}
.demo-card-bottom .demo-card-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #E5E7EB;
  border-radius:10px;
  background:#F7F7F8;
  color:#52525B;
  font-size:14px;
}
.demo-result-mark{
  font-size:12px;
  line-height:1;
}
.result-edit-note>span:first-child{
  flex:0 0 auto;
  font-size:13px;
  line-height:1.3;
}
.demo-card-bottom .demo-btn{
  min-height:42px;
  gap:7px;
}
.demo-btn-arrow{display:inline-block}

@media (max-width:900px){
  .title-inline-label{font-size:17px}
  .mode-btn,.result-action-btn{height:44px;min-height:44px;font-size:13px}
  .source-primary-btn{height:46px;min-height:46px}
}


/* v1.13.23 · 블루 컬러 밸런스 + 제목 가용폭 확장 */
@media (min-width:901px){
  /* 고정 850px 대신 남는 공간을 제목 입력칸이 최대한 사용 */
  .title-inline-field{
    grid-template-columns:auto minmax(0,1fr) auto auto;
    gap:10px;
  }
  .title-action-spacer{display:none}

  /* Before는 neutral, After는 아주 옅은 blue tint */
  .result-panel{
    background:#F8FBFF;
    border-color:#DCE8FA;
  }
  .source-panel{
    background:#FFFFFF;
  }

  /* CTA 안내행은 soft blue, 실제 CTA만 진한 blue */
  .source-action-row{
    background:#F5F8FF;
    border-color:#D8E5FA;
  }
}

/* 선택 상태는 한 단계 더 명확한 soft blue */
.mode-btn.is-active{
  background:#EEF4FF;
  color:#1D4ED8;
  box-shadow:inset 0 0 0 1px #D7E5FF,0 1px 2px rgba(15,23,42,.035);
}

/* 정리 전/후 라벨은 과하지 않은 회청색 */
.compare-kicker{
  color:#647FAE!important;
}

/* 결과 액션은 중립 유지 — CTA와 경쟁하지 않음 */
.result-action-btn{
  background:#FFFFFF;
  color:#3F3F46;
}

/* 결과 sheet는 tint 안에서 흰 종이로 또렷하게 */
.result-panel .document-sheet{
  background:#FFFFFF;
}


/* v1.13.24 · 상단바 액션 경량화 */
.sticky-actions{
  gap:4px;
}
.header-action-btn{
  min-height:34px;
  height:34px;
  padding:0 9px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#52525B;
  font-size:12.5px;
  font-weight:650;
  line-height:1;
  box-shadow:none;
  transform:none;
  transition:background-color .14s ease,color .14s ease;
}
.header-action-btn:hover{
  background:#F4F6F8;
  border-color:transparent;
  color:#18181B;
  transform:none;
  box-shadow:none;
}
.header-action-btn:focus-visible{
  outline:3px solid rgba(37,99,235,.12);
  outline-offset:1px;
}
.header-link-arrow{
  margin-left:2px;
  color:#A1A1AA;
  font-size:12px;
  font-weight:700;
  line-height:1;
}
.header-action-btn:hover .header-link-arrow{
  color:#64748B;
}
@media (max-width:900px){
  .sticky-actions{gap:2px}
  .header-action-btn{min-height:32px;height:32px;padding:0 7px;border-radius:8px;font-size:11.5px}
  .header-link-arrow{font-size:11px}
}


/* v1.13.25 · 예시/체험 텍스트 위계 강화 */
.document-input::placeholder{
  color:#8B95A5;
  opacity:1;
}
.document-input{
  color:#334155;
}
.document-input.is-sample-text{
  color:#6B7280;
}
.document-input.is-sample-text:focus{
  color:#6B7280;
}
