

/* 周报正式编辑与导出工具 */
#weekly-report #weekEditorView>.a4-page{width:210mm;min-height:297mm;max-width:100%;font-family:"SimSun","宋体","STSong",serif!important;color:#000;background:#fff}
#weekly-report #weekEditorView>.a4-page input,#weekly-report #weekEditorView>.a4-page textarea,#weekly-report #weekEditorView>.a4-page table{font-family:"SimSun","宋体","STSong",serif!important;color:#000;background:#fff}
#weekly-report #weekEditorView>.a4-page .w-table-opt,#weekly-report #weekEditorView>.a4-page .w-table-opt td{border-color:#000!important;background:#fff!important;color:#000!important}
#weekly-report .weekly-more{position:relative}
#weekly-report .weekly-more summary{display:flex;width:34px;height:32px;align-items:center;justify-content:center;border:1px solid #d4e0e8;border-radius:5px;background:#fff;cursor:pointer;list-style:none;font-size:18px}
#weekly-report .weekly-more summary::-webkit-details-marker{display:none}
#weekly-report .weekly-more>div{position:absolute;right:0;top:36px;z-index:25;min-width:125px;padding:5px;border:1px solid #d6e2ea;border-radius:7px;background:#fff;box-shadow:0 8px 24px rgba(31,61,82,.14)}
#weekly-report .weekly-more>div .btn{display:block;width:100%;border:0;text-align:left}
@media(max-width:768px){#weekly-report .weekly-editor-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto!important;gap:5px!important}#weekly-report .weekly-editor-tools>span{display:none}#weekly-report .weekly-editor-tools>.btn{min-width:48px!important;padding:0 7px!important;font-size:11px!important}#weekly-report #weekEditorView>.a4-page{width:100%!important;min-height:0!important}}
@media print{@page{size:A4 portrait;margin:0}#weekly-report .weekly-editor-tools{display:none!important}#weekly-report #weekEditorView>.a4-page{width:210mm!important;min-height:297mm!important;margin:0!important;padding:16mm!important;border:0!important;box-shadow:none!important}}

/* migrated from seven-stage-final.css */
@media (max-width:768px){
#weekly-report #weekYearGrid,#weekly-report #weekMonthGrid{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;min-height:0!important
  }
#weekly-report #weekListView{
    width:100%!important;min-height:0!important;margin:0 0 12px!important;padding:12px!important;border-radius:0!important;box-shadow:none!important
  }
#weekly-report #weekEditorView{
    width:100%!important;max-width:100%!important;margin:0 0 18px!important;padding:0!important;overflow:visible!important;box-sizing:border-box!important
  }
#weekly-report #weekEditorView>.a4-page{
    width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;
    margin:0 0 12px!important;padding:12px 10px 16px!important;border:1px solid #dfe7ed!important;border-radius:0!important;
    box-shadow:none!important;overflow:visible!important;box-sizing:border-box!important
  }
/* 周报：日期、填写人和正文按手机宽度重新排布 */
  #weekly-report #weekEditorView>.a4-page{padding:14px 10px 18px!important}
#weekly-report #weekEditorView>.a4-page h2{font-size:18px!important;letter-spacing:3px!important}
#weekly-report #weekEditorView #weekStartDate,#weekly-report #weekEditorView #weekEndDate{width:90px!important;font-size:11px!important}
#weekly-report #weekEditorView .editor-fields-bar{width:100%!important;margin:0 0 10px!important;padding:7px 8px!important}
#weekly-report #weekEditorView .editor-fields-bar>div,#weekly-report #weekEditorView .editor-fields-bar label{width:100%!important}
#weekly-report #weekEditorView #weekWriter{width:min(150px,55vw)!important;font-size:12px!important}
#weekly-report #weekEditorView>.a4-page>.w-table-opt{width:100%!important;min-width:0!important;table-layout:fixed!important}
#weekly-report #weekEditorView>.a4-page>.w-table-opt td{padding:7px 6px!important;font-size:11px!important}
#weekly-report #weekEditorView>.a4-page>.w-table-opt textarea{min-height:86px!important;font-size:12px!important;line-height:1.5!important}
}

/* migrated from final-ui.css */
@media (max-width:768px){
#weekly-report .archive-quick-card{display:grid!important}
#weekly-report .archive-section-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
#weekly-report #weekYearSelect{
    display:block;width:100%!important;max-width:100%!important;min-width:0!important;
    height:36px!important;box-sizing:border-box
  }
}

