:root{--blue:#007cff;--bg:#f0f0f8;--line:#e6eaf1;--muted:#9da3ad;--text:#515760;--sidebar:225px;--header:54px;--font:13px}*{box-sizing:border-box}body{margin:0;font-family:Arial,"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;font-size:var(--font);color:var(--text);background:white}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button,input,select,textarea{outline:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #9bcaff;outline-offset:1px}button{color:inherit}button svg,i svg,span[data-icon] svg{width:16px;height:16px;vertical-align:middle;flex-shrink:0}i{display:inline-flex;font-style:normal}.topbar{height:var(--header);display:flex;align-items:center;position:fixed;z-index:5;top:0;left:0;right:0;background:#fff}.brand{width:var(--sidebar);flex-shrink:0;display:flex;align-items:center;gap:36px;padding-left:20px;position:relative;transform:translateY(8px)}.brand img{object-fit:contain}.icon-btn,.plain-icon{border:0;background:none;padding:0;display:inline-flex;align-items:center;justify-content:center;width:25px;height:28px}.fold{width:16px}.fold svg{width:17px}.breadcrumb{display:flex;align-items:center;gap:10px;margin-left:18px;color:#737b85;white-space:nowrap}.breadcrumb b{color:#30353c}.breadcrumb span:nth-child(even){color:#9ca5b1}.user-area{margin-left:auto;display:flex;align-items:center;gap:21px;padding-right:29px}.profile{border:0;background:none;display:flex;align-items:center;gap:9px;text-align:left;padding:0}.avatar{display:flex;align-items:center;justify-content:center;background:var(--blue);color:white;border-radius:50%;width:36px;height:36px}.avatar svg{width:17px;height:17px}.user-text{display:flex;flex-direction:column;gap:2px}.user-text b{font-size:12px;font-weight:500;color:#454950}.user-text small{font-size:10px;color:#a7adb6;white-space:nowrap}.sidebar{position:fixed;top:var(--header);left:0;bottom:0;width:var(--sidebar);overflow:auto;background:#fff;padding:24px 18px 12px}.nav-group{margin:0 0 6px}.nav-heading,.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:9px;width:100%;height:46px;border-radius:6px;text-align:left;white-space:nowrap}.nav-heading{padding:0 30px 0 17px}.nav-heading svg,.nav-item svg{width:17px;height:17px;color:#777d83}.nav-heading .chevron{margin-left:auto;display:flex}.nav-heading .chevron svg{width:12px;height:12px}.nav-item{padding-left:44px;height:45px}.nav-heading.current,.nav-heading.current svg,.nav-item.active,.nav-item.active svg{color:#1685ff}.nav-item.active{background:#ecf5ff}.nav-item:hover,.nav-heading:hover{background:#f5f8fc}.nav-group.closed .nav-items{display:none}.nav-group.closed .chevron{transform:rotate(180deg)}.workspace{position:fixed;left:var(--sidebar);right:0;top:var(--header);bottom:0;background:var(--bg);border-radius:15px 0 0 0;padding:18px 18px 17px;display:flex;flex-direction:column;gap:18px;overflow:auto}.toolbar,.content-panel{background:white;border-radius:15px}.toolbar{min-height:65px;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;gap:16px;flex-wrap:wrap}.search-form,.toolbar-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.search-form label{font-size:12px;margin-right:-7px}.search-form input{width:173px}.search-form select{width:145px}.toolbar-actions{gap:10px}.toolbar-actions .btn{min-width:97px}.toolbar-actions .circle{min-width:29px}.btn{height:30px;border:1px solid #dce2eb;background:#fff;border-radius:7px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}.btn:hover{border-color:#8fc3ff;color:var(--blue)}.btn.primary{background:var(--blue);border-color:var(--blue);color:white;font-weight:500}.btn.primary:hover{background:#3598ff}.btn.soft{background:#ecf5ff;border-color:#a3ceff;color:#1685ff}.search-form .btn{min-width:58px}.btn i svg{width:14px;height:14px}.btn.circle{width:29px;height:29px;border-radius:50%;padding:0}.btn.circle svg{width:14px;height:14px}input:not([type=checkbox]),select,textarea{height:29px;border:1px solid #dce2eb;border-radius:5px;background:#fff;color:#515760;padding:0 10px;min-width:0}input::placeholder{color:#a7aeb8}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b4bac4' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center;padding-right:28px;color:#a7aeb8}select:disabled{background-color:#f5f7fa;color:#a7aeb8}select.chosen{color:#515760}.content-panel{padding:18px 18px 24px;flex:1;min-height:350px;min-width:0}.kind-tabs{display:inline-flex;border-radius:4px;overflow:hidden;background:#f5f7fa;height:28px;margin-bottom:13px}.kind-tabs button{border:0;background:transparent;padding:0 10px;color:#777e88}.kind-tabs button.active{color:white;background:var(--blue);font-weight:500}.location-filters{display:flex;gap:9px;margin-bottom:17px}.location-filters select{width:153px}.status-line{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:7px}.status-tabs{flex:1;display:flex;align-items:center;gap:36px;border-bottom:2px solid #e7eaf0;overflow-x:auto;white-space:nowrap;min-width:0}.status-tabs button{border:0;background:transparent;padding:5px 0 9px;margin-bottom:-2px;border-bottom:2px solid transparent;color:#40464e;font-weight:500;white-space:nowrap}.status-tabs button.active{color:#1685ff;border-color:#1685ff}.only-mine{display:flex;align-items:center;gap:6px;color:#1685ff;white-space:nowrap;padding-right:25px;font-weight:500}.only-mine input{accent-color:var(--blue);width:13px;height:13px;margin:0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;table-layout:fixed;min-width:1370px;font-size:13px}thead{background:#f7f7f7}th,td{text-align:left;padding:0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}th{height:36px;border-bottom:1px solid var(--line);color:#4b5159}td{height:54px;border-bottom:1px solid var(--line)}th:last-child,td:last-child{text-align:right;position:sticky;right:0;background:#fff;box-shadow:-3px 0 5px -5px #777}th:last-child{background:#f7f7f7}td.empty{text-align:center;color:#9da3ad;height:54px;position:static;box-shadow:none}.pagination{display:flex;justify-content:space-between;align-items:flex-start;margin-top:35px;color:#9da3ad}.page-controls{display:flex;align-items:center;gap:19px;color:#7d848e}.page-controls select{width:116px;color:#7d848e}.page-controls input{width:50px;text-align:center;color:#7d848e;appearance:textfield;margin-left:-12px;margin-right:-12px}.page-controls input::-webkit-inner-spin-button{appearance:none}.page-arrow{border:0;background:none;padding:0;color:#a7aeb8;width:15px}.page-arrow svg{width:12px;height:12px}.page-arrow:disabled{opacity:.45}.page-number{color:var(--blue);font-weight:600}.workspace footer{position:absolute;bottom:1px;left:0;right:0;text-align:center;color:#a4a9b5;font-size:11px;pointer-events:none}.workspace footer span{color:#1685ff;text-decoration:underline}.placeholder h2{font-size:18px;font-weight:500}.placeholder p{color:#8a929d;margin-bottom:24px}[hidden]{display:none!important}body.collapsed{--sidebar:60px}body.collapsed .brand{gap:0;transform:none}body.collapsed .brand img,body.collapsed .nav-label,body.collapsed .chevron{display:none}body.collapsed .sidebar{padding:20px 8px}body.collapsed .nav-heading,body.collapsed .nav-item{padding:0;justify-content:center}dialog{border:0;border-radius:12px;padding:0;width:min(600px,94vw);max-height:90vh;box-shadow:0 16px 60px #1d2b4940;color:var(--text)}dialog::backdrop{background:#202a3d55}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;border-bottom:1px solid var(--line);font-size:16px}.dialog-inner{padding:22px 24px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field input,.field select{height:36px;width:100%}.field textarea{height:85px;resize:vertical;padding:9px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-actions .btn{height:34px}.checklist{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checklist label{display:flex;align-items:center;gap:6px}.checklist input{accent-color:var(--blue)}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat-grid div{padding:15px;background:#f5f7fa;border-radius:8px;display:flex;flex-direction:column;gap:9px}.stat-grid b{font-size:24px;color:var(--blue)}.text-button{border:0;background:none;color:var(--blue);padding:2px 4px}.muted-note{color:#9da3ad;font-size:12px;line-height:1.6}.record-detail{display:grid;grid-template-columns:100px 1fr;gap:12px;white-space:pre-wrap;overflow-wrap:anywhere}.record-detail dt{color:#9299a4}.record-detail dd{margin:0}#toast{position:fixed;z-index:20;top:68px;left:50%;transform:translateX(-50%);padding:12px 20px;background:white;box-shadow:0 4px 20px #1d2b4920;border:1px solid #e2eaf5;border-radius:6px;color:#1685ff}@media(max-width:1050px){:root{--sidebar:190px}.toolbar{align-items:flex-start}.status-tabs{gap:23px}.only-mine{padding-right:0}.brand{gap:25px}}@media(max-width:700px){:root{--sidebar:60px}.brand{gap:0;transform:none}.brand img,.nav-label,.chevron,.user-text{display:none}.sidebar{padding:20px 8px}.nav-heading,.nav-item{padding:0;justify-content:center}.workspace{padding:10px;gap:10px}.toolbar,.content-panel{padding:12px}.search-form{gap:8px}.search-form input{width:135px}.search-form select{width:110px}.user-area{gap:6px;padding-right:8px}.breadcrumb{gap:5px;margin-left:4px;font-size:11px}.pagination{gap:12px;flex-wrap:wrap}.page-controls{gap:12px}.status-line{flex-wrap:wrap}.status-tabs{width:100%;flex-basis:100%}.workspace footer{font-size:9px}.fields{grid-template-columns:1fr}}
/* V2 modules */
:root{--bg:#f0f0f8;--font:13px}.workspace{overflow:hidden}.workspace footer{z-index:1}.toolbar,.content-panel{flex-shrink:0}.content-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.table-wrap{min-height:0;overflow:auto}.content-panel .pagination{flex-shrink:0}.nav-group{margin-bottom:3px}.nav-heading{height:46px}.nav-item{height:45px}.nav-item svg{flex-shrink:0}.nav-item.active{background:#eaf3ff}.toolbar{position:relative;z-index:3}.status-tabs{flex-shrink:0}.kind-tabs{align-self:flex-start;flex-shrink:0}.location-filters,.status-line{flex-shrink:0}#module{display:flex;flex-direction:column;gap:18px;flex:1;min-height:0}#module .table-wrap{overflow:auto}#module table{min-width:1000px;font-size:13px}#module th{height:36px;background:#f6f6f6;position:sticky;top:0;z-index:1}#module td{height:57.5px;line-height:1.5}#module tr:nth-child(even) td{background:#f8f8f9}#module tr:nth-child(odd) td{background:#fff}#module td:last-child,#module th:last-child{box-shadow:none;position:static}#module th:last-child{text-align:left}#module td:last-child{text-align:right}#module td.empty{text-align:center;height:54px}#module td .sub{display:block;font-size:11px;color:#9da4ad;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#module td .main{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}#module .link{color:#1685ff}#module .row-action{border:0;background:none;color:#1685ff;padding:2px 7px;font-size:13px}#module .row-action.danger{color:#ff6969}#module .row-action.orange{color:#e6a044}.tag{display:inline-block;border:1px solid #d9efcf;color:#78c75d;background:#eff8e9;border-radius:3px;font-size:11px;line-height:19px;padding:0 4px;white-space:nowrap}.tag.yellow{background:#fff8db;color:#e5b925;border-color:#f6e6a7}.tag.lime{background:#f5fbdc;color:#a6c739;border-color:#e1efaa}.tag.blue{background:#eaf4ff;color:#1685ff;border-color:#cfe6ff}.tag.red{background:#fff0f0;color:#ee6a6a;border-color:#ffdddd}.tag.mint{background:#e2fff2;color:#49c899;border-color:#b8f0d9}.tag.gray{color:#949ba5;border-color:#e1e5eb;background:#f4f5f6}.summary-bar{border-radius:15px;background:white;min-height:86px;display:flex;align-items:center;gap:15px;padding:18px 35px;flex-shrink:0}.summary-bar .bar-track{height:7px;background:#e9edf3;border-radius:5px;flex:1;overflow:hidden}.summary-bar .bar-track span{display:block;height:100%;background:#8dd36b;border-radius:5px}.summary-bar .legend{white-space:nowrap;font-size:12px;color:#9299a4;display:flex;gap:9px;align-items:center}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;vertical-align:middle;margin-right:3px;background:#1cc88a}.dot.orange{background:#ffb028}.dot.red{background:#ff7070}.summary-divider{width:1px;height:14px;background:#e4e8ef}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;flex-shrink:0}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{height:89px;border-radius:10px;background:#fff;display:flex;align-items:center;padding:18px;gap:14px;color:var(--metric);}.metric-icon{width:44px;height:44px;border-radius:8px;background:var(--metric-bg);display:grid;place-items:center;font-size:25px;font-weight:600;flex-shrink:0}.metric-label{font-size:13px;color:#969da7;display:block;margin-bottom:5px}.metric-value{font-size:21px;font-weight:600;line-height:1.2}.metric-value small{font-size:12px}.metric-value em{font-style:normal;font-size:10px;font-weight:400;color:#a2a7b0;margin-left:7px}.progress-mini{width:100%;max-width:160px}.progress-mini .progress-caption{font-size:9px;display:flex;justify-content:space-between;color:#a5abb5;gap:4px}.progress-mini .progress-caption b{color:#1685ff;font-weight:400}.progress-mini .track{height:7px;background:#e9edf4;border-radius:7px;margin-top:4px}.progress-mini .track i{display:block;height:100%;border-radius:7px;background:#eba33a}.module-intro{background:white;padding:19px 18px;border-radius:15px;line-height:1.7;font-size:14px;flex-shrink:0}.module-intro b{font-weight:500}.module-intro p{margin:0}.module-filter{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.module-filter label{display:flex;align-items:center;gap:7px;white-space:nowrap}.module-filter input{width:173px}.module-filter .btn{min-width:58px}.module-filter .expand{border:0;background:none;color:#1685ff;padding:0}.module-filter .extra{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.module-filter .extra[hidden]{display:none}.dropdown{position:relative;display:inline-block;min-width:108px;width:145px;vertical-align:middle;flex-shrink:0}.dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;height:29px;padding:0 10px;border:1px solid #dce2eb;border-radius:5px;background:white;color:#a7aeb8;text-align:left;white-space:nowrap}.dropdown-trigger.chosen{color:#515760}.dropdown-trigger[aria-expanded=true]{border-color:#1685ff}.dropdown-trigger svg{width:13px;height:13px;color:#b6bec8}.dropdown-menu{position:absolute;top:39px;left:0;min-width:100%;max-height:250px;overflow:auto;background:white;box-shadow:0 2px 13px #17243b22;border:1px solid #e6eaf1;border-radius:4px;z-index:20;padding:6px 0}.dropdown-menu button{display:block;width:100%;border:0;background:white;padding:8px 17px;white-space:nowrap;text-align:left;color:#626973}.dropdown-menu button:hover,.dropdown-menu button.selected{background:#f0f4f8;color:#1685ff}.module-inner-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:2;flex-shrink:0}.module-inner-toolbar .toolbar-actions{margin-left:auto}.module-panel .pagination{margin-top:34px}.page-index{border:0;background:none;color:#69717d;padding:0 2px;min-width:12px}.page-index.active{color:#1685ff;font-weight:600}.module-panel .pagination .page-controls{gap:16px}.inline-detail{color:#1685ff;border:0;background:none;padding:0;text-align:left}.module-panel .table-wrap{flex:0 1 auto}.module-panel .table-wrap:has(tbody tr:nth-child(11)){flex:0 1 auto}.module-panel .pagination{margin-bottom:8px}.demo-link{color:#1685ff}.metric-grid .metric{min-width:0}.metric .metric-value{white-space:nowrap}@media(max-width:1200px){.summary-bar{padding:16px}.metric-grid{gap:10px}.metric-value em{display:none}.metric{padding:12px;gap:8px}.module-filter{gap:8px}.module-filter input{width:145px}}@media(max-width:700px){#module{gap:10px}.metric-grid,.metric-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{height:65px}.metric-icon{width:30px;height:30px}.summary-bar{flex-wrap:wrap}.workspace{overflow:auto}.module-panel{min-height:350px}.module-filter input{width:130px}.dropdown{width:110px}.module-filter .extra{gap:8px}.module-panel .pagination{margin-top:18px}}

#module td .link{cursor:pointer}#module td:last-child .link{text-align:left}#module .module-inner-toolbar .dropdown-menu{z-index:20}.module-inner-toolbar .dropdown{min-width:0}.module-panel:has(.module-inner-toolbar){overflow:visible}.module-panel:has(.module-inner-toolbar) .table-wrap{overflow:auto}.status-tabs{flex-shrink:1}.module-panel:has(.table-wrap) .table-wrap{min-height:54px}
/* local data sandbox */
.demo-badge{color:#8b5b1c;background:#fff3dc;border:1px solid #f0d8aa;padding:4px 8px;border-radius:4px;font-size:11px;white-space:nowrap}.user-area #dataEditor{height:29px}.data-dialog{width:min(880px,96vw)}.editor-note{background:#f0f6ff;color:#526a87;border:1px solid #dae8fb;border-radius:6px;padding:10px 12px;margin:0 0 14px;line-height:1.6}.editor-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.editor-toolbar label{display:flex;align-items:center;gap:8px}.editor-toolbar input{flex:1;min-width:150px}.editor-toolbar select{min-width:156px}.editor-list{max-height:47vh;overflow:auto;border:1px solid var(--line);border-radius:6px}.edit-list-row{display:flex;gap:8px;padding:10px 12px;align-items:center;border-bottom:1px solid var(--line)}.edit-list-row:nth-child(even){background:#f7f8fa}.edit-list-row>div{flex:1;min-width:0}.edit-list-row b,.edit-list-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.edit-list-row small,.editor-fields small{color:#9099a5;font-size:11px}.editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:52vh;overflow:auto;padding:3px}.editor-fields .field{display:flex;flex-direction:column;gap:4px}.editor-fields input,.editor-fields select{width:100%;height:34px}.data-dialog textarea.bulk-text{width:100%;height:52vh;resize:vertical;padding:10px;font:12px/1.5 monospace;white-space:pre}.metric-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}#moduleSummary[hidden]{display:none!important}#moduleSummary>.metric-grid,#moduleSummary>.summary-bar{margin-bottom:0}.data-dialog .muted-note{line-height:1.5}.data-dialog .editor-toolbar .btn:disabled{opacity:.45}@media(max-width:900px){.demo-badge{font-size:9px;padding:3px 5px}.user-area{gap:8px}.metric-grid.four{grid-template-columns:repeat(2,1fr)}}

/* V4: source-informed Element Plus theme and dialog sizing. */
:root{--blue:#007cff;--bg:#f0f0f8;--line:#ebeef5;--text:#606266;--muted:#909399}
dialog::backdrop{background:rgba(0,0,0,.42);backdrop-filter:blur(5px)}
dialog.site-form-dialog{width:min(540px,94vw);margin:15vh auto auto;border-radius:14px;box-shadow:0 8px 30px #0002;color:#606266;max-height:82vh;overflow:auto}
.site-form-dialog .dialog-head{padding:20px 22px 0;border:0;font-size:16px;color:#303133}.site-form-dialog .dialog-head strong{font-weight:500}.site-form-dialog .dialog-inner{padding:12px 22px 22px}.site-form-dialog .dialog-head .plain-icon{color:#909399}
.site-form{display:flex;flex-direction:column;gap:15px}.site-label{display:flex;flex-direction:column;gap:8px;min-width:0}.site-label em{font-style:normal;color:#f56c6c}.site-form input,.site-form textarea,.site-form select{width:100%;min-width:0;border:1px solid #dcdfe6;border-radius:4px;color:#606266;background:#fff;padding:8px 10px}.site-form input,.site-form select{height:36px}.site-form textarea{min-height:65px;resize:vertical}.site-form select:disabled{background:#f5f7fa;color:#a8abb2}.site-form input:focus,.site-form select:focus,.site-form textarea:focus{border-color:#007cff;outline:none}.count-input{position:relative;display:block}.count-input input{padding-right:65px}.count-input small{position:absolute;right:10px;top:10px;color:#909399;font-size:12px}.site-region{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.site-bottom{display:grid;grid-template-columns:31% minmax(0,1fr);gap:18px}.site-date{display:flex;align-items:center;gap:4px;min-width:0}.site-date input{font-size:10px;padding:4px;flex:1;min-width:0}.site-form .dialog-actions{margin-top:15px;gap:20px}.site-form .dialog-actions .btn{height:30px;min-width:54px}
dialog.order-drawer{width:min(800px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:0;box-shadow:-8px 0 30px #0002;overflow:auto}.order-drawer .dialog-head{padding:24px;font-size:20px}.order-drawer .dialog-inner{padding:24px}.drawer-demo{font-size:12px;color:#909399;background:#f5f7fa;padding:10px;border-radius:5px}.order-heading{padding:20px 0 10px}.order-heading b{font-size:19px;color:#303133;margin-right:10px}.order-heading p{margin:8px 0}.drawer-section-title{font-size:15px;font-weight:600;color:#303133;margin:24px 0 12px}.drawer-grid,.drawer-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e4e7ed;border-radius:6px;overflow:hidden}.drawer-grid>div,.drawer-metrics>div{display:flex;flex-direction:column;gap:8px;padding:16px;border-bottom:1px solid #ebeef5}.drawer-grid span,.drawer-metrics span{font-size:12px;color:#909399}.drawer-grid b,.drawer-metrics b{font-weight:500;overflow-wrap:anywhere}.drawer-metrics b{font-size:20px;color:#007cff}.drawer-progress{height:8px;background:#e4e7ed;border-radius:6px;overflow:hidden}.drawer-progress i{height:100%;background:#007cff;display:block}
@media(max-width:550px){.site-bottom{grid-template-columns:1fr}.site-region{gap:5px}.site-form-dialog .dialog-inner{padding:12px 16px 20px}}

/* V5: component structure references; independently implemented local demo. */
dialog.v5-form,dialog.v5-opportunity,dialog.v5-detail,dialog.v5-small{width:min(600px,94vw);max-height:84vh;border-radius:14px;overflow:auto;color:#606266}
dialog.v5-opportunity{width:min(560px,94vw)}
dialog.v5-detail{width:min(800px,94vw)}
dialog.v5-small{width:min(400px,94vw)}
dialog.v5-drawer{width:min(640px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:0;overflow:auto}
dialog.site-form-dialog{width:min(600px,94vw)}
.v5-form-body{display:flex;flex-direction:column;gap:15px}
.v5-form-body label{display:flex;flex-direction:column;gap:7px;min-width:0}
.v5-form-body label em{color:#f56c6c;font-style:normal}
.v5-form-body input,.v5-form-body select,.v5-form-body textarea{height:36px;width:100%;border:1px solid #dcdfe6;border-radius:4px;padding:8px 10px;background:white;color:#606266}
.v5-form-body textarea{height:78px;resize:vertical}
.v5-form-body h3,.v5-detail h3{font-weight:600;font-size:15px;margin:10px 0 0;color:#303133;border-bottom:1px solid #ebeef5;padding-bottom:10px}
.v5-notice{background:#f4f7fb;color:#677a91;border-radius:5px;padding:9px 12px;font-size:12px}
.v5-detail-heading{display:flex;gap:16px;align-items:center;margin:18px 0}
.v5-detail-heading h2{margin:0;font-size:19px;color:#303133}.v5-detail-heading p{margin:5px 0;color:#909399}
.v5-device-icon{width:52px;height:52px;display:grid;place-items:center;background:#eaf3ff;color:#007cff;font-size:28px;border-radius:10px}
.v5-tabs{display:flex;border-bottom:1px solid #e4e7ed;margin:18px 0;gap:24px}.v5-tabs button{background:transparent;border:0;color:#606266;padding:10px 0;cursor:pointer}.v5-tabs button.on{color:#007cff;border-bottom:2px solid #007cff}
.v5-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e4e7ed;border-radius:5px;overflow:hidden;margin:12px 0}.v5-pairs>div{display:flex;flex-direction:column;gap:8px;padding:14px;border-bottom:1px solid #ebeef5}.v5-pairs span{color:#909399;font-size:12px}.v5-pairs b{font-weight:500;overflow-wrap:anywhere}
.v5-mini-table{width:100%;margin:12px 0;border-collapse:collapse}.v5-mini-table th,.v5-mini-table td{padding:10px;text-align:left;border-bottom:1px solid #ebeef5}.v5-mini-table th{background:#f5f7fa}
.v5-empty{text-align:center;padding:45px;color:#909399}.v5-timeline{border-left:2px solid #e4e7ed;padding-left:18px;margin:14px}.v5-timeline article{border:1px solid #e4e7ed;border-radius:6px;padding:14px;margin-bottom:12px}.v5-timeline small{float:right;color:#909399}

.slice-link{border:0;background:none;color:#007cff;cursor:pointer;padding:0;font:inherit}#dialog.slice-dialog{width:min(1200px,94vw);max-height:88vh;border-radius:18px} .slice-dialog .dialog-head{padding:24px 28px 0;border:0}.slice-dialog .dialog-inner{padding:10px 28px 26px}.slice-meta{font-size:13px;color:#909399;overflow-wrap:anywhere}.slice-demo{font-size:12px;color:#909399;margin:8px 0 14px}.slice-scroll{height:55vh;overflow:auto;display:block}.slice-group{background:#f0f1f3;border:1px solid #e5e9f0;border-radius:14px;margin-bottom:22px;overflow:hidden}.slice-group header{background:#f4f6f9;padding:14px 18px;color:#909399;font-size:14px}.slice-group b{color:#303133;font-weight:600}.slice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:18px}.slice-angle{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:12px}.slice-angle i{width:9px;height:9px;border-radius:50%}.slice-video{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:100px;padding:14px;border:1px solid #dcdfe6;border-radius:9px;background:white;color:#909399;cursor:pointer}.slice-video>span:nth-child(2){min-width:0;flex:1}.slice-video b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slice-video small{display:block;margin-top:7px;font-size:12px;overflow-wrap:anywhere}.slice-film{background:#f4f6f9;border-radius:8px;padding:12px;font-size:20px}.slice-video:hover{border-color:#007cff}@media(max-width:700px){.slice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#authGate{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:linear-gradient(130deg,#f1f5fa,#c4d1e3)}#authGate[hidden]{display:none}.authbox{width:min(420px,90vw);padding:36px;background:white;border-radius:16px;box-shadow:0 16px 50px #23365020;text-align:center}.authbox form{display:grid;gap:16px;margin-top:24px}.authbox input{width:100%;padding:12px;border:1px solid #dce3ed;border-radius:6px}.authbox p{color:#66758a}.authbox #authError{color:#b42318}
