:root{
  --t-primary:#2f60ef;
  --t-primary-dark:#204bd4;
  --t-primary-soft:#eef3ff;
  --t-page:#ffffff;
  --t-field:#f7f8fa;
  --t-line:#edf0f4;
  --t-line-soft:#f2f4f8;
  --t-line-strong:#d8dee8;
  --t-text:#1f2530;
  --t-text-2:#687386;
  --t-text-3:#98a2b3;
  --t-radius:8px;
  --t-font:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;padding:0}
body{
  font-family:var(--t-font);
  font-size:12.8px;
  color:var(--t-text);
  background:var(--t-page);
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea{font-family:var(--t-font)}
a{color:var(--t-primary);text-decoration:none}
a:hover{color:var(--t-primary-dark)}
*{scrollbar-width:thin;scrollbar-color:#d6dbe4 transparent}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:#d6dbe4;border-radius:8px}
::-webkit-scrollbar-track{background:transparent}

/* ---------- Top Header Bar (Deep Blue gbt-manager style) ---------- */
.app-account-bar{
  height:60px;
  padding:0 20px;
  background:#2b53d2;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  position:relative;
  z-index:20;
  box-shadow:0 2px 10px rgba(20,45,130,.18);
}
.brand-group{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-toggle{
  width:32px;height:32px;border-radius:8px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.12);
  color:#fff;cursor:pointer;font-size:15px;
  display:grid;place-items:center;
}
.nav-toggle:hover{background:rgba(255,255,255,.22)}
.app-brand{
  display:flex;align-items:center;gap:10px;
  color:#fff;font-size:15px;font-weight:600;white-space:nowrap;
}
.app-brand:hover{color:#fff}
.app-brand-mark{
  width:34px;height:34px;border-radius:9px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.25);
  display:grid;place-items:center;color:#fff;flex-shrink:0;
}

.top-nav{
  display:flex;align-items:center;gap:4px;
  flex:1 1 auto;min-width:0;margin-left:14px;
  overflow-x:auto;scrollbar-width:none;
}
.top-nav::-webkit-scrollbar{display:none}
.top-nav-item{
  flex:0 0 auto;border:0;background:transparent;
  color:rgba(255,255,255,.86);
  font-size:13px;font-weight:500;
  padding:7px 12px;border-radius:8px;cursor:pointer;white-space:nowrap;
  transition:background .15s,color .15s;
}
.top-nav-item:hover{background:rgba(255,255,255,.14);color:#fff}
.top-nav-item.active{background:#fff;color:#204bd4;font-weight:600}

.header-right{display:flex;align-items:center;gap:10px;flex-shrink:0;position:relative}
.ver-badge{
  font-size:11px;padding:2px 8px;border-radius:10px;
  background:rgba(255,255,255,.16);color:#fff;
}
.hdr-icon-btn{
  position:relative;width:34px;height:34px;border-radius:8px;
  border:0;background:rgba(255,255,255,.12);color:#fff;
  cursor:pointer;display:grid;place-items:center;font-size:15px;
}
.hdr-icon-btn:hover{background:rgba(255,255,255,.22)}
.notice-badge{
  position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;
  padding:0 4px;border-radius:9px;background:#f04438;color:#fff;
  font-size:10px;font-weight:600;display:flex;align-items:center;justify-content:center;
  border:1.5px solid #2b53d2;
}
.notice-popover{
  position:absolute;top:44px;right:0;width:340px;
  background:#fff;color:var(--t-text);border:1px solid var(--t-line);
  border-radius:10px;box-shadow:0 16px 40px rgba(15,27,52,.18);
  z-index:100;overflow:hidden;
}
.notice-pop-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;border-bottom:1px solid var(--t-line);font-weight:600;
}
.notice-pop-list{max-height:300px;overflow-y:auto}
.notice-pop-item{
  padding:10px 14px;border-bottom:1px solid var(--t-line-soft);
  cursor:pointer;display:flex;flex-direction:column;gap:4px;
}
.notice-pop-item:hover{background:#f8faff}
.notice-pop-item.read{opacity:.6}

.account-menu{position:relative}
.account-summary{
  display:flex;align-items:center;gap:8px;
  padding:4px 10px 4px 6px;border-radius:20px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.12);color:#fff;
  cursor:pointer;font-size:12.8px;
}
.account-summary:hover{background:rgba(255,255,255,.2)}
.account-avatar{
  width:26px;height:26px;border-radius:50%;
  background:#fff;color:#2b53d2;font-weight:700;font-size:12px;
  display:grid;place-items:center;overflow:hidden;
}
.account-avatar img{width:100%;height:100%;object-fit:cover}
.account-role{
  background:rgba(255,255,255,.2);color:#fff;
  border-radius:4px;font-size:11px;padding:1px 6px;
}
.account-popup{
  position:absolute;right:0;top:42px;min-width:210px;
  background:#fff;color:var(--t-text);border:1px solid var(--t-line);
  border-radius:10px;box-shadow:0 12px 34px rgba(31,37,48,.16);
  padding:8px;z-index:100;
}
.account-popup p{margin:4px 8px;color:var(--t-text-2);font-size:12px}
.account-popup .account-unit{padding-bottom:6px;margin-bottom:6px;border-bottom:1px solid var(--t-line)}
.account-popup a,.account-popup button{
  display:block;width:100%;text-align:left;border:0;background:transparent;
  border-radius:7px;font-size:12.8px;color:var(--t-text);padding:8px 10px;cursor:pointer;
}
.account-popup a:hover,.account-popup button:hover{background:var(--t-field);color:var(--t-primary)}

/* ---------- Shell Layout ---------- */
.app-container{
  display:flex;
  height:calc(100vh - 60px);
  overflow:hidden;
  background:var(--t-page);
}
.sidebar{
  width:206px;flex:0 0 206px;
  background:#fff;border-right:1px solid var(--t-line);
  padding:12px 10px 20px;overflow-y:auto;
  transition:width .18s,flex-basis .18s,padding .18s;
}
.sidebar.collapsed{width:0;flex-basis:0;padding:0;border-right:0;overflow:hidden}
.sidebar-header{
  color:var(--t-text-3);font-size:11px;font-weight:600;
  letter-spacing:.05em;padding:4px 10px 8px;
}
.sidebar-group-title{
  display:flex;align-items:center;justify-content:space-between;
  padding:8px 10px;border-radius:7px;color:var(--t-text);
  font-size:13px;font-weight:500;cursor:pointer;margin-top:2px;
}
.sidebar-group-title:hover{background:var(--t-field)}
.sidebar-children{border-left:1px solid var(--t-line);margin:2px 0 6px 14px;padding-left:6px}
.sidebar-item{
  display:flex;align-items:center;gap:8px;width:100%;text-align:left;
  border:0;background:transparent;color:#4b5565;
  font-size:12.5px;padding:8px 10px;border-radius:7px;margin:1px 0;cursor:pointer;
}
.sidebar-item:hover{background:var(--t-field);color:var(--t-text)}
.sidebar-item.active{background:var(--t-primary-soft);color:var(--t-primary);font-weight:600}

.content-wrap{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.tags-view{
  display:flex;align-items:center;gap:6px;
  padding:6px 18px;background:#fafbfe;border-bottom:1px solid var(--t-line);
  overflow-x:auto;flex-shrink:0;
}
.tag-tab{
  display:inline-flex;align-items:center;gap:6px;
  height:26px;padding:0 10px;border-radius:6px;
  border:1px solid var(--t-line);background:#fff;color:var(--t-text-2);
  font-size:12px;cursor:pointer;white-space:nowrap;
}
.tag-tab.active{background:var(--t-primary);border-color:var(--t-primary);color:#fff}
.tag-tab .tag-close{
  font-size:12px;line-height:1;opacity:.75;padding:0 2px;border-radius:3px;
}
.tag-tab .tag-close:hover{opacity:1;background:rgba(0,0,0,.15)}

.main-content{
  flex:1 1 auto;overflow:auto;padding:16px 22px 24px;background:#fff;
}

/* ---------- Split Panel (e.g. /system/user dept tree + table) ---------- */
.split-page{display:flex;gap:16px;align-items:flex-start}
.split-left{
  width:230px;flex:0 0 230px;border:1px solid var(--t-line);
  border-radius:10px;padding:12px;background:#fff;min-height:420px;
}
.split-right{flex:1 1 auto;min-width:0}
.tree-node-row{
  display:flex;align-items:center;gap:6px;padding:5px 8px;border-radius:6px;cursor:pointer;font-size:12.5px;
}
.tree-node-row:hover{background:var(--t-field)}
.tree-node-row.active{background:var(--t-primary-soft);color:var(--t-primary);font-weight:600}

/* ---------- Query Filter Card & Action Row ---------- */
.query-card{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;
  padding:0 0 12px;border-bottom:1px solid var(--t-line);
}
.qf-item{display:inline-flex;align-items:center;gap:8px}
.qf-label{color:var(--t-text-2);font-size:12px;white-space:nowrap}
.action-row{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:8px;padding:10px 0 12px;
}
.action-left,.action-right{display:flex;flex-wrap:wrap;align-items:center;gap:8px}

/* ---------- Form Controls ---------- */
input:not([type=checkbox]):not([type=radio]):not([type=file]),
select,textarea{
  height:32px;padding:0 11px;
  border:1px solid var(--t-field);border-radius:8px;
  background:var(--t-field);font-size:12.5px;color:var(--t-text);
  outline:none;transition:border-color .15s,background .15s,box-shadow .15s;
}
textarea{height:auto;padding:8px 11px;line-height:1.55;min-height:72px}
input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
select:focus,textarea:focus{
  border-color:var(--t-primary);background:#fff;
  box-shadow:0 0 0 3px rgba(47,96,239,.12);
}
input:disabled,select:disabled,textarea:disabled{background:#f2f4f8;color:#98a2b3;cursor:not-allowed}
input[type=checkbox],input[type=radio]{accent-color:var(--t-primary);width:14px;height:14px;vertical-align:-2px;cursor:pointer}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  height:32px;padding:0 15px;border:1px solid var(--t-line-strong);
  border-radius:16px;background:#fff;color:var(--t-text);
  font-size:12.5px;font-weight:500;cursor:pointer;white-space:nowrap;
  transition:background .15s,border-color .15s,color .15s;
}
.btn:hover:not(:disabled){background:#f7faff;border-color:var(--t-primary);color:var(--t-primary)}
.btn-primary{background:var(--t-primary);border-color:var(--t-primary);color:#fff;box-shadow:0 2px 6px rgba(47,96,239,.2)}
.btn-primary:hover:not(:disabled){background:var(--t-primary-dark);border-color:var(--t-primary-dark);color:#fff}
.btn-danger{background:#f04438;border-color:#f04438;color:#fff}
.btn-danger:hover:not(:disabled){background:#d92d20;border-color:#d92d20;color:#fff}
.btn-success{background:#17994b;border-color:#17994b;color:#fff}
.btn-warn{background:#f59e0b;border-color:#f59e0b;color:#fff}
.btn-link{background:none;border:0;color:var(--t-primary);padding:0 4px;height:auto;border-radius:4px}
.btn-link:hover{text-decoration:underline;background:none}
.btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}

/* ---------- Borderless Zebra Data Table ---------- */
.table-wrap{overflow-x:auto;width:100%}
table.data-table{
  width:100%;border-collapse:separate;border-spacing:0;background:#fff;font-size:12.5px;
}
table.data-table th{
  background:var(--t-field);color:var(--t-text-2);font-weight:600;font-size:11.5px;
  text-align:center;border:0;border-bottom:1px solid var(--t-line);
  padding:9px 10px;white-space:nowrap;position:sticky;top:0;z-index:2;
}
table.data-table th:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}
table.data-table th:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}
table.data-table td{
  border:0;border-bottom:1px solid var(--t-line-soft);
  padding:8px 10px;text-align:center;vertical-align:middle;color:var(--t-text);
  white-space:nowrap;max-width:240px;overflow:hidden;text-overflow:ellipsis;
}
table.data-table tbody tr:nth-child(even) td{background:#fafbfe}
table.data-table tbody tr:hover td{background:#f8faff}
table.data-table td.align-left,table.data-table th.align-left{text-align:left}
table.data-table td.actions-cell{max-width:none;overflow:visible}
table.data-table td.actions-cell .btn{
  height:25px;padding:0 10px;font-size:11.5px;border-radius:13px;margin:1px 3px 1px 0;
}
table.data-table td.actions-cell .btn-edit{background:#f2fcf5;border-color:#b7e3c0;color:#17994b}
table.data-table td.actions-cell .btn-edit:hover{background:#e6f8ec;border-color:#17994b}
table.data-table td.actions-cell .btn-danger-soft{background:#fff5f4;border-color:#f6c9c4;color:#d92d20}
table.data-table td.actions-cell .btn-danger-soft:hover{background:#ffe9e7;border-color:#d92d20}
table.data-table td.actions-cell .btn-warn-soft{background:#fff8e8;border-color:#f3d9a4;color:#b45309}
.seq-col{color:var(--t-text-3)}

/* ---------- Dict Tags & Switch ---------- */
.dict-tag{
  display:inline-block;padding:2px 9px;border-radius:10px;
  font-size:11.5px;line-height:1.5;font-weight:500;
  background:#f2f4f8;color:var(--t-text-2);
}
.dict-tag.primary{background:#eef3ff;color:#2f60ef}
.dict-tag.success{background:#ecfdf3;color:#17994b}
.dict-tag.warning{background:#fff8e8;color:#b45309}
.dict-tag.danger{background:#fff5f4;color:#d92d20}
.dict-tag.info{background:#f2f4f8;color:#687386}

.switch-btn{
  position:relative;display:inline-block;width:36px;height:20px;
  border-radius:10px;border:0;background:#d0d7e2;cursor:pointer;
  transition:background .18s;vertical-align:middle;padding:0;
}
.switch-btn.on{background:var(--t-primary)}
.switch-btn::after{
  content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;
  border-radius:50%;background:#fff;transition:transform .18s;
}
.switch-btn.on::after{transform:translateX(16px)}
.switch-btn:disabled{opacity:.5;cursor:not-allowed}

/* ---------- Pagination ---------- */
.pagination{
  display:flex;align-items:center;justify-content:flex-end;gap:6px;
  padding:14px 0 4px;font-size:12px;color:var(--t-text-2);
}
.pagination button{
  min-width:28px;height:28px;padding:0 10px;border:1px solid var(--t-line);
  border-radius:7px;background:#fff;color:var(--t-text);font-size:12px;cursor:pointer;
}
.pagination button:hover:not(:disabled){border-color:var(--t-primary);color:var(--t-primary)}
.pagination button.current{background:var(--t-primary-soft);border-color:#c9d8ff;color:var(--t-primary);font-weight:600}
.pagination button:disabled{opacity:.4;cursor:not-allowed}
.pagination select{height:28px;padding:0 8px;border:1px solid var(--t-line);background:#fff}

/* ---------- Modals & 2-Column Form Grid ---------- */
.modal-overlay{
  position:fixed;inset:0;z-index:1000;background:rgba(16,32,48,.46);
  display:flex;align-items:flex-start;justify-content:center;
  padding:5vh 16px 24px;overflow-y:auto;backdrop-filter:blur(2px);
}
.modal.ep-dialog{
  width:720px;max-width:96vw;background:#fff;border:1px solid var(--t-line);
  border-radius:12px;box-shadow:0 24px 64px rgba(15,27,52,.28);overflow:hidden;
}
.modal-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 20px;font-size:15px;font-weight:600;border-bottom:1px solid var(--t-line);
}
.modal-close{
  border:0;background:transparent;font-size:18px;color:var(--t-text-3);cursor:pointer;line-height:1;padding:2px 6px;border-radius:6px;
}
.modal-close:hover{background:var(--t-field);color:var(--t-text)}
.modal-body{padding:18px 20px;max-height:72vh;overflow-y:auto}
.modal-footer{
  display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;
  border-top:1px solid var(--t-line);background:#fcfcfd;
}
.ep-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.ep-form-item{display:flex;flex-direction:column;gap:6px}
.ep-form-item.full{grid-column:1 / -1}
.ep-form-item label{font-size:12.5px;font-weight:500;color:var(--t-text-2)}
.ep-form-item label .req{color:#f04438;margin-right:2px}
.ep-form-item input:not([type=checkbox]):not([type=radio]),
.ep-form-item select,.ep-form-item textarea{width:100%}
.radio-group{display:flex;align-items:center;gap:14px;min-height:32px}
.radio-group label{display:inline-flex;align-items:center;gap:5px;font-weight:400;color:var(--t-text);cursor:pointer}

/* ---------- Cards & Profile ---------- */
.card{
  background:#fff;border:1px solid var(--t-line);border-radius:10px;
  box-shadow:0 1px 2px rgba(31,37,48,.04);overflow:hidden;
}
.card-head{padding:12px 16px;border-bottom:1px solid var(--t-line);font-size:14px;font-weight:600}
.card-body{padding:16px}
.profile-grid{display:grid;grid-template-columns:340px 1fr;gap:16px;align-items:start}
.profile-info-list{list-style:none;margin:0;padding:0}
.profile-info-list li{
  display:flex;justify-content:space-between;gap:8px;
  padding:10px 0;border-bottom:1px solid var(--t-line-soft);font-size:12.8px;
}
.tabs-nav{display:flex;gap:18px;border-bottom:1px solid var(--t-line);margin-bottom:16px}
.tabs-nav button{
  border:0;background:transparent;padding:8px 4px;font-size:13px;font-weight:500;
  color:var(--t-text-2);cursor:pointer;border-bottom:2px solid transparent;
}
.tabs-nav button.active{color:var(--t-primary);border-bottom-color:var(--t-primary);font-weight:600}

/* ---------- SearchSelect, TreeSelect, DateRangePicker ---------- */
.ss{position:relative;display:inline-block;width:100%;min-width:140px}
.ss-input{width:100%;padding-right:42px!important}
.ss-clear,.ss-toggle{
  position:absolute;top:50%;transform:translateY(-50%);border:0;background:transparent;
  color:var(--t-text-3);cursor:pointer;padding:2px 5px;font-size:12px;
}
.ss-toggle{right:6px}
.ss-clear{right:24px}
.ss-list{
  position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:1200;
  max-height:240px;overflow-y:auto;background:#fff;border:1px solid var(--t-line);
  border-radius:8px;box-shadow:0 12px 30px rgba(31,37,48,.14);
}
.ss-item{padding:7px 12px;font-size:12.5px;cursor:pointer;text-align:left}
.ss-item:hover,.ss-item.active{background:var(--t-primary-soft);color:var(--t-primary)}
.ss-empty{padding:10px 12px;color:var(--t-text-3);font-size:12px;text-align:center}

/* ---------- Date Range Picker (Element Plus daterange style) ---------- */
.yhqp-drp{display:inline-flex;position:relative}
.yhqp-drp-box{
  display:inline-flex;align-items:center;gap:6px;width:280px;height:32px;padding:0 10px;
  border:1px solid #dcdfe6;border-radius:6px;background:#fff;color:#606266;font-size:14px;
  cursor:pointer;transition:border-color .15s,box-shadow .15s;
}
.yhqp-drp-box:hover{border-color:#c0c4cc}
.yhqp-drp-box.is-open{border-color:var(--t-primary);box-shadow:0 0 0 1px rgba(47,96,239,.12)}
.yhqp-drp-icon{width:14px;height:14px;flex:0 0 14px;color:#a8abb2}
.yhqp-drp-box .yhqp-drp-input{
  flex:1 1 0;min-width:0;width:0;height:28px!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  font-size:14px;color:#606266;text-align:center;outline:none;
}
.yhqp-drp-box .yhqp-drp-input::placeholder{color:#a8abb2}
.yhqp-drp-sep{flex:0 0 auto;color:#606266;font-size:13px}
.yhqp-drp-clear{
  flex:0 0 auto;width:16px;height:16px;padding:0;border:0;border-radius:50%;
  background:transparent;color:#c0c4cc;font-size:14px;line-height:16px;cursor:pointer;
  opacity:0;pointer-events:none;transition:opacity .15s;
}
.yhqp-drp-box:hover .yhqp-drp-clear,.yhqp-drp-box.is-open .yhqp-drp-clear{opacity:1;pointer-events:auto}
.yhqp-drp-clear:hover{color:#909399;background:#f2f6fc}
.yhqp-drp-panel{
  position:fixed;z-index:2500;display:flex;background:#fff;border:1px solid #e4e7ed;
  border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.12);color:#606266;
  font-size:12px;line-height:30px;user-select:none;
}
.yhqp-drp-month{width:323px;padding:14px 16px 16px;box-sizing:border-box}
.yhqp-drp-head{position:relative;display:flex;align-items:center;justify-content:center;height:28px;margin-bottom:8px}
.yhqp-drp-title{display:inline-flex;gap:6px;align-items:baseline;color:#606266;font-size:16px;font-weight:500}
.yhqp-drp-nav{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;gap:2px}
.yhqp-drp-nav.is-left{left:0}
.yhqp-drp-nav.is-right{right:0}
.yhqp-drp-arrow{
  width:22px;height:24px;padding:0;border:0;border-radius:4px;background:transparent;
  color:#606266;font-size:16px;line-height:24px;cursor:pointer;
}
.yhqp-drp-arrow:hover{color:var(--t-primary);background:#f2f6fc}
.yhqp-drp-table{width:100%;border-collapse:collapse;table-layout:fixed}
.yhqp-drp-table th{height:38px;padding:0;font-weight:400;color:#606266;font-size:12px;text-align:center}
.yhqp-drp-table td{height:38px;padding:0;text-align:center;cursor:pointer;color:#606266;font-size:12px}
.yhqp-drp-cell{display:inline-block;width:24px;height:24px;line-height:24px;border-radius:50%;text-align:center}
.yhqp-drp-table td.outside .yhqp-drp-cell{color:#a8abb2}
.yhqp-drp-table td:hover .yhqp-drp-cell{color:var(--t-primary)}
.yhqp-drp-table td.in-range{background:#f2f6fc}
.yhqp-drp-table td.range-start{border-radius:15px 0 0 15px}
.yhqp-drp-table td.range-end{border-radius:0 15px 15px 0}
.yhqp-drp-table td.range-start.range-end{border-radius:15px}
.yhqp-drp-table td.selected .yhqp-drp-cell{background:var(--t-primary);color:#fff}
.yhqp-drp-table td.today:not(.selected) .yhqp-drp-cell{
  color:var(--t-primary);border:1px solid var(--t-primary);line-height:22px;
}
@media (max-width:720px){
  .yhqp-drp-box{width:100%;min-width:220px}
  .yhqp-drp-panel{flex-direction:column;max-width:calc(100vw - 16px)}
  .yhqp-drp-month{width:100%!important}
}

/* ---------- Lock Screen & Settings Drawer & Toasts ---------- */
.lock-screen{
  position:fixed;inset:0;z-index:2000;
  background:radial-gradient(circle at 20% 20%,#1e3a8a,#0f172a 70%);
  color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;
}
.lock-clock{font-size:46px;font-weight:700;letter-spacing:2px}
.lock-card{
  width:360px;max-width:92vw;background:rgba(255,255,255,.12);
  backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.2);
  border-radius:16px;padding:26px;text-align:center;
}
.lock-card input{background:#fff!important;color:var(--t-text)!important;width:100%}
.drawer-mask{position:fixed;inset:0;z-index:1100;background:rgba(16,32,48,.35);display:flex;justify-content:flex-end}
.drawer-panel{width:320px;max-width:90vw;background:#fff;height:100%;padding:20px;box-shadow:-8px 0 30px rgba(0,0,0,.15);display:flex;flex-direction:column;gap:16px}

.toast-stack{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:3000;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.toast-item{
  padding:9px 18px;border-radius:8px;font-size:13px;font-weight:500;color:#fff;
  background:#1f2530;box-shadow:0 8px 24px rgba(0,0,0,.18);pointer-events:auto;
}
.toast-item.success{background:#17994b}
.toast-item.error{background:#d92d20}
.toast-item.warning{background:#d97706}

.tree-check-box{
  border:1px solid var(--t-line);border-radius:8px;padding:10px;max-height:240px;overflow-y:auto;background:#fafbfe;
}
.oper-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oper-card{border:1px solid var(--t-line);border-radius:8px;padding:12px;background:#fafbfe}
.oper-card h4{margin:0 0 8px;font-size:13px;color:var(--t-primary)}
.oper-pre{background:#fff;border:1px solid var(--t-line);border-radius:6px;padding:8px;max-height:160px;overflow:auto;font-size:12px;margin:0;white-space:pre-wrap;word-break:break-all}

@media(max-width:860px){
  .split-page{flex-direction:column}
  .split-left{width:100%;min-height:auto}
  .profile-grid{grid-template-columns:1fr}
  .ep-form-grid,.oper-detail-grid{grid-template-columns:1fr}
}


/* ---------- M2 Extensions: Tabs, Home Screen, OneMap & Portraits ---------- */
.page-tabs{
  display:flex;align-items:center;gap:6px;
  border-bottom:1px solid var(--t-line);margin-bottom:14px;padding-bottom:2px;
}
.page-tab-btn{
  border:0;background:transparent;padding:8px 14px;font-size:13px;font-weight:500;
  color:var(--t-text-2);cursor:pointer;border-bottom:2px solid transparent;border-radius:6px 6px 0 0;
  display:inline-flex;align-items:center;gap:6px;
}
.page-tab-btn:hover{color:var(--t-primary);background:#f7f9ff}
.page-tab-btn.active{color:var(--t-primary);border-bottom-color:var(--t-primary);font-weight:600}
.tab-badge{
  font-size:11px;padding:1px 7px;border-radius:10px;background:#eef3ff;color:var(--t-primary);font-weight:600;
}

.stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:14px}
.stat-card{
  background:#fff;border:1px solid var(--t-line);border-radius:10px;padding:12px 14px;
  display:flex;flex-direction:column;gap:4px;box-shadow:0 1px 2px rgba(31,37,48,.03);
}
.stat-card .sc-lbl{font-size:12px;color:var(--t-text-2)}
.stat-card .sc-val{font-size:22px;font-weight:700;color:var(--t-text)}

.home-flow-screen{
  background:radial-gradient(circle at 50% 45%,#17326e 0%,#0b1736 62%,#060d21 100%);
  border-radius:12px;padding:18px 20px;color:#e2e8f0;min-height:620px;
  display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden;
}
.home-flow-toolbar{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  background:rgba(15,28,64,.72);border:1px solid rgba(148,163,184,.2);
  border-radius:10px;padding:10px 14px;z-index:2;
}
.period-seg{display:inline-flex;border-radius:8px;overflow:hidden;border:1px solid rgba(96,165,250,.35)}
.period-seg button{
  border:0;background:transparent;color:#cbd5e1;padding:6px 14px;font-size:12.5px;cursor:pointer;
}
.period-seg button.active{background:#2563eb;color:#fff;font-weight:600}
.flow-grid{
  display:grid;grid-template-columns:repeat(3,minmax(200px,1fr));gap:14px;align-items:center;position:relative;z-index:2;
}
.flow-node-card{
  background:rgba(15,23,42,.82);border:1px solid rgba(56,189,248,.35);border-radius:10px;
  padding:12px 14px;box-shadow:0 6px 20px rgba(0,0,0,.28);
}
.flow-node-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-weight:600;color:#7dd3fc}
.flow-step{
  width:20px;height:20px;border-radius:50%;background:#0284c7;color:#fff;
  font-size:11px;display:inline-grid;place-items:center;
}
.flow-metric-row{display:flex;justify-content:space-between;font-size:12.5px;padding:3px 0}
.flow-val-cyan{color:#38bdf8;font-weight:700}
.flow-val-yellow{color:#facc15;font-weight:700}
.flow-val-green{color:#4ade80;font-weight:700}

.onemap-layout{display:grid;grid-template-columns:1fr 310px;gap:14px;align-items:stretch;min-height:560px}
.onemap-map{width:100%;height:560px;border-radius:10px;border:1px solid var(--t-line);background:#f3f6fb;z-index:1}
.onemap-side{
  border:1px solid var(--t-line);border-radius:10px;background:#fff;padding:12px;
  display:flex;flex-direction:column;gap:10px;max-height:560px;overflow-y:auto;
}
.layer-chip{
  display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:14px;
  border:1px solid var(--t-line-strong);background:#fff;font-size:12px;cursor:pointer;
}
.layer-dot{width:9px;height:9px;border-radius:50%;display:inline-block}

.portrait-shell{display:flex;flex-direction:column;gap:14px}
.portrait-kv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 16px}
.portrait-kv{display:flex;gap:8px;padding:6px 0;border-bottom:1px dashed var(--t-line);font-size:12.5px}
.portrait-kv .pk{color:var(--t-text-2);min-width:98px;flex-shrink:0}
.portrait-kv .pv{color:var(--t-text);font-weight:500;word-break:break-all}
.form-section-title{
  grid-column:1 / -1;font-size:13px;font-weight:600;color:var(--t-primary);
  padding:6px 0 2px;border-bottom:1px solid var(--t-line);margin-top:4px;
}
.link-text{color:var(--t-primary);cursor:pointer;font-weight:500}
.link-text:hover{text-decoration:underline}

@media(max-width:1024px){
  .onemap-layout{grid-template-columns:1fr}
  .flow-grid{grid-template-columns:1fr}
}

/* ============================================================
   105 管理端主题对齐（2026-11-30）
   目标：白色 52px 顶部菜单、无左侧栏、40px 灰底输入框、
   36px 按钮、12px 表格、2px 分页等高密度管理端风格。
   ============================================================ */
body{font-size:12px;color:#1f2530}

/* ---- Header / Top Navigation ---- */
.app-account-bar{
  height:52px;padding:0 18px;background:#fff;color:#202a36;
  border-bottom:1px solid var(--t-line);box-shadow:none;gap:0;
}
.brand-group{gap:0;overflow:hidden}
.app-brand{color:#202a36;font-size:15px;font-weight:700;gap:10px;min-width:0}
.app-brand:hover{color:#202a36}
.app-brand > span:last-child{overflow:hidden;text-overflow:ellipsis}
.app-brand-mark{
  width:30px;height:30px;border-radius:7px;border:0;
  background:linear-gradient(180deg,#4f7bff,#2f60ef);color:#fff;
}
.top-nav{display:flex;align-items:center;gap:2px;flex:1 1 auto;min-width:0;margin-left:18px;overflow:visible}
.top-nav-menu{position:relative;display:flex;align-items:center;height:52px}
.top-nav-item{
  height:36px;padding:0 12px;border-radius:6px;background:transparent;
  color:#202a36;font-size:11px;font-weight:500;border:0;cursor:pointer;
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
}
.top-nav-item:hover{background:#f6f8fb;color:#2f60ef}
.top-nav-item.active{background:#eef3ff;color:#2f60ef;font-weight:600}
.top-nav-item.open{background:#f6f8fb;color:#2f60ef}
.top-nav-dropdown{
  position:absolute;left:0;top:52px;min-width:132px;max-height:72vh;overflow-y:auto;
  background:#fff;border-radius:2px;box-shadow:0 0 12px rgba(0,0,0,.12);padding:5px 0;z-index:1200;
}
.tnd-group-title{padding:6px 12px 2px;font-size:11px;font-weight:600;color:#98a2b3;white-space:nowrap}
.tnd-item{
  display:block;width:100%;height:36px;line-height:36px;padding:0 12px;border:0;
  background:transparent;text-align:left;color:#303133;font-size:12px;cursor:pointer;white-space:nowrap;
}
.tnd-item:hover{background:#f5f7fa;color:#2f60ef}
.tnd-item.active{color:#2f60ef;font-weight:600;background:#f7faff}
.header-right{gap:6px}
.ver-badge{
  height:20px;padding:0 9px;border:1px solid #d7dee8;border-radius:999px;
  background:#f8fafc;color:#202a36;font-size:12px;font-weight:700;
  display:inline-flex;align-items:center;line-height:1;
}
.hdr-icon-btn{width:32px;height:32px;border-radius:6px;background:transparent;color:#202a36;border:0}
.hdr-icon-btn:hover{background:#f6f8fb;color:#202a36}
.notice-badge{border-color:#fff}
.account-summary{
  border:0;background:transparent;color:#202a36;border-radius:6px;
  padding:4px 6px;font-size:12px;font-weight:700;gap:8px;
}
.account-summary:hover{background:#f6f8fb}
.account-avatar{width:28px;height:28px;background:#eef3ff;color:#2f60ef;border:1px solid #e3eafd}
.account-caret{color:#98a2b3;font-size:10px;font-weight:400}
.account-popup,.notice-popover{
  top:40px;border-radius:6px;border-color:var(--t-line);
  box-shadow:0 8px 24px rgba(31,37,48,.12);
}

/* ---- Shell Layout ---- */
.app-container{
  display:block;height:calc(100vh - 52px);overflow-y:auto;background:#fff;
}
.main-content{
  padding:18px 24px 28px;background:#fff;min-height:100%;overflow:visible;
}

/* ---- Global Form Controls ---- */
input:not([type=checkbox]):not([type=radio]):not([type=file]),
select,textarea{
  height:42px;padding:0 11px;border:1px solid transparent;border-radius:6px;
  background:var(--t-field);font-size:12px;color:var(--t-text);line-height:normal;
}
select{height:40px;padding:0 10px}
textarea{height:auto;padding:8px 11px;line-height:1.55;min-height:72px}
input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
select:focus,textarea:focus{
  border-color:var(--t-primary);background:#fff;box-shadow:none;
}
input::placeholder,textarea::placeholder{color:#a8abb2}
input:disabled,select:disabled,textarea:disabled{background:#f2f4f8;color:#98a2b3}
.qf-label,.ep-form-item label,.form-label{font-size:12px;font-weight:600;color:var(--t-text-2)}

/* ---- Buttons ---- */
.btn{
  height:36px;padding:0 14px;border:1px solid var(--t-line-strong);border-radius:6px;
  background:#fff;color:#33465d;font-size:12px;font-weight:500;box-shadow:none;gap:6px;
}
.btn:hover:not(:disabled){background:#f7faff;border-color:var(--t-primary);color:var(--t-primary)}
.btn-primary{
  background:#20242a;border-color:#20242a;color:#fff;border-radius:999px;
  padding:0 20px;font-weight:600;box-shadow:none;
}
.btn-primary:hover:not(:disabled){background:#000;border-color:#000;color:#fff}
.btn-danger{background:#fff;border-color:#f0b8c0;color:#b42335}
.btn-danger:hover:not(:disabled){background:#fff5f6;border-color:#b42335;color:#b42335}
.btn-success{background:#fff;border-color:#bfe3d0;color:#218b5b}
.btn-success:hover:not(:disabled){background:#f5fcf8;border-color:#218b5b;color:#218b5b}
.btn-warn{background:#fff;border-color:#f3d49b;color:#9f6400}
.btn-warn:hover:not(:disabled){background:#fffbf2;border-color:#9f6400;color:#9f6400}
.btn-link{background:none;border:0;color:var(--t-primary);padding:0 4px;height:auto;border-radius:4px;font-size:12px}
.btn:disabled{opacity:.5;box-shadow:none}

/* ---- Cards：管理端不再用大圆角外框 ---- */
.card{border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
.card-head{padding:0 0 12px;border-bottom:0;font-size:14px;font-weight:700;color:#202a36}
.card-body{padding:0}

/* ---- Tables ---- */
.table-wrap{overflow-x:auto;width:100%;border-radius:0}
table.data-table{font-size:12px}
table.data-table th{
  height:36px;padding:0 10px;background:var(--t-field);color:#202a36;
  font-size:12px;font-weight:600;border:0;border-radius:0!important;position:sticky;top:0;z-index:2;
}
table.data-table td{
  height:45px;padding:0 10px;color:#3f4a59;font-size:12px;
  border:0;border-bottom:1px solid var(--t-line-soft);
}
table.data-table tbody tr:nth-child(even) td{background:#fff}
table.data-table tbody tr:hover td{background:#f7faff}
table.data-table td.actions-cell .btn{height:26px;padding:0 10px;font-size:11px;border-radius:4px;margin:1px 3px 1px 0}

/* ---- Pagination ---- */
.pagination{padding:14px 0 4px;font-size:12px;color:#606266;gap:6px}
.pagination button{
  min-width:32px;height:32px;padding:0 8px;border:0;border-radius:2px;
  background:var(--t-field);color:#606266;font-size:12px;
}
.pagination button:hover:not(:disabled){color:var(--t-primary);background:#eef3ff}
.pagination button.current{background:var(--t-primary);color:#fff;border:0;font-weight:700}
.pagination select{height:32px;padding:0 8px;border:0;border-radius:4px;background:var(--t-field);font-size:12px}

/* ---- Dialogs ---- */
.modal.ep-dialog{
  border:0;border-radius:4px;padding:16px;
  box-shadow:0 12px 32px rgba(0,0,0,.08),0 8px 20px rgba(0,0,0,.12);
}
.modal-header{padding:0 32px 16px 0;font-size:13.6px;font-weight:600;border-bottom:0}
.modal-body{padding:0;max-height:70vh}
.modal-footer{padding:16px 0 0;border-top:0;background:transparent}
.modal-close{font-size:16px;color:#909399}

/* ---- Admin Date Range (40px gray) ---- */
.yhqp-drp-box{width:250px;height:40px;border:1px solid transparent;border-radius:6px;background:var(--t-field);font-size:12px}
.yhqp-drp-box:hover{border-color:transparent;background:#f2f4f8}
.yhqp-drp-box.is-open{border-color:var(--t-primary);background:#fff;box-shadow:none}
.yhqp-drp-box .yhqp-drp-input{font-size:12px;color:var(--t-text)}
.yhqp-drp-icon{color:#98a2b3}

/* ============================================================
   报表页主题对齐 105 /report-app iframe
   浅灰底 + 标题/筛选/结果三张白卡片 + 14px Element Plus 控件
   ============================================================ */
.main-content:has(> .reporting-page){padding:0;background:#f3f6fb}
.reporting-page{
  display:flex;flex-direction:column;gap:12px;min-height:calc(100vh - 52px);
  padding:16px 20px 24px;background:#f3f6fb;box-sizing:border-box;
}
.reporting-page .card{
  border:1px solid #e8edf5;border-radius:8px;background:#fff;
  box-shadow:0 1px 2px rgba(16,37,63,.03);overflow:hidden;
}
.report-title-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;min-height:64px}
.report-title{margin:0;font-size:20px;line-height:1.4;font-weight:700;color:#16253f}
.report-back-btn{height:32px;border-radius:6px}
.report-filter-panel{padding:20px}
.report-tabs{margin-bottom:14px}
.report-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px 18px;align-items:end}
.report-filter-item{display:flex;flex-direction:column;gap:6px;min-width:0}
.report-filter-label{font-size:13px;font-weight:400;color:#606266;white-space:nowrap}
.reporting-page .report-filter-item input,
.reporting-page .report-filter-item select{
  width:100%;height:40px;padding:0 11px;background:#fff;border:1px solid #dcdfe6;
  border-radius:6px;font-size:14px;color:#606266;
}
.reporting-page .report-filter-item input:focus,
.reporting-page .report-filter-item select:focus{border-color:#2f60ef;background:#fff;box-shadow:none}
.reporting-page .report-filter-item .yhqp-drp-box{
  width:100%;height:32px;padding:0 8px;border:1px solid #dcdfe6;border-radius:4px;
  background:#fff;font-size:14px;color:#606266;
}
.reporting-page .report-filter-item .yhqp-drp-box:hover{border-color:#c0c4cc;background:#fff}
.reporting-page .report-filter-item .yhqp-drp-box.is-open{border-color:#2f60ef;background:#fff;box-shadow:none}
.reporting-page .report-filter-item .yhqp-drp-box .yhqp-drp-input{font-size:14px;color:#606266}
.report-actions{margin:16px 0 0;padding:0;display:flex;align-items:center;justify-content:flex-start}
.report-actions .action-left{gap:8px}
.report-shortcut,.report-reset-btn,.report-export-btn{
  height:32px;padding:0 15px;border:1px solid #dcdfe6;border-radius:4px;
  background:#fff;color:#606266;font-size:14px;font-weight:400;
}
.report-shortcut:hover,.report-reset-btn:hover,.report-export-btn:hover{
  background:#f5f7fa;border-color:#c0c4cc;color:#2f60ef;
}
.report-query-btn{
  height:32px;padding:0 18px;border:1px solid #2f60ef;border-radius:6px;
  background:#2f60ef;color:#fff;font-size:14px;font-weight:500;
}
.report-query-btn:hover{background:#204bd4;border-color:#204bd4;color:#fff}
.report-result-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 20px;border-bottom:1px solid #ebeef5;
}
.report-result-title{font-size:14px;font-weight:600;color:#303133}
.report-result-count{margin-left:8px;font-size:13px;font-weight:400;color:#909399}
.report-result-actions{display:flex;gap:8px}
.report-result-body{padding:0}
.reporting-page table.data-table{font-size:14px}
.reporting-page table.data-table th{
  height:40px;padding:0 12px;background:#f5f7fa;color:#909399;
  font-size:14px;font-weight:500;border:0;border-bottom:1px solid #ebeef5;
}
.reporting-page table.data-table td{
  height:42px;padding:0 12px;color:#606266;font-size:14px;
  border:0;border-bottom:1px solid #ebeef5;
}
.reporting-page table.data-table tbody tr:nth-child(even) td{background:#fff}
.reporting-page table.data-table tbody tr:hover td{background:#f5f7fa}
.reporting-page table.data-table td.actions-cell .btn{height:26px;border-radius:4px}
.reporting-page .pagination{padding:12px 20px;font-size:14px;color:#606266}
.reporting-page .pagination button{
  min-width:32px;height:32px;padding:0 8px;border:0;border-radius:4px;
  background:#f4f4f5;color:#606266;font-size:14px;
}
.reporting-page .pagination button.current{background:var(--t-primary);color:#fff;font-weight:700}
.reporting-page .pagination select{height:32px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;font-size:14px}
@media (max-width:1200px){
  .report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:760px){
  .report-filters{grid-template-columns:1fr}
}

/* ---- 更多菜单 & 首页全屏 ---- */
.top-nav-dropdown.is-more{min-width:250px;max-height:72vh;padding:6px 0}
.top-nav-dropdown.is-more .tnd-group{border-bottom:1px solid #f2f4f8;padding-bottom:4px;margin-bottom:4px}
.top-nav-dropdown.is-more .tnd-group:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.tnd-subgroup-title{padding:2px 12px;font-size:11px;color:#98a2b3;white-space:nowrap}
.more-caret{font-size:10px;color:inherit;margin-left:2px}
.main-content:has(> .home-flow-screen){padding:0;background:#0b1736}
.main-content > .home-flow-screen{border-radius:0;min-height:calc(100vh - 52px)}
.reporting-page .report-seq-th{width:64px;min-width:64px;max-width:64px}
.more-caret,.account-caret{
  display:inline-block;width:0;height:0;font-size:0;line-height:0;vertical-align:middle;
  border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid currentColor;
}
.top-nav-ico{width:14px;height:14px;flex:0 0 14px;opacity:.9}
.tree-caret,.ss-caret{
  display:inline-block;width:0;height:0;font-size:0;line-height:0;vertical-align:middle;
  border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:5px solid currentColor;
  transition:transform .15s;
}
.tree-caret.open,.ss-caret.up{transform:rotate(90deg)}
.modal.ep-dialog .btn{border-radius:6px}
.modal.ep-dialog .btn-primary{
  background:#fff;border-color:var(--t-line-strong);color:#33465d;
  padding:0 16px;font-weight:500;
}
.modal.ep-dialog .btn-primary:hover:not(:disabled){background:#f7faff;border-color:var(--t-primary);color:var(--t-primary)}
.btn-ico{width:13px;height:13px;flex:0 0 13px;margin:0;pointer-events:none}

/* ============================================================
   布局主题：政务风（nav-mode-2）/ 极简风（nav-mode-3）
   ============================================================ */

/* ---- 政务风：蓝色 58px 顶栏 + 162px 左侧菜单 ---- */
.app-account-bar.nav-gov{
  height:58px;background:#2954d2;color:#fff;border-bottom:0;padding:0;box-shadow:none;
}
.app-account-bar.nav-gov .brand-group{
  height:58px;padding:0 14px;margin-right:24px;display:flex;align-items:center;gap:10px;
}
.app-account-bar.nav-gov .app-brand{color:#fff;font-size:15px;font-weight:700;gap:10px}
.app-account-bar.nav-gov .app-brand:hover{color:#fff}
.app-account-bar.nav-gov .app-brand-mark{
  width:30px;height:30px;background:transparent;border:0;color:#fff;border-radius:0;
}
.app-account-bar.nav-gov .top-nav{margin-left:0;gap:0}
.app-account-bar.nav-gov .top-nav-menu{height:58px}
.app-account-bar.nav-gov .top-nav-item{
  height:58px;padding:0 16px;border-radius:0;
  color:rgba(255,255,255,.88);font-size:11px;font-weight:400;
}
.app-account-bar.nav-gov .top-nav-item:hover{background:#244aba;color:#fff}
.app-account-bar.nav-gov .top-nav-item.active{background:rgba(255,255,255,.14);color:#fff;font-weight:500}
.app-account-bar.nav-gov .top-nav-item.open{background:#244aba;color:#fff}
.app-account-bar.nav-gov .top-nav-ico{opacity:.95}
.app-account-bar.nav-gov .top-nav-dropdown{top:58px}
.app-account-bar.nav-gov .ver-badge{
  background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.4);color:#fff;
}
.app-account-bar.nav-gov .hdr-icon-btn{color:#fff}
.app-account-bar.nav-gov .hdr-icon-btn:hover{background:rgba(255,255,255,.14);color:#fff}
.app-account-bar.nav-gov .notice-badge{border-color:#2954d2}
.app-account-bar.nav-gov .account-summary{color:#fff}
.app-account-bar.nav-gov .account-summary:hover{background:rgba(255,255,255,.14)}
.app-account-bar.nav-gov .account-avatar{background:#fff;color:#2954d2;border-color:rgba(255,255,255,.8)}
.app-account-bar.nav-gov .account-caret{border-top-color:#fff}

.app-container.nav-gov{
  display:flex;height:calc(100vh - 58px);overflow:hidden;background:#fff;
}
.app-container.nav-gov .content-wrap{
  flex:1 1 auto;min-width:0;display:flex;flex-direction:column;height:100%;
}
.app-container.nav-gov .main-content{
  flex:1 1 auto;min-height:0;padding:5px 20px 20px;overflow:auto;
}
.app-container.nav-min{display:block;height:calc(100vh - 52px);overflow-y:auto}
.app-container.nav-min .content-wrap{display:block;height:auto}
.app-container.nav-min .main-content{padding:18px 24px 28px;overflow:visible}

/* 政务风侧栏 */
.gov-sidebar{
  width:162px;flex:0 0 162px;height:100%;background:#fff;border-right:1px solid #edf0f4;
  overflow-y:auto;position:relative;padding-bottom:54px;box-sizing:border-box;
}
.gov-menu{padding:0}
.gov-menu-item{
  display:flex;align-items:center;gap:9px;width:100%;height:43px;padding:0 20px;
  border:0;background:#fff;color:#5d6978;font-size:11px;text-align:left;cursor:pointer;
  white-space:nowrap;box-shadow:inset 0 1px 0 #edf0f4,inset 0 -1px 0 #edf0f4;
  font-family:inherit;
}
.gov-menu-item:hover{color:var(--t-primary);background:#f7faff}
.gov-menu-item.active{color:var(--t-primary);background:#eef2fd;font-weight:600;box-shadow:inset 3px 0 0 var(--t-primary),inset 0 1px 0 #edf0f4,inset 0 -1px 0 #edf0f4}
.gov-menu-ico{width:14px;height:14px;flex:0 0 14px;color:#98a2b3}
.gov-menu-item.active .gov-menu-ico{color:var(--t-primary)}
.gov-menu-item:hover .gov-menu-ico{color:var(--t-primary)}
.gov-menu-label{flex:1;overflow:hidden;text-overflow:ellipsis}
.gov-group-caret{
  width:0;height:0;flex:0 0 auto;
  border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #98a2b3;
  transition:transform .15s;
}
.gov-group-caret.open{transform:rotate(180deg)}
.gov-child{padding-left:44px}
.gov-collapse-btn{
  position:absolute;bottom:12px;left:18px;width:28px;height:28px;border-radius:50%;
  border:1px solid #e4e7ed;background:#fff;color:#909399;cursor:pointer;display:grid;place-items:center;
}
.gov-collapse-btn:hover{color:var(--t-primary);border-color:var(--t-primary)}
.gov-collapse-ico{
  display:inline-block;width:0;height:0;
  border-top:4px solid transparent;border-bottom:4px solid transparent;border-right:5px solid currentColor;
  transition:transform .15s;
}
.gov-collapse-ico.collapsed{transform:rotate(180deg)}
.gov-sidebar.collapsed{width:49px;flex-basis:49px}
.gov-sidebar.collapsed .gov-menu-label,.gov-sidebar.collapsed .gov-group-caret{display:none}
.gov-sidebar.collapsed .gov-menu-item{justify-content:center;padding:0}
.gov-sidebar.collapsed .gov-child{padding-left:0}
.gov-sidebar.collapsed .gov-collapse-btn{left:10px}

/* 固定头部关闭时允许整页滚动 */
.app-container.fixed-header-off.nav-gov{height:auto;overflow:visible}
.app-container.fixed-header-off.nav-gov .gov-sidebar{height:auto;min-height:calc(100vh - 58px)}
.app-container.fixed-header-off.nav-gov .main-content{overflow:visible}
.app-container.fixed-header-off.nav-min{height:auto;overflow:visible}

/* 标签栏（可选） */
.content-wrap > .tags-view{
  display:flex;align-items:center;gap:6px;padding:6px 12px 0;background:#fff;
  border-bottom:1px solid #edf0f4;overflow-x:auto;
}

/* ---- 布局设置抽屉（对齐 105） ---- */
.drawer-panel.settings-drawer{width:320px;max-width:90vw;padding:0;gap:0}
.settings-head{
  height:44px;padding:20px 20px 0;display:flex;align-items:flex-start;justify-content:space-between;
  border-bottom:0;font-size:14px;font-weight:700;color:#202a36;flex:0 0 auto;margin-bottom:32px;
}
.settings-head .modal-close{margin-top:-6px}
.settings-block{padding:0 20px;margin-bottom:32px;flex:0 0 auto;display:flex;flex-direction:column;gap:12px}
.settings-block.compact{gap:16px;margin-bottom:0;padding-bottom:22px}
.settings-title{font-size:14px;font-weight:700;color:#202a36;margin:0}
.layout-options{display:flex;gap:12px}
.layout-option{
  flex:1 1 0;min-width:0;height:110px;padding:10px;border:1px solid #e2e7ef;border-radius:8px;
  background:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:8px;
  font-family:inherit;box-sizing:border-box;
}
.layout-option.active{border-color:var(--t-primary);background:var(--t-primary-soft)}
.layout-preview{
  position:relative;display:block;width:96px;height:62px;border-radius:6px;background:#f8fafc;
  overflow:hidden;border:1px solid #edf0f4;box-sizing:border-box;
}
.preview-nav{position:absolute;top:0;left:0;right:0;height:12px;background:#20242a}
.preview-side{
  position:absolute;top:12px;left:0;bottom:0;width:22px;background:#fff;border-right:1px solid #e8edf5;
}
.preview-main{position:absolute;top:12px;left:22px;right:0;bottom:0;background:#f5f7fa}
.layout-preview.top-wide-mode .preview-side{display:none}
.layout-preview.top-wide-mode .preview-main{left:0}
.layout-name{font-size:13px;color:#394559;line-height:18px}
.layout-option.active .layout-name{color:var(--t-primary);font-weight:600}
.theme-color-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:2px;width:32px;height:32px;padding:4px;
  border:1px solid #dcdfe6;border-radius:4px;background:#fff;cursor:pointer;box-sizing:border-box;
}
.theme-color-dot{width:18px;height:18px;border-radius:3px;flex:0 0 18px}
.theme-color-caret{
  width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;
  border-top:4px solid #909399;flex:0 0 auto;
}
.theme-color-list{display:flex;gap:8px;margin-top:2px;flex-wrap:wrap}
.theme-color-item{
  width:22px;height:22px;border:2px solid #fff;border-radius:4px;
  box-shadow:0 0 0 1px #d8dee8;cursor:pointer;
}
.theme-color-item.active{box-shadow:0 0 0 2px var(--t-primary)}
.switch-row{display:flex;align-items:center;gap:8px;height:32px;margin:0;font-size:13px;color:#606266}
.switch-row .switch-btn{width:40px;height:20px;flex:0 0 40px}
.switch-row .switch-btn::after{width:16px;height:16px}
.switch-row .switch-btn.on::after{transform:translateX(20px)}
/* 客户台账：105 政务风统计行 */
.gas-summary{display:flex;align-items:baseline;gap:28px;margin:0 0 14px;font-size:14px;color:#606266}
.gas-summary b{color:#f04438;font-weight:600;font-size:20px}
.btn-blue{background:var(--t-primary);border-color:var(--t-primary);color:#fff;border-radius:6px;font-weight:500}
.btn-blue:hover:not(:disabled){background:var(--t-primary-dark);border-color:var(--t-primary-dark);color:#fff}
.table-icon-btn{
  width:36px;height:36px;border:1px solid var(--t-line-strong);border-radius:6px;background:#fff;
  color:#606266;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
}
.table-icon-btn:hover{color:var(--t-primary);border-color:var(--t-primary)}

/* 政务风内容排布（补回） */
.app-container.nav-gov .split-page{gap:14px}
.app-container.nav-gov .split-left{width:190px;flex:0 0 190px;border-radius:6px;padding:10px}
.app-container.nav-gov .main-content:has(> .reporting-page){padding:5px 20px 20px;background:#fff}
.app-container.nav-gov .split-left{height:calc(100vh - 84px);overflow:auto}

/* 实名制报表：105 外层工具栏与筛选网格 */
.report-frame-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:44px;padding:0 16px;margin:0;
  background:#fff;border:1px solid #e8edf5;border-radius:6px;
}
.report-frame-bar strong{font-size:14px;font-weight:700;color:#16253f}
.report-frame-actions{display:flex;align-items:center;gap:10px}
.report-share-tag{
  display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:4px;
  border:1px solid #b7eb8f;background:#f6ffed;color:#52c41a;font-size:12px;line-height:1;
}
.report-reconnect-btn{height:32px;padding:0 12px;font-size:12px;gap:5px;display:inline-flex;align-items:center}
.report-date-row{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
.report-date-row .yhqp-drp-box{flex:1 1 auto;min-width:0}
.report-date-shortcuts{display:flex;gap:5px;flex:0 0 auto}
.report-date-shortcuts .btn{
  height:24px;padding:0 8px;font-size:12px;border:1px solid #dcdfe6;border-radius:3px;
  background:#fff;color:#606266;font-weight:400;
}
.report-date-shortcuts .btn:hover{background:#f5f7fa;border-color:#c0c4cc;color:#2f60ef}
.report-filter-date{grid-column:span 2}
.report-filter-actions{justify-content:flex-start;align-self:end}
.report-filter-actions .report-query-btn{height:32px;min-width:60px;padding:0 14px;display:inline-flex;align-items:center;gap:5px}
.report-gear-btn{width:32px;height:32px;flex:0 0 32px;color:#606266}
.report-gear-btn:hover{color:#2f60ef;border-color:#2f60ef}

/* 报表标题对齐 105 */
.report-title{font-size:25px;font-weight:680}
.report-title-card{min-height:76px}
.app-container.nav-gov .reporting-page{padding:12px;background:#f4f6f8}
.report-filters{grid-template-columns:repeat(5,minmax(0,210px));gap:16px}
.report-title-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.report-filter-actions .report-query-btn{width:auto;min-width:60px;align-self:flex-start;padding:0 12px}
@media (max-width:1200px){.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* 报表表头设置（对齐 105 表头设置弹层） */
.report-result-panel{overflow:visible}
.report-column-settings-wrap{position:relative;display:inline-flex;flex:0 0 auto}
.report-gear-btn.active{color:var(--t-primary);border-color:var(--t-primary)}
.report-column-settings{
  position:absolute;top:calc(100% + 8px);right:0;width:280px;max-width:calc(100vw - 40px);max-height:421px;
  background:#fff;border:1px solid #e4e7ed;border-radius:4px;
  box-shadow:0 8px 24px rgba(0,0,0,.14);z-index:80;display:flex;flex-direction:column;
}
.report-column-settings-head{
  display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;
  height:36px;padding:0 12px;border-bottom:1px solid #ebeef5;flex:0 0 auto;
}
.report-column-settings-head strong{font-size:14px;font-weight:600;color:#303133}
.rcs-reset{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:#2f60ef;font-size:12px;cursor:pointer;padding:0}
.rcs-reset:hover{color:#204bd4}
.rcs-save{height:24px;padding:0 10px;border:0;border-radius:4px;background:#2f60ef;color:#fff;font-size:12px;cursor:pointer}
.rcs-save:hover{background:#204bd4}
.report-column-settings-body{display:flex;flex-direction:column;gap:10px;padding:10px 12px;overflow:auto;max-height:384px}
.rcs-item{display:flex;align-items:center;gap:8px;font-size:13px;color:#606266;cursor:pointer;white-space:nowrap;line-height:1.4}
.rcs-item input{width:14px;height:14px;margin:0;accent-color:#2f60ef;cursor:pointer}
/* 企业站点：105 政务风统计行/导出按钮 */
.ent-summary{display:flex;align-items:baseline;gap:30px;margin:2px 0 14px;font-size:14px;color:#606266}
.ent-summary b{color:#f04438;font-weight:600;font-size:18px;margin-left:4px}
.btn-export-green{background:#fff;border-color:#b7eb8f;color:#00a870}
.btn-export-green:hover:not(:disabled){background:#f6ffed;border-color:#00a870;color:#00a870}
.btn-export-orange{background:#fff;border-color:#f5dab1;color:#e6a23c}
.btn-export-orange:hover:not(:disabled){background:#fdf6ec;border-color:#e6a23c;color:#e6a23c}
.btn-export-red{background:#fff;border-color:#fbc4c4;color:#f04438}
.btn-export-red:hover:not(:disabled){background:#fff5f4;border-color:#f04438;color:#f04438}
.region-notice{
  display:flex;align-items:center;gap:8px;margin:10px 0 12px;padding:10px 14px;
  background:#f5f7fa;border-radius:4px;color:#909399;font-size:12px;line-height:1.5;
}
.region-notice svg{flex:0 0 14px;color:#b1b3b8}
.btn-manual{height:42px;padding:0 24px;font-size:14px}
.btn-export-red.is-active{background:#fff5f4;border-color:#f04438;color:#f04438}
.list-summary{
  margin-top:10px;padding:10px 14px;border:1px solid #e8edf5;border-radius:4px;
  background:#fafbfc;font-size:12px;color:#687386;line-height:1.6;
}
.return-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}
.return-filters .qf-item{display:flex;align-items:center;gap:8px;min-width:0}
.return-filters .qf-item input,.return-filters .qf-item select,.return-filters .qf-item .ss-wrap{flex:1;min-width:0}
@media (max-width:1100px){.return-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.repair-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}
.repair-filters .qf-item{display:flex;align-items:center;gap:8px;min-width:0}
.repair-filters .qf-item input,.repair-filters .qf-item select,.repair-filters .qf-item .ss-wrap{flex:1;min-width:0}
@media (max-width:1100px){.repair-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.repair-filters .qf-item:first-child{grid-column:span 2}
.recycle-filters,.complaint-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}
.recycle-filters .qf-item,.complaint-filters .qf-item{display:flex;align-items:center;gap:8px;min-width:0}
.recycle-filters .qf-item input,.complaint-filters .qf-item input,
.recycle-filters .qf-item select,.complaint-filters .qf-item select,
.recycle-filters .qf-item .ss-wrap,.complaint-filters .qf-item .ss-wrap{flex:1;min-width:0}
@media (max-width:1100px){.recycle-filters,.complaint-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.btn-export-orange.active{background:#fdf6ec;border-color:#e6a23c;color:#e6a23c;font-weight:600}
.reporting-page .report-total-row td{background:#f5f7fa;font-weight:600;color:#303133;height:42px}
.reporting-page .report-total-label{text-align:left;padding-left:20px!important}
.report-updated-at{padding:0 20px 12px;text-align:right;font-size:12px;color:#909399}
.gov-child{padding-left:40px}
.data-table .actions-cell .btn-edit,
.data-table .actions-cell .btn-danger-soft{
  background:transparent!important;border:none!important;box-shadow:none!important;
  padding:0 7px!important;height:auto!important;line-height:1.7!important;
  font-weight:500;color:#2f6bff;
}
.data-table .actions-cell .btn-danger-soft{color:#f56c6c}
.data-table .actions-cell .btn-edit:hover,
.data-table .actions-cell .btn-danger-soft:hover{background:transparent!important;text-decoration:underline}
.data-table .actions-cell .btn:not(.btn-edit):not(.btn-danger-soft),
.data-table .actions-cell .btn-warn-soft{
  background:transparent!important;border:none!important;box-shadow:none!important;
  padding:0 7px!important;height:auto!important;line-height:1.7!important;
  font-weight:500;color:#2f6bff;
}
.data-table .actions-cell .btn-warn-soft{color:#e6a23c}
.data-table .actions-cell .btn:not(.btn-edit):not(.btn-danger-soft):hover,
.data-table .actions-cell .btn-warn-soft:hover{background:transparent!important;text-decoration:underline}
.multi-header-table thead th[colspan="45"],
.multi-header-table thead th[colspan="90"]{text-align:left;padding-left:16px}