/* isolated from assets/maintenance-20260805.css */
#weekly-report.sl-editor-active #weekEditorView .a4-page>div:nth-child(2){justify-content:flex-end!important}#weekly-report #weekYearView,#weekly-report #weekMonthView>div:last-child,#weekly-report #weekListView{
  width:210mm!important;max-width:100%!important;min-height:650px;margin:0 auto 24px!important;padding:36px 42px!important;
  box-sizing:border-box;background:#fff;border:1px solid #dfe5ed;border-radius:10px;box-shadow:0 5px 18px rgba(31,54,82,.05)
}#weekly-report #weekYearGrid,#weekly-report #weekMonthGrid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;width:100%!important;align-content:start
}#weekly-report #weekYearGrid .folder-card-opt,#weekly-report #weekMonthGrid .folder-card-opt{
  min-width:0!important;min-height:150px!important;padding:22px 18px!important;justify-content:center;border-radius:9px
}#weekly-report #weekYearGrid .folder-icon-opt,#weekly-report #weekMonthGrid .folder-icon-opt{font-size:54px!important}#weekly-report #weekYearGrid .folder-name-opt,#weekly-report #weekMonthGrid .folder-name-opt{font-size:15px!important}#weekly-report #weekListView{min-height:650px}@media(max-width:768px){#weekly-report #weekYearView,#weekly-report #weekMonthView>div:last-child,#weekly-report #weekListView{
    width:100%!important;min-height:0;margin:0 0 12px!important;padding:16px!important;border-radius:0;box-shadow:none
  }#weekly-report #weekYearGrid,#weekly-report #weekMonthGrid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important
  }#weekly-report #weekYearGrid .folder-card-opt,#weekly-report #weekMonthGrid .folder-card-opt{
    min-height:112px!important;padding:12px 8px!important
  }}

