:root{--purple:#6448b2;--ink:#2d2939;--muted:#8b8598;--line:#ebe7f1;--bg:#f7f6fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 "Microsoft YaHei",system-ui,sans-serif}button,input,textarea,select{font:inherit}button,.button{cursor:pointer;background:white;border:1px solid var(--line);border-radius:9px;padding:8px 13px;color:var(--ink)}button:hover,.button:hover{border-color:#b59de1}button:disabled{opacity:.5;cursor:wait}input,textarea,select{border:1px solid #e1dce9;border-radius:9px;padding:10px;background:#fff;color:var(--ink);max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #cbb9f1;outline-offset:1px}a{color:var(--purple);text-decoration:none}aside{position:fixed;inset:0 auto 0 0;width:224px;background:#fff;border-right:1px solid var(--line);padding:34px 22px}.brand{font-size:21px;color:var(--ink);display:flex;gap:8px;align-items:center}.brand>b{color:var(--purple)}.eyebrow{font-size:13px;font-weight:600;letter-spacing:1.7px;color:var(--muted)}aside .eyebrow{margin:45px 12px 18px}.nav{display:block;padding:13px 12px;border-radius:10px;color:#7b7389;margin:5px 0}.nav.active{color:var(--purple);background:#f0eafa;font-weight:600}.aside-foot{position:absolute;bottom:30px;color:#6c627c;font-size:14px}.aside-foot small{color:var(--muted)}main{margin-left:224px;padding:0 38px 34px}header{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);font-size:14px}.crumb{color:var(--muted)}header button{margin-left:10px;padding:5px 9px;font-size:13px}.intro{display:flex;justify-content:space-between;align-items:center;margin:35px 0 28px;gap:20px}.intro h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin:7px 0}.intro p:last-child{color:#80788d;margin:8px 0}.pill{white-space:nowrap;border:1px solid #e3d9f4;color:var(--purple);padding:7px 13px;background:#f2ecfc;border-radius:30px;font-size:13px}.workspace{display:grid;grid-template-columns:minmax(290px,370px) minmax(0,1fr);gap:22px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:17px;padding:23px;box-shadow:0 4px 20px #39275504}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px}h2{font-size:18px;margin:0;font-weight:650}.section-heading p{font-size:13px;margin:6px 0 0}.step{color:#a994cf;margin-right:8px;font-size:14px}.section-heading button{font-size:13px}.drop{display:block;position:relative;border:1px dashed #c9b7e7;background:#faf7ff;text-align:center;border-radius:11px;padding:22px 9px;cursor:pointer}.drop input{position:absolute;width:1px;height:1px;opacity:0}.drop b{color:var(--purple);display:block;font-size:15px}.drop small{color:#9890a3;font-size:12px;display:block;margin-top:9px}.label{display:block;font-size:14px;margin:17px 0 8px}textarea{resize:vertical;width:100%;height:205px;font-size:14px;line-height:1.8}.short{height:70px}.source-meta{display:flex;justify-content:space-between;font-size:12px;color:#9991a4}.source select,.source details input{width:100%}details{font-size:13px;color:var(--muted);margin-top:10px}summary{cursor:pointer}.tip{font-size:12px;line-height:1.8;color:#91879f;margin:15px 0}.primary{border:0;color:#fff;background:linear-gradient(110deg,#6448b2,#9f80e8);font-weight:600}.wide{width:100%;padding:12px}.primary:hover{filter:brightness(1.05)}#message{font-size:14px;white-space:pre-wrap;color:var(--purple);margin-bottom:0;overflow-wrap:anywhere}.muted{color:var(--muted);font-size:13px}.count{font-size:13px;background:#eee8f8;color:var(--purple);border-radius:20px;padding:2px 8px;margin-left:7px}.toolbar{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.toolbar input{flex:1;min-width:130px}.toolbar input,.toolbar select,.toolbar button,.toolbar .button{font-size:13px}.table-wrap{min-height:370px;max-height:590px;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:13px;font-weight:500;background:#f8f7fa;color:var(--muted);padding:11px 8px;white-space:nowrap}td{padding:16px 8px;border-bottom:1px solid #f0edf4;font-size:14px}td:first-child,th:first-child{width:30px}td .title{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;font-weight:600}td small{color:var(--muted);display:block}td button{font-size:12px;padding:4px 8px}.badge{white-space:nowrap;padding:3px 7px;background:#fff4e6;color:#a67932;border-radius:5px;font-size:12px}.badge.ready{background:#edf5f0;color:#4e8460}.empty{text-align:center;padding:90px 10px;color:#a19aa9;font-size:14px}.empty>div{font-size:40px;color:#cbbfe0}.empty h3{color:#6b607b;font-size:16px}.export{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:20px;margin-top:15px;font-size:13px}.export span{margin-right:auto;color:var(--muted)}.export button{font-size:13px}.storage-note{font-size:12px;color:#a09aa9;margin-top:18px}dialog{border:1px solid var(--line);border-radius:18px;padding:0;width:min(900px,94vw);max-height:90vh;box-shadow:0 25px 80px #22133933;color:var(--ink)}dialog::backdrop{background:#241b3555;backdrop-filter:blur(3px)}.editor-head,.editor-footer{display:flex;align-items:center;justify-content:space-between;padding:19px 25px;border-bottom:1px solid var(--line)}.editor-head p{margin:0 0 6px}.editor-head button{font-size:22px}.editor-body{padding:0 25px 22px;max-height:64vh;overflow:auto}#tabs{display:flex;gap:5px;flex-wrap:wrap;position:sticky;top:0;padding:16px 0;background:white;z-index:1}#tabs button{font-size:13px;padding:6px 9px}#tabs .active{background:#f0eafa;color:var(--purple);border-color:#d6c6ef}#fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}#fields label{display:block;font-size:13px;color:#726981}#fields input,#fields textarea,#fields select{display:block;width:100%;margin-top:6px;font-size:14px}#fields textarea{height:100px}#fields label.long{grid-column:1/-1}.field-note{font-size:12px;color:#b18645;display:block}#reviewNotes{font-size:13px;background:#faf5eb;color:#9c7a42;border-radius:8px;padding:10px;margin-bottom:12px}#reviewNotes:empty{display:none}.original pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 inherit}.editor-footer{border:0;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}@media(min-width:1500px){main{max-width:1650px;margin-right:auto}}@media(max-width:1100px){aside{width:180px;padding:28px 15px}.brand{font-size:17px}main{margin-left:180px;padding:0 20px}.intro{display:block}.pill{display:inline-block;margin-top:10px}.workspace{grid-template-columns:310px minmax(0,1fr)}.card{padding:17px}}@media(max-width:850px){aside{display:none}main{margin:0;padding:0 16px 25px}.workspace{grid-template-columns:1fr}.intro h1{font-size:27px}header{flex-wrap:wrap;padding:15px 0}.table-wrap{min-height:250px}#fields{grid-template-columns:1fr}.export{flex-wrap:wrap}.editor-body{padding:0 16px 18px}}
:root{scrollbar-color:#c9bfdc transparent}.workflow{display:flex;align-items:center;gap:15px;margin:-4px 0 26px;font-size:13px;color:#80758e;flex-wrap:wrap}.workflow span{padding:7px 13px;background:white;border:1px solid #e9e3f2;border-radius:7px}.workflow i{font-style:normal;color:#b9a6d6}.editor-tools{display:flex;gap:8px;padding:18px 0;flex-wrap:wrap}.editor-tools button,.editor-tools select{font-size:13px}.editor-tools .purple{color:#6448b2;background:#f3ecfd}.editor-head small{color:#9d90ad;font-size:13px}#productPage{padding-bottom:20px}.product-hero{border:1px solid #e5dcf3;background:linear-gradient(120deg,#f6f1fd,#fbfaff);border-radius:12px;padding:24px;margin:14px 0}.product-hero h1{font-size:27px;margin:8px 0}.product-hero>p:last-child{font-size:14px;color:#92859f}.product-section{border-bottom:1px solid #eee8f4;padding:15px 0}.product-section>div{display:flex;align-items:center;justify-content:space-between}.product-section h3{font-size:16px;margin:0}.product-section button{font-size:12px;color:#6448b2;border:0;background:#f5f0fc}.product-section p{font-size:14px;line-height:1.9;color:#786d85;white-space:normal}.field-head{display:flex;align-items:center;justify-content:space-between}.field-head button{font-size:12px;color:#6448b2;padding:2px 6px}.editor-footer{gap:9px}.editor-footer span{margin-right:auto}.editor-footer button{font-size:13px}.id{font-family:monospace;font-size:12px!important;max-width:290px;overflow-wrap:anywhere}.proposal-item{padding:15px 0;border-bottom:1px solid #ebe5f3}.proposal-item>label{font-weight:600;font-size:14px}.compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.compare>div{background:#f7f5fa;padding:12px;border-radius:8px;min-width:0}.compare>div:last-child{background:#f1eafa}.compare pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 inherit}.proposal-item p{font-size:12px;color:#9686a6}.proposal-item small{font-size:12px;color:#988ba7}#proposal{width:min(850px,94vw)}#proposal .editor-body{max-height:62vh}.editor-body [hidden]{display:none!important}.product-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-facts div{font-size:13px;padding:8px 10px;background:#f8f6fb;border-radius:7px;overflow-wrap:anywhere}.product-facts small{display:block;color:#a294b0}@media(max-width:600px){.compare,.product-facts{grid-template-columns:1fr}.workflow{gap:7px}.workflow i{display:none}.editor-footer{flex-wrap:wrap}.editor-footer span{width:100%}.product-hero h1{font-size:23px}.toolbar{gap:5px}}

.delete-record{color:#a34455;margin-left:6px}.product-child .delete-record{font-size:12px}

.product-filter-menu{position:relative;flex:0 0 auto;color:var(--ink,#40354a);font-size:13px}
.product-filter-menu summary{cursor:pointer;background:#eeeef4;border-radius:24px;padding:11px 16px;white-space:nowrap}
.product-filter-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:max-content;min-width:150px;max-width:calc(100vw - 40px);max-height:320px;overflow:auto;padding:12px;background:white;border:1px solid #e8dff2;border-radius:14px;box-shadow:0 10px 30px #33204620}
.product-filter-panel fieldset{border:0;margin:0 0 8px;padding:0}
.product-filter-panel legend{color:#7950bb;font-weight:600}
.product-filter-panel label{display:flex;align-items:center;gap:8px;padding:5px 4px;cursor:pointer}
.product-filter-panel input[type=checkbox]{width:auto;margin:0;accent-color:#7950bb}

.product-filter-menu summary{display:flex;align-items:center;gap:9px;list-style:none;min-height:40px;padding:0 13px;border:1px solid #e9dff3;background:#f8f4fc;color:#564568;border-radius:12px}
.product-filter-menu summary::-webkit-details-marker{display:none}
.product-filter-menu summary::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.75}
.product-filter-menu[open] summary{background:#eee4f9;border-color:#dcc6ef;color:#6d3aa0}
.product-filter-menu[open] summary::after{transform:translateY(2px) rotate(225deg)}
.product-filter-menu .product-filter-panel{min-width:164px;padding:8px;max-width:min(280px,calc(100vw - 32px));border-radius:12px}
.product-filter-menu .product-filter-panel fieldset{margin:0;padding:0;border:0;min-width:0}
.product-filter-menu .product-filter-panel fieldset+fieldset{margin-top:6px;border-top:1px solid #eee6f4;padding-top:6px}
.product-filter-menu .product-filter-panel legend{padding:5px 9px;font-size:12px;color:#7950a3}
.product-filter-menu .product-filter-panel label{display:flex;justify-content:flex-start;align-items:center;gap:9px;min-height:34px;padding:6px 9px;border-radius:7px;color:#44364f;white-space:nowrap}
.product-filter-menu .product-filter-panel label:hover,.product-filter-menu .product-filter-panel label:has(input:focus-visible){background:#f6f0fc}
.product-filter-menu .product-filter-panel label:has(input:checked){background:#eee4f9;color:#643394}
.product-filter-menu .product-filter-panel label>input[type=checkbox]{flex:0 0 15px;width:15px;min-width:0;max-width:15px;height:15px;margin:0;padding:0}
@media(max-width:600px){.records .toolbar:has(.product-filter-menu){flex-wrap:wrap}.records .toolbar:has(.product-filter-menu)>#search{flex:1 0 100%;min-width:0}.product-filter-menu:first-of-type .product-filter-panel{right:auto;left:0}}

.records .toolbar:has(.product-filter-menu){align-items:center}
.records .toolbar>#search,.records .toolbar>.product-filter-menu>summary{box-sizing:border-box;height:50px;min-height:50px}

.records .toolbar:has(>.product-filter-menu){align-items:center;gap:8px}
.records .toolbar>#search,.records .toolbar>.product-filter-menu,.records .toolbar>.product-filter-menu>summary{box-sizing:border-box;height:50px;min-height:50px;margin:0;align-self:center}
.records .toolbar>#search{border-radius:12px}

.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor),
.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor):hover,
.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor):active{background:transparent;border-color:transparent;box-shadow:none}
.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor):hover{color:#603aa4}
.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor):focus-visible{outline:2px solid #9573b9;outline-offset:1px}

.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor){display:inline-grid;place-items:center;box-sizing:border-box;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent!important;box-shadow:none!important;color:#7950c5}
.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor)[hidden]{display:none}
.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor) svg{display:block;width:20px;height:20px}
@media(hover:hover){.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor):enabled:hover{background:#f2ecfa!important}}
.editor-head :is(#shareProduct,#snapshotProduct,#closeEditor):enabled:is(:active,:focus-visible){background:#f2ecfa!important}
