*{box-sizing:border-box}:root{--bg:#f7f8fa;--surface:#fff;--surface2:#f1f3f6;--text:#292d34;--muted:#7b7f8a;--line:#e2e5ea;--dark:#242424;--purple:#7b68ee;--pink:#e548a5;--blue:#49a6f2;--orange:#ff8b4c;--yellow:#f4c34c;--green:#31b57b;--teal:#2eb7a4;--indigo:#5965d8;--red:#e45561}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:13px}button,input,textarea,select{font:inherit}.utility-bar{height:42px;background:var(--dark);color:#fff;position:fixed;inset:0 0 auto 0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:12px}.utility-left,.utility-right{display:flex;align-items:center;gap:10px}.utility-logo{width:24px;height:24px;border-radius:6px;background:linear-gradient(135deg,var(--purple),var(--pink));display:grid;place-items:center;font-weight:800}.muted{color:#aaa}.crumb{color:#666}.utility-right button{border:0;background:transparent;color:#ddd;padding:6px 8px;cursor:pointer}.utility-avatar{width:27px!important;height:27px!important;border-radius:50%;background:var(--orange)!important;color:#fff!important;font-size:10px}.sidebar{position:fixed;top:42px;bottom:0;left:0;width:236px;background:#fff;border-right:1px solid var(--line);padding:12px 10px;display:flex;flex-direction:column;z-index:30}.workspace-switcher{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid var(--line);border-radius:8px;margin-bottom:12px}.workspace-icon{width:31px;height:31px;border-radius:7px;background:linear-gradient(135deg,#ffdf77,#ff9b4f);display:grid;place-items:center;font-size:11px;font-weight:800}.workspace-switcher strong,.workspace-switcher span{display:block}.workspace-switcher span{font-size:10px;color:var(--muted)}.nav-label{font-size:10px;text-transform:uppercase;color:#a1a4aa;font-weight:700;padding:13px 9px 6px}.nav{display:flex;flex-direction:column}.nav-item,.sidebar-bottom button{border:0;background:transparent;border-radius:6px;padding:7px 8px;display:flex;align-items:center;gap:9px;color:#51545b;text-align:left;cursor:pointer;min-height:34px}.nav-item:hover,.sidebar-bottom button:hover{background:#f2f3f5}.nav-item.active{background:#edeafd;color:#4f3ecb;font-weight:600}.nav-item span:nth-child(2){flex:1}.nav-icon,.shortcut-icon{display:grid;place-items:center;color:#fff;font-weight:700}.nav-icon{width:20px;height:20px;border-radius:5px;font-size:10px}.purple{background:var(--purple)}.pink{background:var(--pink)}.blue{background:var(--blue)}.orange{background:var(--orange)}.yellow{background:var(--yellow)}.green{background:var(--green)}.teal{background:var(--teal)}.indigo{background:var(--indigo)}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:8px;display:flex;flex-direction:column}.main{margin-left:236px;padding-top:42px;min-height:100vh}.page-header{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:42px;z-index:20}.page-header-left{display:flex;align-items:center;gap:10px}.breadcrumb{font-size:11px;color:#94979e;margin-bottom:3px}.page-header h1{font-size:22px;margin:0}.page-actions{display:flex;gap:8px}.btn,.mini-btn{border:1px solid transparent;border-radius:6px;padding:7px 11px;font-size:12px;font-weight:600;cursor:pointer}.btn.primary,.mini-btn{background:var(--purple);color:#fff}.btn.ghost{background:#fff;border-color:var(--line)}.btn.danger{background:#fff0f1;border-color:#ffd5d9;color:#c9414e}.mobile-menu{display:none}.page{display:none;padding:20px 24px 40px}.page.active{display:block}.home-top{display:flex;justify-content:space-between;margin-bottom:18px}.home-top h2{font-size:20px;margin:0 0 4px}.home-top p{margin:0;color:var(--muted);font-size:12px}.home-shortcuts{display:flex;gap:8px}.home-shortcuts button{background:#fff;border:1px solid var(--line);border-radius:7px;padding:7px 10px;display:flex;align-items:center;gap:8px;cursor:pointer}.shortcut-icon{width:22px;height:22px;border-radius:6px;font-size:11px}.phase-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.phase-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px;display:flex;justify-content:space-between;gap:10px}.phase-card span,.phase-card strong,.phase-card small{display:block}.phase-card span{font-size:9px;font-weight:800;color:#888}.phase-card strong{font-size:12px;margin:4px 0}.phase-card small{font-size:10px;color:var(--muted)}.phase-card b{font-size:18px;color:#888}.active-phase{background:#f5f2ff;border-color:#ded7ff}.active-phase b{color:var(--purple)}.board-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.board-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px;cursor:pointer;transition:.15s}.board-card:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.05)}.board-card-top{display:flex;justify-content:space-between;align-items:center}.board-card-icon{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;color:#fff;font-weight:700}.board-card h3{font-size:13px;margin:10px 0 4px}.board-card p{font-size:10px;color:var(--muted);margin:0}.board-card-progress{margin-top:12px}.board-card-progress .bar{margin-top:5px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.span-2{grid-column:span 2}.widget{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px}.widget-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.widget-head h3{font-size:14px;margin:0 0 3px}.widget-head span{font-size:11px;color:var(--muted)}.view-link{border:0;background:transparent;color:var(--purple);font-size:11px;cursor:pointer}.task-table{border:1px solid var(--line);border-radius:6px;overflow:hidden}.task-row{display:grid;grid-template-columns:18px minmax(0,1fr) 90px 80px 100px;gap:8px;align-items:center;padding:9px 10px;border-bottom:1px solid var(--line)}.task-row:last-child{border-bottom:0}.task-row.completed .task-title{text-decoration:line-through;color:#999}.task-title{font-weight:500}.row-actions{display:flex;justify-content:flex-end;gap:5px}.icon-action{border:1px solid var(--line);background:#fff;border-radius:5px;padding:4px 7px;font-size:10px;cursor:pointer}.icon-action.delete{color:#c94f59;background:#fffafa;border-color:#f0d6d9}.section-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.section-title h2{font-size:20px;margin:0 0 4px}.section-title p{margin:0;color:var(--muted);font-size:12px}.module-layout{display:grid;grid-template-columns:1fr 1fr;gap:12px}.details-list{display:flex;flex-direction:column}.detail-row{display:grid;grid-template-columns:150px 1fr auto;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);align-items:center}.detail-row:last-child{border-bottom:0}.detail-row span{font-size:10px;color:var(--muted)}.detail-row strong{font-size:11px}.checklist{display:flex;flex-direction:column}.check-row{display:grid;grid-template-columns:18px minmax(0,1fr) 100px 80px 100px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.check-row:last-child{border-bottom:0}.check-row.completed .check-title{text-decoration:line-through;color:#999}.check-title{font-size:11px}.check-meta{font-size:10px;color:var(--muted)}.score{background:#f0edff;color:#5b46d4;padding:5px 8px;border-radius:10px;font-size:11px;font-weight:700}.bar{height:6px;background:#eceef1;border-radius:6px;overflow:hidden}.bar i{display:block;height:100%;border-radius:6px}.founder-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.founder-card{background:#fff;border:1px solid var(--line);border-radius:7px;padding:13px;position:relative}.founder-avatar{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;color:#fff;margin-bottom:9px}.founder-card h3{font-size:13px;margin:0}.founder-card p{font-size:10px;color:var(--muted);margin:3px 0}.equity{position:absolute;right:12px;top:12px;font-size:10px;background:#f2f3f5;padding:3px 6px;border-radius:10px}.founder-card ul{padding-left:16px;font-size:10px;color:#666;line-height:1.7}.esther-bg{background:var(--purple)}.kristina-bg{background:var(--blue)}.angeline-bg{background:var(--orange)}.parent-bg{background:#626975}.document-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.document-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px}.document-card h3{font-size:13px;margin:0 0 5px}.document-card p{font-size:10px;color:var(--muted);margin:0 0 10px}.document-card-footer{display:flex;justify-content:space-between;align-items:center}.metric-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:12px}.metric-strip>div{padding:13px;border-right:1px solid var(--line)}.metric-strip>div:last-child{border-right:0}.metric-strip span,.metric-strip strong,.metric-strip small{display:block}.metric-strip span,.metric-strip small{font-size:10px;color:var(--muted)}.metric-strip strong{font-size:18px;margin:5px 0}.curriculum-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.programme{background:#fff;border:1px solid var(--line);border-radius:7px;padding:13px}.programme-top{display:flex;justify-content:space-between}.programme-icon{width:28px;height:28px;border-radius:6px;background:#efeafd;color:var(--purple);display:grid;place-items:center}.programme h3{font-size:13px;margin:10px 0 4px}.programme p{font-size:11px;color:var(--muted);line-height:1.5}.meta{display:flex;gap:5px;flex-wrap:wrap}.meta span{font-size:10px;background:#f3f4f6;border-radius:10px;padding:4px 7px}.asset-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.asset{border:1px solid var(--line);border-radius:6px;padding:10px;display:flex;gap:8px;align-items:center}.asset-icon{width:28px;height:28px;border-radius:6px;background:#eee;display:grid;place-items:center}.asset strong,.asset small{display:block}.asset small{font-size:10px;color:var(--muted)}.strategy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.strategy-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px}.strategy-card h3{font-size:13px;margin:0 0 5px}.strategy-card p{font-size:10px;color:var(--muted);line-height:1.5}.strategy-card ul{padding-left:16px;font-size:10px;color:#666;line-height:1.7}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:11px}th{background:#fafbfc;color:#777}.status{display:inline-block;padding:3px 6px;border-radius:10px;font-size:9px}.status.pending{background:#eef0f3;color:#6c7077}.status.progress{background:#fff2d9;color:#a86d11}.status.done{background:#e5f6ee;color:#29855d}.timeline{display:flex;flex-direction:column;gap:8px}.meeting{background:#fff;border:1px solid var(--line);border-radius:7px;padding:13px;display:grid;grid-template-columns:105px 1fr auto;gap:12px}.meeting-date{font-size:11px;color:var(--purple)}.meeting h3{font-size:13px;margin:0 0 4px}.meeting p{font-size:11px;color:var(--muted);margin:0}.activity-feed{display:flex;flex-direction:column;gap:9px}.activity{display:flex;gap:8px}.activity-avatar{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:9px}.activity strong,.activity small{display:block}.activity small{font-size:10px;color:var(--muted)}.settings-actions{display:flex;flex-direction:column;gap:8px}.form-grid{display:grid;gap:10px}.form-grid label{font-size:11px;font-weight:600}.form-grid input,.form-grid textarea,.form-grid select{width:100%;border:1px solid var(--line);border-radius:6px;padding:8px;margin-top:4px;font-size:12px}.help-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.help-grid .widget p{font-size:11px;color:var(--muted);line-height:1.6}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);display:none;align-items:center;justify-content:center;z-index:100}.modal-backdrop.show{display:flex}.modal{background:#fff;width:min(560px,calc(100% - 28px));border-radius:8px;padding:18px;position:relative;max-height:90vh;overflow:auto}.modal-close{position:absolute;right:12px;top:9px;border:0;background:transparent;font-size:20px}.modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:13px}.toast{position:fixed;right:20px;bottom:20px;background:#292d34;color:#fff;padding:9px 12px;border-radius:6px;font-size:11px;opacity:0;transform:translateY(8px);transition:.2s;z-index:120}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1100px){.board-grid,.founder-grid{grid-template-columns:repeat(2,1fr)}.document-cards,.curriculum-grid,.strategy-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.page{padding:14px}.page-header{padding:0 14px}.mobile-menu{display:block}.home-top{display:block}.home-shortcuts{margin-top:12px;overflow:auto}.phase-row,.board-grid,.dashboard-grid,.module-layout,.founder-grid,.document-cards,.curriculum-grid,.strategy-grid,.help-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.metric-strip{grid-template-columns:repeat(2,1fr)}.task-row,.check-row{grid-template-columns:18px 1fr 90px}.task-row .check-meta,.check-row .check-meta{display:none}.detail-row{grid-template-columns:110px 1fr}}
/* V6.1 中文版与进度强化 */
.overall-progress-card{
  background:linear-gradient(135deg,#f4f1ff,#fbfaff);
  border:1px solid #ddd6ff;
  border-radius:9px;
  padding:14px 16px;
  display:grid;
  grid-template-columns:180px 1fr;
  gap:18px;
  align-items:center;
  margin-bottom:12px;
}
.overall-progress-card span,
.overall-progress-card strong,
.overall-progress-card small{display:block}
.overall-label{font-size:10px;color:#77728e}
.overall-progress-card strong{
  font-size:28px;
  color:var(--purple);
  margin:3px 0;
}
.overall-progress-card small{font-size:10px;color:var(--muted)}
.overall-progress-bar{
  height:10px;
  background:#e9e6f7;
  border-radius:999px;
  overflow:hidden;
}
.overall-progress-bar i{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#8e7bf2,#7b68ee);
  border-radius:999px;
}
.module-summary-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:12px;
}
.module-summary-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px;
}
.module-summary-card span,
.module-summary-card strong,
.module-summary-card small{display:block}
.module-summary-card span{font-size:10px;color:var(--muted)}
.module-summary-card strong{font-size:18px;margin:4px 0}
.module-summary-card small{font-size:10px;color:#999}
.board-card-top strong{
  color:var(--purple);
  font-size:16px;
}
.board-card p{min-height:28px}
@media(max-width:760px){
  .overall-progress-card{grid-template-columns:1fr}
  .module-summary-row{grid-template-columns:1fr}
}

/* V6.2 法律文件分类 */
.legal-overview{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}
.legal-overview>div{padding:12px;border-right:1px solid var(--line)}
.legal-overview>div:last-child{border-right:0}
.legal-overview span,.legal-overview strong,.legal-overview small{display:block}
.legal-overview span,.legal-overview small{font-size:10px;color:var(--muted)}
.legal-overview strong{font-size:18px;margin:4px 0}
.legal-notice{display:flex;gap:9px;align-items:flex-start;background:#fffaf0;border:1px solid #f0dfb7;border-radius:7px;padding:10px 12px;margin-bottom:12px;font-size:10px;color:#726343;line-height:1.55}
.legal-notice strong{color:#7d6227;white-space:nowrap}
.legal-group{margin-bottom:14px}
.legal-group-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.legal-group-head>div{display:flex;gap:9px;align-items:center}
.legal-group-head h3{font-size:14px;margin:0 0 2px}
.legal-group-head p{font-size:10px;color:var(--muted);margin:0}
.legal-category{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:800}
.legal-category.required{background:var(--pink)}
.legal-category.governance{background:var(--purple)}
.legal-category.launch{background:var(--blue)}
.legal-category.recommended{background:var(--orange)}
.legal-group-score{font-size:11px;font-weight:700;color:var(--purple);background:#f0edff;padding:5px 8px;border-radius:10px}
.legal-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}
.legal-tag{font-size:9px;padding:3px 6px;border-radius:10px;background:#f1f2f4;color:#666b73}
.legal-tag.mandatory{background:#ffe9ec;color:#b83e4b}
.legal-tag.business{background:#eeeaff;color:#5942c5}
.legal-tag.before-launch{background:#e8f3ff;color:#3979b6}
.document-card .legal-purpose{min-height:30px}
.document-card .legal-timing{font-size:10px;color:#777b82;border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
@media(max-width:850px){.legal-overview{grid-template-columns:repeat(2,1fr)}.legal-overview>div:nth-child(2){border-right:0}.legal-overview>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:760px){.legal-overview{grid-template-columns:1fr}.legal-overview>div{border-right:0;border-bottom:1px solid var(--line)}}

/* V6.3 法律附件上传、预览、下载与删除 */
.legal-file-area{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.legal-file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.legal-file-toolbar span{font-size:10px;color:var(--muted)}
.file-upload-btn{border:1px solid #dcd8fb;background:#f7f5ff;color:#5d4ad2;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:600;cursor:pointer}
.file-upload-btn:hover{background:#eeeaff}
.legal-file-list{display:flex;flex-direction:column;gap:5px}
.legal-file-empty{font-size:10px;color:#a0a3aa;padding:4px 0}
.legal-file-row{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:7px;background:#f8f9fb;border:1px solid #e8eaee;border-radius:6px;padding:6px 7px}
.legal-file-icon{width:25px;height:25px;border-radius:5px;background:#ebe8ff;color:#6754d8;display:grid;place-items:center;font-size:9px;font-weight:800}
.legal-file-info{min-width:0}
.legal-file-info strong,.legal-file-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.legal-file-info strong{font-size:10px;font-weight:600}
.legal-file-info small{font-size:9px;color:var(--muted);margin-top:2px}
.legal-file-actions{display:flex;gap:4px;white-space:nowrap}
.file-action{border:1px solid #dfe2e7;background:#fff;color:#555b64;border-radius:5px;padding:4px 6px;font-size:9px;cursor:pointer}
.file-action:hover{background:#f0f1f4}
.file-action.delete{color:#c54b57;border-color:#f0d4d8;background:#fffafa}
.file-preview-backdrop{position:fixed;inset:0;background:rgba(20,22,28,.55);z-index:150;display:none;align-items:center;justify-content:center;padding:18px}
.file-preview-backdrop.show{display:flex}
.file-preview-modal{width:min(980px,100%);height:min(760px,92vh);background:#fff;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.file-preview-head{height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 14px;gap:12px}
.file-preview-head strong,.file-preview-head small{display:block;max-width:650px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-preview-head small{font-size:10px;color:var(--muted);margin-top:3px}
.file-preview-actions{display:flex;align-items:center;gap:6px}
.file-preview-actions .modal-close{position:static}
.file-preview-body{flex:1;min-height:0;background:#f2f3f5;display:flex;align-items:center;justify-content:center;overflow:auto}
.file-preview-body iframe,.file-preview-body img{max-width:100%;max-height:100%;border:0}
.file-preview-body iframe{width:100%;height:100%;background:#fff}
.file-preview-text{width:100%;height:100%;margin:0;padding:18px;background:#fff;white-space:pre-wrap;overflow:auto;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.file-preview-unavailable{text-align:center;padding:28px;color:#666}
.file-preview-unavailable strong,.file-preview-unavailable span{display:block}
.file-preview-unavailable strong{font-size:14px;margin-bottom:7px}
.file-preview-unavailable span{font-size:11px;color:var(--muted);line-height:1.6}
.legal-storage-note{font-size:9px;color:#999;margin-top:7px}
@media(max-width:760px){.legal-file-row{grid-template-columns:25px minmax(0,1fr)}.legal-file-actions{grid-column:2;justify-content:flex-start}.file-preview-head strong,.file-preview-head small{max-width:200px}}

/* V6.4：五份核心法律文件 + 多选负责人 */
.legal-core-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.legal-core-card{
  display:flex;
  flex-direction:column;
  min-height:330px;
}
.legal-card-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.legal-card-heading>div{
  min-width:0;
}
.legal-card-heading .status{
  flex-shrink:0;
}
.legal-owner-section{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:8px;
  align-items:start;
  margin:10px 0 4px;
  padding:9px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.legal-owner-label{
  color:var(--muted);
  font-size:10px;
  padding-top:3px;
}
.legal-owner-chips{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.legal-owner-chip{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:600;
  background:#f1f2f4;
  color:#555a62;
}
.legal-owner-chip.esther{
  background:#eee9ff;
  color:#654ac9;
}
.legal-owner-chip.kristina{
  background:#e8f4ff;
  color:#3579b4;
}
.legal-owner-chip.angeline{
  background:#fff0e6;
  color:#b86128;
}
.legal-owner-empty{
  color:#9a9da3;
  font-size:10px;
  padding-top:3px;
}
.multi-owner-select{
  position:relative;
  width:100%;
  margin-top:4px;
}
.multi-owner-select>summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:38px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
  cursor:pointer;
  font-size:12px;
  font-weight:400;
}
.multi-owner-select>summary::-webkit-details-marker{
  display:none;
}
.multi-owner-select>summary b{
  color:#8a8e95;
  font-size:12px;
}
.multi-owner-select[open]>summary{
  border-color:#9f91f4;
  box-shadow:0 0 0 2px rgba(123,104,238,.1);
}
.multi-owner-options{
  position:absolute;
  z-index:150;
  left:0;
  right:0;
  top:calc(100% + 5px);
  padding:6px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:7px;
  box-shadow:0 10px 28px rgba(31,41,55,.14);
}
.multi-owner-option{
  display:flex!important;
  flex-direction:row!important;
  align-items:center;
  gap:8px;
  width:100%;
  padding:8px;
  margin:0!important;
  border-radius:5px;
  cursor:pointer;
  font-weight:400!important;
}
.multi-owner-option:hover{
  background:#f5f4ff;
}
.multi-owner-option input{
  width:auto!important;
  margin:0!important;
}
@media(max-width:900px){
  .legal-core-grid{grid-template-columns:1fr}
}

/* V6.5 独立模块网址 */
.share-link-btn{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
@media(max-width:760px){
  .share-link-btn{
    font-size:0;
    width:34px;
    padding:7px;
    justify-content:center;
  }
  .share-link-btn::first-letter{font-size:13px}
}

/* V6.6 首页视觉层级优化 */
.overall-progress-card{
  background:#ffffff !important;
  border:1px solid #dddfe6 !important;
  box-shadow:0 1px 2px rgba(31,41,55,.03);
}
.overall-progress-card .overall-label{
  color:#6f7480 !important;
}
.overall-progress-card strong{
  color:#6f5ce7 !important;
}
.overall-progress-bar{
  background:#eceef3 !important;
}
.overall-progress-bar i{
  background:linear-gradient(90deg,#8f7cf3,#715de6) !important;
}
.phase-card.active-phase{
  background:linear-gradient(135deg,#f0ecff,#f8f6ff) !important;
  border-color:#d5ccff !important;
  box-shadow:0 1px 2px rgba(91,70,212,.05);
}
.phase-card.active-phase span{
  color:#6f5ce7 !important;
}
.board-card-icon{
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
}

/* V6.7 云端文件状态 */
.file-upload-btn:disabled{
  opacity:.65;
  cursor:wait;
}
.legal-storage-note{
  color:#6d7280;
}
.legal-storage-note::before{
  content:"☁ ";
  color:#6f5ce7;
}

/* V6.8 总部财务中心 */
.finance-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  margin-bottom:12px;
}
.finance-kpis>div{padding:14px;border-right:1px solid var(--line)}
.finance-kpis>div:last-child{border-right:0}
.finance-kpis span,.finance-kpis strong,.finance-kpis small{display:block}
.finance-kpis span,.finance-kpis small{font-size:10px;color:var(--muted)}
.finance-kpis strong{font-size:20px;margin:5px 0}
.finance-tabs{display:flex;gap:6px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.finance-tab{border:0;background:transparent;padding:9px 12px;color:#777;cursor:pointer;border-bottom:2px solid transparent}
.finance-tab.active{color:var(--purple);border-bottom-color:var(--purple);font-weight:700}
.finance-panel{display:none}
.finance-panel.active{display:block}
.section-title.compact{margin-bottom:10px}
.section-title.compact h3{font-size:15px;margin:0 0 3px}
.finance-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.finance-channel-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px}
.finance-channel-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}
.finance-channel-top>div{display:flex;align-items:center;gap:8px}
.finance-channel-icon{width:30px;height:30px;border-radius:7px;background:#efeafd;color:var(--purple);display:grid;place-items:center;font-weight:800}
.finance-channel-top h4{font-size:12px;margin:0 0 2px}
.finance-channel-top small{font-size:10px;color:var(--muted)}
.finance-channel-info{display:grid;grid-template-columns:80px 1fr;gap:8px;padding:7px 0;border-top:1px solid var(--line)}
.finance-channel-info span{font-size:10px;color:var(--muted)}
.finance-channel-info strong{font-size:11px}
.finance-channel-actions{display:flex;justify-content:flex-end;gap:5px;margin-top:8px}
.distribution-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.distribution-summary>div{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px}
.distribution-summary span,.distribution-summary strong{display:block}
.distribution-summary span{font-size:10px;color:var(--muted)}
.distribution-summary strong{font-size:17px;margin-top:5px}
.finance-evidence-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.finance-evidence-list div{border:1px solid var(--line);border-radius:6px;padding:9px;font-size:11px;background:#fafbfc}
@media(max-width:900px){
 .finance-kpis,.distribution-summary{grid-template-columns:repeat(2,1fr)}
 .finance-card-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
 .finance-kpis,.distribution-summary{grid-template-columns:1fr}
 .finance-kpis>div{border-right:0;border-bottom:1px solid var(--line)}
 .finance-tabs{overflow:auto}
 .finance-evidence-list{grid-template-columns:1fr}
}

/* V6.8.1：简化财务设置页面 */
.finance-simple-layout{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);
  gap:12px;
}
.finance-simple-layout .widget{
  min-width:0;
}
.finance-simple-layout .finance-evidence-list{
  grid-template-columns:1fr;
}
@media(max-width:900px){
  .finance-simple-layout{
    grid-template-columns:1fr;
  }
}

/* V6.8.2：共享工作区设置 */
.workspace-switcher{
  width:100%;
  cursor:pointer;
  background:#fff;
  text-align:left;
}
.workspace-switcher .workspace-caret{
  margin-left:auto;
  color:#90949c;
  font-size:11px;
}
.settings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.settings-section{min-width:0}
.settings-founders{grid-column:1 / -1}
.settings-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.settings-form-grid label,
.settings-full-label{
  display:block;
  font-size:11px;
  font-weight:600;
}
.settings-form-grid input,
.settings-form-grid select,
.settings-full-label select{
  width:100%;
  margin-top:5px;
  padding:9px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
}
.settings-save-btn{
  width:100%;
  margin-top:12px;
}
.settings-founder-list{
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
}
.settings-founder-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border-bottom:1px solid var(--line);
}
.settings-founder-row:last-child{border-bottom:0}
.settings-founder-avatar{
  width:32px;
  height:32px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:#eeeaff;
  color:#634dcc;
  font-size:10px;
  font-weight:800;
}
.settings-founder-main strong,
.settings-founder-main span{display:block}
.settings-founder-main strong{font-size:12px}
.settings-founder-main span{
  margin-top:2px;
  color:var(--muted);
  font-size:10px;
}
.settings-founder-actions{
  display:flex;
  gap:5px;
}
@media(max-width:800px){
  .settings-grid,
  .settings-form-grid{grid-template-columns:1fr}
  .settings-founders{grid-column:auto}
}

/* V6.8.3：统一 Admin 权限设置 */
.admin-settings-grid{
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
}
.settings-data-card{
  grid-column:1 / -1;
  max-width:520px;
}
.admin-access-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#faf9ff;
}
.admin-access-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#7b68ee;
  color:#fff;
  font-size:11px;
  font-weight:800;
}
.admin-access-card strong,
.admin-access-card span{
  display:block;
}
.admin-access-card strong{
  font-size:14px;
}
.admin-access-card span{
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
}
.admin-access-note{
  margin-top:10px;
  padding:10px 12px;
  border-radius:7px;
  background:#f5f6f8;
  color:#686d76;
  font-size:10px;
  line-height:1.55;
}
@media(max-width:800px){
  .admin-settings-grid{
    grid-template-columns:1fr;
  }
  .settings-data-card{
    grid-column:auto;
    max-width:none;
  }
}
