/* 水灵AI 七阶段主体升级（不含RAG收费专项） */
:root{--s7-ink:#17324d;--s7-muted:#63778a;--s7-line:#d8e2eb;--s7-soft:#f4f8fa;--s7-accent:#176f72;--s7-accent-soft:#e5f1f0;--s7-warn:#9a6718;--s7-radius-lg:16px;--s7-radius-md:10px}
html{scroll-behavior:smooth}body{color:var(--s7-ink)}button,a,input,select,textarea{transition:border-color .22s,background-color .22s,color .22s,transform .22s,box-shadow .22s}button:active{transform:translateY(1px) scale(.99)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(23,111,114,.24)!important;outline-offset:2px}
.sidebar{background:#f7fafb!important;border-right:1px solid var(--s7-line)!important}.sidebar-brand{letter-spacing:-.02em}.project-switcher{padding:10px 12px!important}.project-select{border-color:var(--s7-line)!important;background:#fff!important}.menu-list{padding:7px 10px 18px!important}.menu-item,.menu-parent{border-radius:9px!important;margin-bottom:3px!important}.menu-item:hover,.menu-parent:hover,.menu-sub-item:hover{background:var(--s7-accent-soft)!important;color:var(--s7-accent)!important}.menu-item.active,.menu-sub-item.active{background:#edf4f8!important;color:#536b7e!important;font-weight:400!important}.menu-sub{margin:2px 0 8px 16px!important;border-left:1px solid var(--s7-line);padding-left:7px!important}.menu-sub-item{border-radius:7px!important;padding:8px 10px!important}
.nav-line-icon{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#263b50}
.nav-main-label{display:flex;align-items:center;gap:12px;min-width:0}
.nav-new-square{width:18px;height:18px;flex:0 0 18px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;background:#8fc4ee;color:#fff;font:400 14px/1 Arial,sans-serif}
.nav-new-project{font-weight:600!important}
.menu-list .menu-item,.menu-list .menu-parent{min-height:46px;padding:0 12px!important;gap:12px;border-left:0!important;border-radius:8px!important;color:#22384e;font-size:14px!important;font-weight:400}
.menu-list .menu-parent{justify-content:flex-start}
.menu-list .menu-arrow{width:18px;height:18px;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;color:#7b8a99;font-size:18px;line-height:1;transform-origin:center}
.menu-list .menu-item:hover,.menu-list .menu-parent:hover{background:#f0f6fb!important;color:#22384e!important}
.menu-list .menu-item.active,.menu-list .menu-parent.active{position:relative;background:#edf4f8!important;color:#536b7e!important;font-weight:400!important;border-left:0!important;box-shadow:none!important}
.menu-list .menu-item.active::before,.menu-list .menu-parent.active::before{content:none}
.menu-list .menu-item.active .nav-line-icon,.menu-list .menu-parent.active .nav-line-icon{color:#536b7e}
.menu-list .menu-sub{margin:1px 0 6px!important;padding:3px 0 4px 35px!important;border-left:0!important}
.menu-list .menu-sub-item{min-height:38px;display:flex;align-items:center;margin:1px 0;padding:0 10px!important;border-radius:7px!important;color:#53677b;font-size:13px}
.menu-list .menu-sub-item.active{background:#edf5fc!important;color:#536b7e!important;font-weight:400!important;border-left-color:transparent!important;box-shadow:none!important}
.canvas-area{align-items:stretch!important;padding:30px clamp(16px,3vw,46px) 56px!important}.content-section{max-width:1280px;margin:0 auto}.content-section.active{animation:s7-enter .28s ease-out}@keyframes s7-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}


.folder-grid-opt{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.folder-card-opt{min-height:68px!important;display:grid!important;grid-template-columns:46px minmax(0,1fr) auto;align-items:center!important;text-align:left!important;padding:10px 14px!important;border:1px solid #d9e2e7!important;border-radius:6px!important;background:#fff!important}.folder-card-opt:hover{border-color:#c79a2a!important;background:#fffdf7!important;transform:none!important}.folder-icon-opt{position:relative;width:40px!important;height:29px!important;margin:5px 0 0!important;border:1px solid #c79a2a;border-radius:4px;background:#f4c95d;font-size:0!important;box-sizing:border-box}.folder-icon-opt::before{content:'';position:absolute;left:3px;top:-7px;width:17px;height:7px;border:1px solid #c79a2a;border-bottom:0;border-radius:4px 4px 0 0;background:#f4c95d}.folder-name-opt{text-align:left!important;font-size:13px!important;color:#27465d!important}.folder-card-opt.folder-add{border-style:dashed!important;background:#fffdf7!important}.file-list tr:hover{background:var(--s7-soft)!important}.file-actions{width:auto!important}.file-actions .btn-table{margin:2px!important}
.sl-document-toolbar{max-width:100%!important;border:1px solid var(--s7-line)!important;border-radius:12px!important;box-shadow:0 10px 28px rgba(23,50,77,.08)!important}.sl-document-toolbar [data-action="back"]{order:20;margin-left:auto!important}.sl-document-toolbar [data-action="back"]::first-letter{font-size:0}.s7-autosave-state{font-size:12px;color:var(--s7-muted);margin-left:auto}.s7-archive-note{font-size:12px;color:var(--s7-muted);padding:8px 11px;background:var(--s7-soft);border-left:2px solid var(--s7-accent)}



/* 监理方案根目录不是文档编辑器：隐藏误插入的保存工具栏，并恢复紧凑目录。 */











.ai-cabin{background:#f7fafb!important}.s7-ai-context{margin:0 12px 10px;padding:10px 12px;border-left:3px solid var(--s7-accent);background:var(--s7-accent-soft);font-size:12px;color:var(--s7-muted)}.s7-ai-context strong{display:block;color:var(--s7-ink);margin-bottom:3px}.chat-bubble{border-radius:10px!important}.bubble-ai{border-top-left-radius:3px!important}.bubble-user{border-bottom-right-radius:3px!important}


/* 七阶段业务页统一：目录两列、编辑操作只在编辑页出现、圆角统一为 4px。 */





.report-editor-actions{width:min(100%,794px);display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 auto 10px}
.report-editor-actions .sl812-toolbar{width:auto;margin:0 0 0 auto}
.archive-empty-state{padding:26px 16px;border:1px dashed #cbd9e5;border-radius:4px;background:#f8fbfd;text-align:center;color:#667b8d;font-size:13px}
.archive-quick-card,.archive-record-row,.archive-year-select,.report-editor-actions button,.sl812-btn,button,.btn,input,select,textarea{border-radius:4px!important}


@media(max-width:768px){
  .canvas-area{padding:58px 9px 156px!important}
  
  
  .folder-grid-opt{grid-template-columns:1fr!important;gap:8px!important}.folder-card-opt{grid-template-columns:40px minmax(0,1fr) auto!important;min-height:58px!important;padding:8px 10px!important}.folder-icon-opt{width:34px!important;height:25px!important}
  .sl-document-toolbar{border-radius:0!important}
  .m-drawer{background:#f7fbff!important}
  .m-drawer .m-menu-item,.m-drawer .m-menu-group-title{min-height:48px;padding:0 20px!important;gap:12px;background:transparent!important;color:#22384e!important;font-size:16px!important;font-weight:400;border-left:0!important}
  .m-drawer .m-menu-item:hover,.m-drawer .m-menu-group-title:hover{background:#f0f6fb!important}
  .m-drawer .m-menu-item.active{position:relative;background:#edf5fc!important;color:#536b7e!important;font-weight:400!important;border-left-color:transparent!important}
  .m-drawer .m-menu-item.active::before{display:none!important}
  .m-drawer .m-menu-group-title .m-arrow{width:18px;height:18px;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;color:#7b8a99;font-size:18px!important}
  .m-drawer .m-menu-group-items .m-menu-sub{min-height:38px;padding:0 10px 0 45px!important;color:#53677b!important;font-size:14px!important}
  .m-drawer .m-menu-group-items .m-menu-sub.active{background:#edf5fc!important;color:#0b3d91!important;font-weight:700!important}
  
  
  
  
  .m-chat-overlay.open{min-height:100dvh}
  
  
  
  
}
/* seven-stage-20260823 EOF */
/* synchronized asset */
