.theme-settings{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(440px,1.3fr);gap:28px;align-items:center;margin:18px 0 24px;padding:22px;border:1px solid var(--mr-line);border-radius:20px;background:rgba(248,249,252,.78)}
.theme-settings p{margin:7px 0 0;color:var(--mr-muted);font-size:13px;line-height:1.7}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.theme-options>button{display:grid;grid-template-columns:72px 1fr;grid-template-rows:auto auto;gap:3px 13px;align-items:center;padding:13px;text-align:left;color:var(--mr-text);border:1px solid var(--mr-line);border-radius:16px;background:rgba(255,255,255,.78);transition:transform .2s,border-color .2s,box-shadow .2s}.theme-options>button:hover{transform:translateY(-2px);border-color:rgba(230,0,18,.3)}.theme-options>button.active{border-color:var(--mr-red);box-shadow:0 0 0 3px rgba(230,0,18,.10)}.theme-options>button b{align-self:end}.theme-options>button small{color:var(--mr-muted);line-height:1.35}.theme-preview{grid-row:1/3;display:grid;grid-template-columns:16px 1fr;grid-template-rows:repeat(2,1fr);gap:4px;width:72px;height:48px;padding:6px;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(127,127,127,.14)}.theme-preview i:first-child{grid-row:1/3;border-radius:4px;background:#e60012}.theme-preview i:nth-child(2),.theme-preview i:nth-child(3){border-radius:4px}.light-preview{background:#f5f5f7}.light-preview i:nth-child(2),.light-preview i:nth-child(3){background:#fff}.dark-preview{background:#09090d}.dark-preview i:nth-child(2),.dark-preview i:nth-child(3){background:#24242d}

/* The original Mineradio skin contains unscoped dark rules. Apply the light
   palette explicitly so runtime switching does not depend on fallback order. */
html[data-theme="light"]{color-scheme:light;--mr-bg:#f5f6f8;--mr-bg-soft:#fff;--mr-surface:rgba(255,255,255,.88);--mr-surface-strong:#fff;--mr-line:rgba(31,38,56,.12);--mr-text:#171922;--mr-muted:#747987;--mr-shadow:0 24px 70px rgba(44,52,76,.12);--background-primary:#f5f6f8;--background-secondary:#fff;--glass-background:rgba(255,255,255,.90);--glass-border:rgba(31,38,56,.10);--text-primary:#171922;--text-secondary:#747987}
html[data-theme="light"],html[data-theme="light"] body{background:#f5f6f8;color:var(--mr-text)}
html[data-theme="light"] body:before{background:radial-gradient(circle at 78% 12%,rgba(230,0,18,.055),transparent 31%),radial-gradient(circle at 30% 90%,rgba(74,87,255,.055),transparent 34%),linear-gradient(145deg,#fff 0%,#f5f6f8 52%,#fff 100%)}
html[data-theme="light"] .mr-stage:before{background:conic-gradient(from 210deg at 55% 48%,transparent 0 28%,rgba(230,0,18,.035) 35%,transparent 42% 68%,rgba(84,72,210,.04) 77%,transparent 85%)}
html[data-theme="light"] .mr-orbit{border-color:rgba(35,41,58,.07);box-shadow:0 0 0 8vw rgba(35,41,58,.012),0 0 0 17vw rgba(35,41,58,.008)}
html[data-theme="light"] .mr-particle{background:#51596d;opacity:.16;box-shadow:0 0 10px rgba(81,89,109,.25)}html[data-theme="light"] .mr-glow{background:radial-gradient(circle,rgba(230,0,18,.045),transparent 65%)}
html[data-theme="light"] .app,html[data-theme="light"] main{background:transparent}
html[data-theme="light"] aside{border-color:rgba(31,38,56,.11);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(245,247,251,.93));box-shadow:0 24px 70px rgba(44,52,76,.12)}
html[data-theme="light"] aside:before{background:rgba(230,0,18,.08)}
html[data-theme="light"] .side-brand{color:#171922}html[data-theme="light"] aside nav p{color:#8a8f9d}html[data-theme="light"] aside nav button{color:#626878}html[data-theme="light"] aside nav button:hover{color:#171922;background:rgba(31,38,56,.055);border-color:rgba(31,38,56,.08)}html[data-theme="light"] aside nav button.active{color:#fff;background:linear-gradient(105deg,#ed0014,#b90011);border-color:rgba(230,0,18,.15)}html[data-theme="light"] .side-footer{color:#747987;border-color:rgba(31,38,56,.11)}
html[data-theme="light"] header h2,html[data-theme="light"] .panel-title h3,html[data-theme="light"] .process-page h3,html[data-theme="light"] .panel h3{color:#171922}html[data-theme="light"] header p,html[data-theme="light"] .panel-title p{color:#747987}
html[data-theme="light"] .panel,html[data-theme="light"] .metric-grid article,html[data-theme="light"] .maintenance-stats article,html[data-theme="light"] .sany-culture{border-color:rgba(31,38,56,.10);background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(248,249,252,.90));box-shadow:0 16px 48px rgba(39,48,73,.09),inset 0 1px 0 #fff}
html[data-theme="light"] .sany-culture:before{background:linear-gradient(100deg,rgba(230,0,18,.055),transparent 34%)}html[data-theme="light"] .sany-culture:after{color:rgba(26,30,42,.07)}html[data-theme="light"] .culture-main b,html[data-theme="light"] .culture-value b{color:#252936}html[data-theme="light"] .culture-value small{color:#7d8290}
html[data-theme="light"] .metric-grid article:after{background:linear-gradient(90deg,rgba(31,38,56,.14),transparent)}html[data-theme="light"] .metric-grid article:hover{border-color:rgba(31,38,56,.18);box-shadow:0 24px 60px rgba(39,48,73,.14)}html[data-theme="light"] .metric-grid span{color:#686e7d}html[data-theme="light"] .metric-grid strong{color:#171922}html[data-theme="light"] .metric-grid small{color:#858a97}
html[data-theme="light"] .todo,html[data-theme="light"] .list-card,html[data-theme="light"] .record-list,html[data-theme="light"] .settings-grid div,html[data-theme="light"] .theme-settings{border-color:rgba(31,38,56,.10);background:rgba(248,249,252,.90);color:#171922}html[data-theme="light"] .theme-options>button{color:#171922;border-color:rgba(31,38,56,.12);background:#fff}html[data-theme="light"] .theme-options>button small{color:#747987}html[data-theme="light"] .todo:hover,html[data-theme="light"] .list-card:hover{background:#fff;border-color:rgba(31,38,56,.17)}html[data-theme="light"] .list-card p{color:#626877}
html[data-theme="light"] table{color:#303543}html[data-theme="light"] th{color:#727887;background:rgba(242,244,248,.92)}html[data-theme="light"] td{border-bottom-color:rgba(31,38,56,.075)}html[data-theme="light"] tbody tr:hover td{background:rgba(245,247,250,.92)}html[data-theme="light"] .empty{background:rgba(248,249,252,.72);color:#777d8b}html[data-theme="light"] .approval-grid span{color:#343947}
html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea{color:#171922;background:#f5f6f9;box-shadow:inset 0 1px 0 #fff}html[data-theme="light"] input:hover,html[data-theme="light"] select:hover,html[data-theme="light"] textarea:hover,html[data-theme="light"] input:focus,html[data-theme="light"] select:focus,html[data-theme="light"] textarea:focus{background:#fff}
html[data-theme="light"] button.secondary,html[data-theme="light"] .mini{color:#3c4251!important;background:rgba(255,255,255,.92)}html[data-theme="light"] button.secondary:hover,html[data-theme="light"] .mini:hover{color:#151821!important;border-color:rgba(31,38,56,.19)!important;background:#fff}
html[data-theme="light"] dialog,html[data-theme="light"] dialog.drawer{color:#171922;border-color:rgba(31,38,56,.12);background:rgba(255,255,255,.98);box-shadow:0 35px 100px rgba(34,42,63,.24)}html[data-theme="light"] dialog::backdrop{background:rgba(24,28,39,.38)}html[data-theme="light"] .icon{color:#303543;background:rgba(31,38,56,.055)}html[data-theme="light"] .detail-grid div,html[data-theme="light"] .asset-hero{color:#171922;border-color:rgba(31,38,56,.10);background:rgba(247,248,251,.92)}html[data-theme="light"] .segmented{background:rgba(31,38,56,.055)}html[data-theme="light"] .segmented button{color:#686e7d}html[data-theme="light"] .segmented button:hover{color:#171922;background:#fff}html[data-theme="light"] .notice{background:rgba(255,255,255,.96)}

html[data-theme="dark"]{color-scheme:dark;--mr-bg:#08080b;--mr-bg-soft:#111117;--mr-surface:rgba(28,28,36,.74);--mr-surface-strong:rgba(20,20,27,.96);--mr-line:rgba(255,255,255,.10);--mr-text:#f4f4f6;--mr-muted:#8f8f9c;--mr-shadow:0 24px 70px rgba(0,0,0,.48)}
html[data-theme="dark"],html[data-theme="dark"] body{background:#08080b;color:var(--mr-text)}
html[data-theme="dark"] body:before{background:radial-gradient(circle at 78% 12%,rgba(230,0,18,.18),transparent 31%),radial-gradient(circle at 32% 88%,rgba(74,87,255,.14),transparent 34%),linear-gradient(145deg,#08080b 0%,#111117 52%,#09090d 100%)}
html[data-theme="dark"] .mr-stage:before{background:conic-gradient(from 210deg at 55% 48%,transparent 0 28%,rgba(230,0,18,.10) 35%,transparent 42% 68%,rgba(84,72,210,.11) 77%,transparent 85%)}
html[data-theme="dark"] .mr-orbit{border-color:rgba(255,255,255,.05);box-shadow:0 0 0 8vw rgba(255,255,255,.012),0 0 0 17vw rgba(255,255,255,.008)}
html[data-theme="dark"] .mr-particle{background:#fff;opacity:.28;box-shadow:0 0 13px rgba(255,255,255,.7)}html[data-theme="dark"] .mr-glow{background:radial-gradient(circle,rgba(230,0,18,.08),transparent 65%)}
html[data-theme="dark"] .login-shell:before{color:rgba(255,255,255,.4)}html[data-theme="dark"] .login-visual{background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.018));box-shadow:var(--mr-shadow)}html[data-theme="dark"] .login-visual:before{border-color:rgba(255,255,255,.08);box-shadow:0 0 0 46px rgba(255,255,255,.018),0 0 0 92px rgba(255,255,255,.012),inset 0 0 90px rgba(230,0,18,.05)}
html[data-theme="dark"] .visual-copy h2,html[data-theme="dark"] .login-card h1,html[data-theme="dark"] header h2,html[data-theme="dark"] .panel h3,html[data-theme="dark"] .panel-title h3{color:#fff}html[data-theme="dark"] .login-card{border-color:var(--mr-line);background:linear-gradient(145deg,rgba(34,34,44,.96),rgba(17,17,23,.90));box-shadow:var(--mr-shadow),inset 0 1px 0 rgba(255,255,255,.09)}
html[data-theme="dark"] .login-card label,html[data-theme="dark"] .stack label,html[data-theme="dark"] .form-grid label{color:#c8c8d1}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color:var(--mr-text);background:rgba(255,255,255,.045);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}html[data-theme="dark"] .login-card input{background:rgba(255,255,255,.075)}html[data-theme="dark"] input:hover,html[data-theme="dark"] select:hover,html[data-theme="dark"] textarea:hover{background:rgba(255,255,255,.09)}
html[data-theme="dark"] .panel,html[data-theme="dark"] .metric-grid article,html[data-theme="dark"] .maintenance-stats article,html[data-theme="dark"] .sany-culture{background:linear-gradient(145deg,rgba(28,28,36,.74),rgba(17,17,23,.61));box-shadow:0 16px 48px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035)}html[data-theme="dark"] .sany-culture:before{background:linear-gradient(100deg,rgba(230,0,18,.11),transparent 34%)}html[data-theme="dark"] .sany-culture:after{color:rgba(255,255,255,.11)}html[data-theme="dark"] .culture-main b,html[data-theme="dark"] .culture-value b{color:#fff}
.ai-ask-box{display:grid;grid-template-columns:1fr auto;gap:12px;margin:16px 0}.ai-answer{min-height:110px;white-space:pre-wrap;border-radius:18px;padding:18px;border:1px solid rgba(128,128,140,.18);background:rgba(128,128,140,.08);font-family:inherit;line-height:1.75}.asset-hero .mini{margin-top:10px}
@media(max-width:760px){.ai-ask-box{grid-template-columns:1fr}}
html[data-theme="dark"] .metric-grid article:after{background:linear-gradient(90deg,rgba(255,255,255,.16),transparent)}html[data-theme="dark"] .metric-grid article:hover{border-color:rgba(255,255,255,.17);box-shadow:0 24px 60px rgba(0,0,0,.34)}html[data-theme="dark"] .metric-grid span{color:#a6a6b1}html[data-theme="dark"] .metric-grid strong{color:#fff}html[data-theme="dark"] .metric-grid small{color:#696975}
html[data-theme="dark"] .todo,html[data-theme="dark"] .list-card,html[data-theme="dark"] .record-list,html[data-theme="dark"] .settings-grid div,html[data-theme="dark"] .theme-settings{background:rgba(255,255,255,.035)}html[data-theme="dark"] .theme-options>button{background:rgba(255,255,255,.045)}html[data-theme="dark"] .todo:hover,html[data-theme="dark"] .list-card:hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.15)}html[data-theme="dark"] .list-card p{color:#aaaab5}html[data-theme="dark"] .bar{color:#b8b8c1}html[data-theme="dark"] .bar-track{background:rgba(255,255,255,.065)}html[data-theme="dark"] .timeline{border-left-color:rgba(255,255,255,.10)}
html[data-theme="dark"] table{color:#d6d6de}html[data-theme="dark"] th{color:#82828e;background:rgba(255,255,255,.035)}html[data-theme="dark"] td{border-bottom-color:rgba(255,255,255,.065)}html[data-theme="dark"] tbody tr:hover td{background:rgba(255,255,255,.035)}html[data-theme="dark"] .empty{background:rgba(255,255,255,.022);color:#747480}html[data-theme="dark"] .approval-grid span{color:#d5d5dc}
html[data-theme="dark"] button.secondary,html[data-theme="dark"] .mini{color:#d7d7df!important;background:rgba(255,255,255,.045)}html[data-theme="dark"] button.secondary:hover,html[data-theme="dark"] .mini:hover{color:#fff!important;background:rgba(255,255,255,.08)}html[data-theme="dark"] dialog{color:var(--mr-text);background:rgba(20,20,27,.96);box-shadow:0 35px 100px rgba(0,0,0,.62)}html[data-theme="dark"] .icon{color:#fff;background:rgba(255,255,255,.06)}html[data-theme="dark"] .detail-grid div,html[data-theme="dark"] .asset-hero{background:rgba(255,255,255,.035)}html[data-theme="dark"] .segmented{background:rgba(255,255,255,.055)}html[data-theme="dark"] .notice{background:rgba(22,22,29,.94)}
@media(max-width:780px){.theme-settings{grid-template-columns:1fr}.theme-options{grid-template-columns:1fr}}

/* 登录页固定白底；主题切换只影响登录后的管理后台。 */
html .login-shell{background:transparent;color:#171922}
html .login-shell:before{color:rgba(26,30,42,.32)}
html .login-visual{border-color:rgba(31,38,56,.10);background:linear-gradient(145deg,#fff,rgba(248,249,252,.88));box-shadow:0 24px 70px rgba(44,52,76,.12),inset 0 1px 0 #fff}
html .login-visual:before{border-color:rgba(31,38,56,.08);box-shadow:0 0 0 46px rgba(31,38,56,.014),0 0 0 92px rgba(31,38,56,.01),inset 0 0 90px rgba(230,0,18,.035)}
html .visual-copy h2,html .login-card h1{color:#171922}
html .visual-copy p,html .login-card>p{color:#747987}
html .login-card{border-color:rgba(31,38,56,.12);background:#fff;box-shadow:0 24px 70px rgba(44,52,76,.14),inset 0 1px 0 #fff;color:#171922}
html .login-card label{color:#454a58}
html .login-card input{color:#171922;background:#f5f6f9;border-color:rgba(31,38,56,.14);box-shadow:inset 0 1px 0 #fff}
html .login-card input:hover,html .login-card input:focus{background:#fff}
html .login-card .secondary{color:#303543!important;background:#f5f6f9!important;border-color:rgba(31,38,56,.12)!important}


/* sidebar-text-fix-20260906 */
aside{min-width:226px!important;width:226px!important}
aside nav button{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  text-align:left!important;
}
aside nav button span,.side-brand>span{
  display:block!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
