#root .sc-docs-workspace { width:100%; max-width:1120px; min-width:0; margin:0 auto; color:#1e293b; }
#root .sc-docs-workspace * { box-sizing:border-box; }
#root .sc-docs-workspace .sc-docs-page-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
#root .sc-docs-workspace .sc-docs-heading-group { display:flex; align-items:center; gap:8px; min-width:0; }
#root .sc-docs-workspace .sc-docs-page-title { margin:0; font-size:24px; line-height:32px; font-weight:650; }
#root .sc-docs-workspace .sc-docs-page-actions { display:flex; gap:8px; flex-shrink:0; }
#root .sc-docs-workspace .sc-docs-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:42px; padding:9px 16px; font-size:14px; line-height:22px; font-weight:500; white-space:nowrap; border:1px solid #dbe2ea; border-radius:9px; background:#fff; color:#475569; cursor:pointer; }
#root .sc-docs-workspace .sc-docs-button:hover { background:#f8fafc; }
#root .sc-docs-workspace .sc-docs-button-primary { color:#fff; background:#2563eb; border-color:#2563eb; }
#root .sc-docs-workspace .sc-docs-button-primary:hover { background:#1d4ed8; }
#root .sc-docs-workspace .sc-docs-button-danger { color:#b91c1c; border-color:#fecaca; background:#fff; }
#root .sc-docs-workspace .sc-docs-button-danger:hover { background:#fff1f2; }
#root .sc-docs-workspace .sc-docs-button-back { width:42px; padding:8px; background:transparent; border-color:transparent; flex-shrink:0; }
#root .sc-docs-workspace button:disabled { cursor:wait; opacity:.55; }
#root .sc-docs-workspace button:focus-visible,#root .sc-docs-workspace input:focus-visible { outline:2px solid #60a5fa; outline-offset:3px; }
#root .sc-docs-workspace .sc-docs-list-tools { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
#root .sc-docs-workspace .sc-docs-search { display:flex; align-items:center; gap:8px; width:440px; max-width:100%; min-width:0; padding:0 12px; border:1px solid #dce3ec; border-radius:10px; background:#fff; }
#root .sc-docs-workspace .sc-docs-search-mark { font-size:26px; color:#94a3b8; line-height:1; }
#root .sc-docs-workspace .sc-docs-search input { flex:1; width:100%; min-width:0; min-height:44px; padding:10px 0; font-size:15px; line-height:24px; background:transparent; color:#1e293b; border:0; outline:0; }
#root .sc-docs-workspace .sc-docs-search:focus-within { border-color:#93c5fd; box-shadow:0 0 0 3px #eff6ff; }
#root .sc-docs-workspace .sc-docs-search input:focus-visible { outline:0; }
#root .sc-docs-workspace .sc-docs-count { flex-shrink:0; font-size:13px; color:#64748b; }
#root .sc-docs-workspace .sc-docs-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
#root .sc-docs-workspace .sc-docs-card { width:100%; display:flex; align-items:flex-start; gap:14px; min-width:0; padding:20px; border:1px solid #e2e8f0; border-radius:14px; background:#fff; text-align:left; color:inherit; cursor:pointer; transition:border-color .15s,box-shadow .15s; }
#root .sc-docs-workspace .sc-docs-card:hover { border-color:#bfdbfe; box-shadow:0 4px 18px #0f172a07; }
#root .sc-docs-workspace .sc-docs-card-icon { display:flex; align-items:center; justify-content:center; flex:0 0 42px; width:42px; height:42px; background:#eff6ff; color:#2563eb; border-radius:10px; }
#root .sc-docs-workspace .sc-docs-card-main { display:block; min-width:0; flex:1; }
#root .sc-docs-workspace .sc-docs-card-title { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:17px; line-height:25px; font-weight:600; overflow-wrap:anywhere; }
#root .sc-docs-workspace .sc-docs-summary { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; margin-top:6px; font-size:14px; line-height:22px; color:#64748b; overflow-wrap:anywhere; }
#root .sc-docs-workspace .sc-docs-card-meta { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:12px; color:#94a3b8; font-size:12px; line-height:20px; }
#root .sc-docs-workspace .sc-docs-tag { display:inline-flex; padding:0 6px; background:#f1f5f9; color:#64748b; border-radius:4px; font-size:11px; line-height:20px; }
#root .sc-docs-workspace .sc-docs-tag-video { background:#eef2ff; color:#6366f1; }
#root .sc-docs-workspace .sc-docs-card-arrow { color:#94a3b8; font-size:24px; line-height:30px; align-self:center; }
#root .sc-docs-workspace .sc-docs-article,#root .sc-docs-workspace .sc-docs-editor { max-width:900px; margin:0 auto; min-width:0; padding:30px 36px; background:#fff; border:1px solid #e2e8f0; border-radius:16px; }
#root .sc-docs-workspace .sc-docs-article-header { padding-bottom:20px; margin-bottom:24px; border-bottom:1px solid #eef2f6; }
#root .sc-docs-workspace .sc-docs-article-header h1 { margin:0; font-size:28px; line-height:1.45; font-weight:650; color:#0f172a; overflow-wrap:anywhere; outline:none; }
#root .sc-docs-workspace .sc-docs-meta { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:12px; font-size:13px; line-height:20px; color:#94a3b8; }
#root .sc-docs-workspace .sc-docs-content,#root .sc-docs-workspace .sc-docs-editor-body [contenteditable] { max-width:100%; min-width:0; color:#334155; font-size:16px; line-height:1.85; overflow-wrap:anywhere; word-break:normal; }
#root .sc-docs-workspace .sc-docs-content p { margin:0 0 1em; }
#root .sc-docs-workspace .sc-docs-content h1,#root .sc-docs-workspace .sc-docs-content h2,#root .sc-docs-workspace .sc-docs-content h3,#root .sc-docs-workspace .sc-docs-content h4 { margin:1.3em 0 .6em; font-weight:650; line-height:1.5; color:#0f172a; }
#root .sc-docs-workspace .sc-docs-content h1 { font-size:26px; }
#root .sc-docs-workspace .sc-docs-content h2 { font-size:23px; }
#root .sc-docs-workspace .sc-docs-content h3 { font-size:20px; }
#root .sc-docs-workspace .sc-docs-content h4 { font-size:18px; }
#root .sc-docs-workspace .sc-docs-content ul,#root .sc-docs-workspace .sc-docs-content ol { margin:0 0 1em; padding-left:1.5em; }
#root .sc-docs-workspace .sc-docs-content ul { list-style:disc; }
#root .sc-docs-workspace .sc-docs-content ol { list-style:decimal; }
#root .sc-docs-workspace .sc-docs-content li { margin:.25em 0; }
#root .sc-docs-workspace .sc-docs-content a { color:#2563eb; text-decoration:underline; text-underline-offset:3px; }
#root .sc-docs-workspace .sc-docs-content blockquote { margin:1em 0; padding:10px 16px; border-left:3px solid #93c5fd; background:#f8fafc; }
#root .sc-docs-workspace .sc-docs-content pre { max-width:100%; overflow-x:auto; padding:12px; background:#f8fafc; border-radius:8px; font-size:14px; }
#root .sc-docs-workspace .sc-docs-content img,#root .sc-docs-workspace .sc-docs-editor-body img { display:block; max-width:100%; height:auto; margin:16px auto; border-radius:8px; }
#root .sc-docs-workspace .sc-docs-content video,#root .sc-docs-workspace .sc-docs-editor-body video { display:block; width:100%; max-width:100%; height:auto; margin:16px auto; border-radius:10px; background:#0f172a; }
#root .sc-docs-workspace .sc-docs-content table,#root .sc-docs-workspace .sc-docs-editor-body table { display:block; max-width:100%; width:max-content; overflow:auto; border-collapse:collapse; margin:16px 0; }
#root .sc-docs-workspace .sc-docs-content th,#root .sc-docs-workspace .sc-docs-content td,#root .sc-docs-workspace .sc-docs-editor-body th,#root .sc-docs-workspace .sc-docs-editor-body td { padding:8px 12px; border:1px solid #e2e8f0; min-width:90px; }
#root .sc-docs-workspace .sc-docs-content th { background:#f8fafc; }
#root .sc-docs-workspace .sc-docs-media-actions button { min-height:42px; }
#root .sc-docs-workspace .sc-docs-empty-body { margin:0; color:#94a3b8; }
#root .sc-docs-workspace .sc-docs-title-field { display:block; margin-bottom:16px; }
#root .sc-docs-workspace .sc-docs-title-field > span { display:block; margin-bottom:8px; font-size:14px; font-weight:500; color:#475569; }
#root .sc-docs-workspace .sc-docs-title-field input { display:block; width:100%; min-width:0; min-height:46px; padding:10px 12px; border:1px solid #dbe2ea; border-radius:9px; font-size:16px; line-height:24px; }
#root .sc-docs-workspace .sc-docs-toolbar { display:flex; flex-wrap:wrap; gap:4px; min-width:0; padding:6px; margin-bottom:12px; border:0; border-radius:10px; background:#f1f5f9; }
#root .sc-docs-workspace .sc-docs-button-tool { min-width:40px; min-height:40px; padding:8px 10px; background:transparent; border-color:transparent; }
#root .sc-docs-workspace .sc-docs-editor-body [contenteditable] { min-height:360px; padding:16px; border:1px solid #dbe2ea; border-radius:10px; }
#root .sc-docs-workspace .sc-docs-editor-footer { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; padding-top:18px; border-top:1px solid #eef2f6; }
#root .sc-docs-workspace .sc-docs-error { padding:10px 12px; margin:14px 0 0; border-radius:8px; color:#b91c1c; background:#fff1f2; font-size:14px; line-height:22px; }
#root .sc-docs-workspace .sc-docs-notice { display:flex; flex-direction:column; align-items:center; gap:10px; padding:64px 20px; border:1px solid #e2e8f0; border-radius:14px; background:#fff; text-align:center; color:#94a3b8; }
#root .sc-docs-workspace .sc-docs-notice h3 { margin:0; font-size:18px; line-height:26px; color:#475569; }
#root .sc-docs-workspace .sc-docs-notice p { max-width:420px; margin:0 0 8px; font-size:14px; line-height:24px; overflow-wrap:anywhere; }
@media(max-width:767px) {
  #root .sc-docs-workspace .sc-docs-page-header { gap:8px; margin-bottom:12px; }
  #root .sc-docs-workspace .sc-docs-page-title { font-size:18px; line-height:26px; }
  #root .sc-docs-workspace .sc-docs-heading-group { gap:2px; }
  #root .sc-docs-workspace .sc-docs-page-actions { gap:6px; }
  #root .sc-docs-workspace .sc-docs-button { min-height:44px; padding:9px 12px; font-size:13px; }
  #root .sc-docs-workspace .sc-docs-button-back { width:38px; min-width:38px; padding:8px; }
  #root .sc-docs-workspace .sc-docs-list-tools { gap:8px; margin-bottom:10px; }
  #root .sc-docs-workspace .sc-docs-search { flex:1; width:auto; padding:0 10px; border-radius:9px; }
  #root .sc-docs-workspace .sc-docs-search input { min-height:44px; font-size:16px; padding:9px 0; }
  #root .sc-docs-workspace .sc-docs-count { font-size:12px; }
  #root .sc-docs-workspace .sc-docs-list { grid-template-columns:minmax(0,1fr); gap:9px; }
  #root .sc-docs-workspace .sc-docs-card { gap:10px; padding:14px 12px; border-radius:11px; }
  #root .sc-docs-workspace .sc-docs-card-icon { flex-basis:34px; width:34px; height:36px; border-radius:8px; }
  #root .sc-docs-workspace .sc-docs-card-icon svg { width:19px; height:19px; }
  #root .sc-docs-workspace .sc-docs-card-title { font-size:15px; line-height:22px; }
  #root .sc-docs-workspace .sc-docs-summary { margin-top:5px; font-size:13px; line-height:20px; }
  #root .sc-docs-workspace .sc-docs-card-meta { margin-top:8px; gap:5px; font-size:11px; }
  #root .sc-docs-workspace .sc-docs-card-arrow { font-size:22px; }
  #root .sc-docs-workspace .sc-docs-article,#root .sc-docs-workspace .sc-docs-editor { padding:18px 14px; border-radius:12px; }
  #root .sc-docs-workspace .sc-docs-article-header { padding-bottom:14px; margin-bottom:18px; }
  #root .sc-docs-workspace .sc-docs-article-header h1 { font-size:21px; line-height:1.45; }
  #root .sc-docs-workspace .sc-docs-meta { margin-top:9px; gap:4px 12px; font-size:12px; line-height:20px; }
  #root .sc-docs-workspace .sc-docs-content { font-size:15px; line-height:1.8; }
  #root .sc-docs-workspace .sc-docs-content h1 { font-size:23px; }
  #root .sc-docs-workspace .sc-docs-content h2 { font-size:21px; }
  #root .sc-docs-workspace .sc-docs-content h3 { font-size:18px; }
  #root .sc-docs-workspace .sc-docs-content h4 { font-size:16px; }
  #root .sc-docs-workspace .sc-docs-content img,#root .sc-docs-workspace .sc-docs-content video { margin:12px auto; border-radius:7px; }
  #root .sc-docs-workspace .sc-docs-editor-body [contenteditable] { padding:12px; min-height:300px; font-size:16px; }
  #root .sc-docs-workspace .sc-docs-editor-footer > button { flex:1; }
  #root .sc-docs-workspace .sc-docs-button-tool { min-width:40px; padding:8px; }
  #root .sc-docs-workspace .sc-docs-notice { padding:44px 16px; }
}
