/* V5.2 local revision: common entry and responsive compact panels. */
/* The screenshot's field entry is the shared visual reference. ID specificity prevents model-local lock styles overriding it. */
html body :is(#lockScreen,#fieldLock).center-lock{box-sizing:border-box!important;position:fixed!important;inset:0!important;z-index:2147483000!important;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%)!important;display:flex;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:0!important;padding:20px!important;color:#e8e8e8!important;font:20px/1.8 "Songti SC",SimSun,serif!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box{box-sizing:border-box!important;display:block!important;width:420px!important;max-width:100%!important;min-width:0!important;padding:36px 40px!important;margin:0!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:16px!important;background:rgba(255,255,255,.06)!important;box-shadow:0 10px 40px rgba(0,0,0,.5)!important;text-align:center!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box h2{display:block!important;font:700 25px/1.5 "Songti SC",SimSun,serif!important;color:#f5af19!important;-webkit-text-fill-color:#f5af19!important;letter-spacing:0!important;margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;white-space:normal!important;text-shadow:none!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box p{font:17px/1.8 "Songti SC",SimSun,serif!important;color:#aaa!important;-webkit-text-fill-color:#aaa!important;letter-spacing:0!important;margin:0 0 18px!important;padding:0!important;background:transparent!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box input{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:48px!important;padding:10px 14px!important;margin:0 0 14px!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:8px!important;background:rgba(0,0,0,.35)!important;color:white!important;-webkit-text-fill-color:white!important;font:20px/1.4 "Songti SC",SimSun,serif!important;text-align:center!important;letter-spacing:4px!important;outline:2px solid #f5af19!important;outline-offset:2px!important;box-shadow:none!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box input::placeholder{color:#888!important;-webkit-text-fill-color:#888!important;opacity:1!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box button{box-sizing:border-box!important;display:block!important;width:100%!important;height:46px!important;min-height:46px!important;padding:10px!important;margin:0!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#f5af19,#f12711)!important;color:white!important;-webkit-text-fill-color:white!important;font:700 17px/1.5 "Songti SC",SimSun,serif!important;letter-spacing:0!important;cursor:pointer;text-shadow:none!important;box-shadow:none!important;transform:none!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-error{display:block!important;color:#ff8585!important;-webkit-text-fill-color:#ff8585!important;font:16px/1.5 "Songti SC",SimSun,serif!important;min-height:24px!important;margin:0 0 8px!important;background:transparent!important}
@media(max-width:640px){html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box{padding:24px 20px!important}html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box h2{font-size:23px!important}}
body.field-unlocked #fieldLock{display:none!important}
.center-compact-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:10px 14px!important}
.center-compact-grid>*{min-width:0;overflow-wrap:anywhere}
.center-wide-table{display:block!important;width:100%!important;white-space:normal!important;overflow:visible!important;table-layout:auto!important}
.center-wide-table>tbody{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:8px 12px}
.center-wide-table>tbody>tr{display:grid;grid-template-columns:minmax(70px,.65fr) minmax(0,1.8fr);border:1px solid rgba(128,128,128,.35);align-content:start}
.center-wide-table>tbody>tr>td,.center-wide-table>tbody>tr>th{width:auto!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;padding:6px 8px!important}
.center-wide-table>tbody>tr.center-table-heading{grid-column:1/-1;background:rgba(128,128,128,.1)}
.center-wide-table>thead{display:block}.center-wide-table>thead>tr{display:flex;gap:24px}
@media(min-width:900px){body>.container,body>.app,body>#app{max-width:1600px!important;width:100%!important}.form-grid,.sx-master-grid,.shanxiang-shensha-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.source-grid,.grid-2,.grid-3,.tenets,.weight-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important}.location-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.location-row,.env-factor.location-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}.location-name,.env-factor.location-row>label{grid-column:1/-1}.kv{grid-template-columns:repeat(3,minmax(85px,.6fr) minmax(0,1fr))!important}.form-grid>[style*="1 / -1"],.form-grid>[style*="1/-1"]{grid-column:1/-1!important}}
@media(max-width:640px){html body .center-lock-box{padding:24px 20px!important}html body .center-lock-box h2{font-size:23px!important}.center-wide-table>tbody{grid-template-columns:1fr}.center-compact-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}}

@media(min-width:900px){
.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}.principles>p:first-child{grid-column:1/-1}.principles>p{margin:0!important;padding:6px;min-width:0}
.gz-integration .gz-record{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 14px}.gz-record>h3,.gz-record>h4,.gz-record>summary{grid-column:1/-1}
.center-wide-table.center-three>tbody{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.center-wide-table.center-three>tbody>tr{grid-template-columns:minmax(60px,.6fr) minmax(0,1fr) minmax(0,1.6fr)}
}
.center-lock-box input{font-size:20px!important;line-height:1.4!important}

.center-wide-table.center-three>tbody>tr{grid-template-columns:minmax(55px,.6fr) minmax(0,1fr) minmax(0,1.6fr)}

html body #lockScreen.center-lock,html body #fieldLock.center-lock{padding:20px!important}
.center-dict-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:5px 8px;align-items:start}
.center-dict-grid>.qm-ziku-pickable{min-width:0;overflow-wrap:anywhere;margin:0!important}
html body :is(#lockScreen,#fieldLock).center-lock .center-lock-box{font:20px/1.8 "Songti SC",SimSun,serif!important;color:#e8e8e8!important;-webkit-text-fill-color:#e8e8e8!important}

/* Compact information runs, including div-based energy rows. */
html body .center-info-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))!important;gap:8px 12px!important;align-items:stretch!important;margin:8px 0!important}
html body .center-info-grid>*{min-width:0!important;width:auto!important;margin:0!important;padding:8px!important;border:1px solid #d6d0c4!important;border-radius:6px!important;overflow-wrap:anywhere;box-sizing:border-box!important}
html body .center-energy-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body .center-energy-grid>.energy-bar{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;text-align:center!important;align-content:start!important}
html body .center-energy-grid>.energy-bar>.label,html body .center-energy-grid>.energy-bar>.val,html body .center-energy-grid>.energy-bar>.bar-label{width:auto!important;min-width:0!important;white-space:normal!important;text-align:center!important;display:block!important;font-size:16px!important;line-height:1.4!important}
html body .center-energy-grid>.energy-bar>.bar-bg,html body .center-energy-grid>.energy-bar>.bar-track{width:100%!important;min-width:0!important;height:6px!important;flex:none!important;margin:2px 0!important;grid-row:3}
html body .center-energy-grid>.energy-bar>.val{grid-row:2}
html body .center-compact-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))!important}
html body .center-wide-table>tbody{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))!important}
html body .center-wide-table.center-three>tbody{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important}
html body .center-wide-table>tbody>tr{grid-template-columns:minmax(50px,.65fr) minmax(0,1.8fr)!important}
html body .center-wide-table.center-three>tbody>tr{grid-template-columns:minmax(40px,.6fr) minmax(0,1fr) minmax(0,1.6fr)!important}
@media(max-width:560px){html body .center-energy-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body .center-info-grid,html body .center-compact-grid,html body .center-wide-table>tbody{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .center-energy-grid .energy-bar .label,html body .center-energy-grid .energy-bar .val{font-size:14px!important}}
@media(max-width:560px){html body .center-info-grid.center-energy-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
html body .kv{grid-template-columns:repeat(3,minmax(50px,.6fr) minmax(0,1fr))!important;gap:6px 10px!important} @media(max-width:560px){html body .kv{grid-template-columns:repeat(2,minmax(45px,.6fr) minmax(0,1fr))!important}}