/* isolated from assets/water-ai-8.12.css */
@media(max-width:768px){#weekly-report>div{max-width:100%;width:auto}#weekly-report #weekEditorView{width:100%;max-width:100%;overflow:visible}#weekly-report #weekEditorView .w-table-opt{display:block;border:0}#weekly-report #weekEditorView .w-table-opt tbody,#weekly-report #weekEditorView .w-table-opt tr{display:block;width:100%}#weekly-report #weekEditorView .w-table-opt td{display:block;width:100%;box-sizing:border-box;border-bottom:0}#weekly-report #weekEditorView textarea{min-height:120px}}@media(max-width:768px){#weekly-report{width:100%!important;max-width:100%!important;overflow:hidden!important}#weekly-report #weekEditorView{width:100%!important;max-width:100%!important;padding:10px!important;margin:0!important;box-sizing:border-box!important;overflow:visible!important}#weekly-report #weekEditorView .w-table-opt,#weekly-report #weekEditorView .w-table-opt tbody{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:auto!important}#weekly-report #weekEditorView .w-table-opt tr{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}#weekly-report #weekEditorView .w-table-opt td{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;writing-mode:horizontal-tb!important;word-break:break-word!important;overflow-wrap:anywhere!important;text-align:left!important}#weekly-report #weekEditorView>.a4-page{padding:12px!important;overflow:visible!important}#weekly-report #weekEditorView .w-table-opt tr{margin-top:10px!important;border:1px solid var(--color-border)!important;border-radius:8px!important;overflow:hidden!important}#weekly-report #weekEditorView .w-table-opt td{display:block!important;border:0!important}#weekly-report #weekEditorView .w-table-opt tr td:first-child{padding:10px 12px!important;background:#f3f7fc!important;border-bottom:1px solid var(--color-border)!important;font-weight:700!important;text-align:left!important}#weekly-report #weekEditorView .w-table-opt tr td:last-child:not(:first-child){padding:0!important}#weekly-report #weekEditorView .w-table-opt textarea{display:block!important;width:100%!important;min-width:0!important;min-height:150px!important;padding:12px!important;box-sizing:border-box!important}#weekly-report #weekEditorView .w-table-opt input{width:100%!important;min-width:0!important;padding:10px!important;box-sizing:border-box!important}#weekly-report #weekEditorView>div>div[style*="justify-content:space-between"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}#weekly-report #weekEditorView>div>div[style*="justify-content:space-between"]>div{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}#weekly-report #weekEditorView label{white-space:normal!important}}

/* isolated from assets/core/business-shell.css */
@media (min-width:769px){#weekly-report{--directory-width:1040px}#weekly-report #weekYearView{
    width:min(100%,var(--directory-width))!important;max-width:var(--directory-width)!important;
    min-height:0!important;height:auto!important;margin:0 auto 26px!important;padding:30px 32px 34px!important;
    border:1px solid #dce6ed!important;border-radius:12px!important;background:#fff!important;
    box-shadow:0 14px 34px rgba(29,70,98,.07)!important;box-sizing:border-box!important
  }#weekly-report>div:first-child{
    width:min(100%,var(--directory-width))!important;max-width:var(--directory-width)!important;
    min-height:54px!important;margin:0 auto 20px!important;padding:0 0 14px!important;
    border:0!important;border-bottom:1px solid #d9e5ed!important;box-sizing:border-box!important
  }#weekly-report>div:first-child h2{
    margin:0!important;font-size:22px!important;line-height:1.35!important;letter-spacing:.02em!important;color:#174d76!important
  }#weekly-report #weekYearGrid,#weekly-report #weekMonthGrid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    flex-direction:initial!important;gap:14px!important;width:100%!important;max-width:none!important;
    min-height:0!important;height:auto!important;padding:0!important;align-content:start!important;box-sizing:border-box!important
  }#weekly-report #weekYearGrid .folder-card-opt,#weekly-report #weekMonthGrid .folder-card-opt{
    width:100%!important;height:auto!important;min-height:92px!important;
    display:grid!important;grid-template-columns:50px minmax(0,1fr) 28px!important;
    align-items:center!important;justify-content:stretch!important;padding:15px 16px!important;
    border:1px solid #d6e3eb!important;border-radius:10px!important;background:#f7fafc!important;
    text-align:left!important;box-shadow:none!important;transform:none!important;box-sizing:border-box!important
  }#weekly-report #weekYearGrid .folder-card-opt:hover,#weekly-report #weekMonthGrid .folder-card-opt:hover{
    border-color:#88b4cf!important;background:#eef6fa!important;box-shadow:0 7px 18px rgba(32,88,124,.08)!important;transform:translateY(-1px)!important
  }#weekly-report #weekYearGrid .folder-icon-opt,#weekly-report #weekMonthGrid .folder-icon-opt{
    position:relative!important;width:38px!important;height:29px!important;margin:4px 0 0!important;
    border:1.5px solid #5d8ba7!important;border-radius:5px!important;background:#e8f2f7!important;
    font-size:0!important;line-height:1!important;box-sizing:border-box!important
  }#weekly-report #weekYearGrid .folder-icon-opt::before,#weekly-report #weekMonthGrid .folder-icon-opt::before{
    content:''!important;position:absolute!important;left:3px!important;top:-7px!important;width:16px!important;height:7px!important;
    border:1.5px solid #5d8ba7!important;border-bottom:0!important;border-radius:5px 5px 0 0!important;background:#e8f2f7!important;box-sizing:border-box!important
  }#weekly-report #weekYearGrid .folder-name-opt,#weekly-report #weekMonthGrid .folder-name-opt{
    width:auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;
    text-align:left!important;font-family:var(--font)!important;font-size:15px!important;font-weight:650!important;
    line-height:1.45!important;color:#233f55!important;word-break:break-word!important
  }#weekly-report #weekYearGrid .folder-del-icon,#weekly-report #weekMonthGrid .folder-del-icon{
    position:static!important;justify-self:end!important;width:28px;height:28px;padding:0!important;
    display:flex;align-items:center;justify-content:center;border-radius:7px!important;background:transparent!important;
    color:#8aa0b1!important;opacity:.45!important;font-size:17px!important
  }#weekly-report #weekYearGrid .folder-card-opt:hover .folder-del-icon,#weekly-report #weekMonthGrid .folder-card-opt:hover .folder-del-icon,#weekly-report #weekYearGrid .folder-card-opt.folder-add,#weekly-report #weekMonthGrid .folder-card-opt.folder-add{
    grid-template-columns:50px minmax(0,1fr)!important;border-style:dashed!important;background:#fff!important;color:#176b9a!important
  }#weekly-report #weekYearGrid .folder-add .folder-icon-opt,#weekly-report #weekMonthGrid .folder-add .folder-icon-opt{
    width:38px!important;height:38px!important;margin:0!important;border:0!important;background:#e8f4fb!important;
    border-radius:9px!important;color:#176fa9!important;font-size:25px!important;line-height:38px!important;text-align:center!important
  }#weekly-report #weekListView{
    width:min(100%,var(--directory-width))!important;max-width:var(--directory-width)!important;
    min-height:0!important;margin:0 auto 26px!important;padding:28px 30px 32px!important;
    border:1px solid #dce6ed!important;border-radius:12px!important;background:#fff!important;
    box-shadow:0 14px 34px rgba(29,70,98,.07)!important;box-sizing:border-box!important
  }#weekly-report #weekMonthView>.dir-bar-opt,#weekly-report #weekListView>.dir-bar-opt{
    width:100%!important;max-width:var(--directory-width)!important;min-height:44px!important;
    margin:0 auto 18px!important;padding:10px 14px!important;border:1px solid #dce6ed!important;
    border-radius:8px!important;background:#f5f8fa!important;box-shadow:none!important;box-sizing:border-box!important
  }#weekly-report #weekYearView{font-family:var(--font)!important}#weekly-report{width:100%!important;max-width:none!important}#weekly-report #weekEditorView{
    width:min(794px,100%)!important;max-width:794px!important;
    margin:0 auto 28px!important;box-sizing:border-box!important
  }#weekly-report #weekEditorView>.a4-page{
    width:100%!important;max-width:794px!important;box-sizing:border-box!important
  }#weekly-report #weekEditorView>.a4-page{min-height:297mm!important;padding:14mm 16mm 16mm!important;margin:0 auto 18px!important;border-radius:0!important}#weekly-report>#weekYearView{
    width:min(960px,calc(100% - 48px))!important;max-width:960px!important;margin:0 auto 26px!important;
    padding:22px 24px 24px!important;border:1px solid #dce6ed!important;border-radius:4px!important;
    background:#fff!important;box-shadow:0 10px 26px rgba(29,70,98,.06)!important;box-sizing:border-box!important
  }}@media (max-width:768px){#weekly-report #weekYearView{
    width:100%!important;max-width:100%!important;min-height:0!important;margin:0 0 12px!important;padding:12px!important;
    border:1px solid #dce6ed!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important
  }#weekly-report .archive-quick-card{
    min-height:0!important;margin:0 0 14px!important;padding:12px 13px 13px!important;display:grid!important;
    grid-template-columns:1fr!important;gap:8px!important;border-radius:4px!important;box-shadow:none!important
  }#weekly-report .archive-quick-card h3{
    margin:0 0 2px!important;font-size:15px!important;line-height:1.35!important;letter-spacing:0!important
  }#weekly-report .archive-quick-card p{
    margin:0!important;max-width:38em;font-size:11.5px!important;line-height:1.5!important
  }#weekly-report .archive-quick-card .archive-quick-meta{margin-top:6px!important;font-size:11px!important}#weekly-report .archive-quick-card .btn{
    width:auto!important;min-width:96px!important;min-height:30px!important;height:30px!important;justify-self:start!important;
    padding:0 10px!important;font-size:11px!important;line-height:28px!important;border-radius:4px!important
  }#weekly-report #weekEditorView>.a4-page{padding:12px 9px 16px!important}#weekly-report #weekEditorView>.a4-page h2{font-size:17px!important;letter-spacing:3px!important}#weekly-report #weekEditorView #weekStartDate,#weekly-report #weekEditorView #weekEndDate{width:78px!important;font-size:10.5px!important}#weekly-report #weekEditorView .editor-fields-bar{display:flex!important;flex-direction:row!important;align-items:center!important;min-height:38px!important;width:100%!important;margin:0 0 9px!important;padding:6px 8px!important}#weekly-report #weekEditorView .editor-fields-bar>div,#weekly-report #weekEditorView .editor-fields-bar label{width:auto!important;justify-content:flex-start!important;font-size:11px!important}#weekly-report #weekEditorView #weekWriter{appearance:none!important;width:118px!important;height:28px!important;padding:3px 7px!important;font-size:11px!important;box-shadow:none!important}#weekly-report #weekEditorView>.a4-page>.w-table-opt td{padding:7px 6px!important;font-size:11px!important;line-height:1.45!important}#weekly-report #weekEditorView>.a4-page>.w-table-opt textarea{min-height:92px!important;font-size:12px!important}}

/* 2026-09-09 final weekly root */
#weekly-report .archive-quick-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important}
#weekly-report .archive-quick-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end}
#weekly-report .weekly-archive-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:10px 12px!important;min-height:58px!important}
#weekly-report .archive-record-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;border:0;background:transparent;padding:0;text-align:left;cursor:pointer;color:inherit}
#weekly-report .archive-download-btn{min-width:58px}
@media(max-width:768px){#weekly-report .archive-quick-card{grid-template-columns:1fr!important}#weekly-report .archive-quick-actions{justify-content:flex-start!important}#weekly-report .weekly-archive-row{grid-template-columns:minmax(0,1fr) auto!important}}
