:root{
  --yc-primary:#18a058;
  --yc-primary-2:#36ad6a;
  --yc-ink:#0f172a;
  --yc-muted:#64748b;
  --yc-line:#dbe3ef;
  --yc-soft:#f8fbff;
  --yc-card:rgba(255,255,255,.94);
  --yc-radius:24px;
  --yc-radius-sm:14px;
  --yc-shadow:0 18px 46px rgba(15,23,42,.08);
  --yc-danger:#be123c;
  --yc-danger-bg:#fff1f2;
  --yc-success:#047857;
  --yc-success-bg:#ecfdf5;
  --yc-warn:#92400e;
  --yc-warn-bg:#fffbeb;
}

/* Mars Admin shell: keep PHP business logic, replace only the admin experience. */
body.yc-element-shell{
  background:#f6f8fb!important;
}
.yc-element-shell .wrapper{
  grid-template-columns:260px minmax(0,1fr)!important;
}
.yc-element-shell .main-sidebar{
  background:#0f172a!important;
  border-right:0!important;
  box-shadow:8px 0 28px rgba(15,23,42,.12)!important;
}
.yc-element-shell .brand-link{
  height:76px!important;
  margin:14px!important;
  padding:13px 14px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.06)!important;
  color:#fff!important;
}
.yc-element-shell .yc-brand-mark{
  background:linear-gradient(135deg,#18a058,#36ad6a)!important;
  border-radius:12px!important;
}
.yc-element-shell .brand-text,
.yc-element-shell .brand-text b{
  color:#fff!important;
}
.yc-element-shell .brand-text small{
  color:#94a3b8!important;
}
.yc-element-shell .nav-sidebar>.nav-header{
  color:#64748b!important;
  margin:18px 18px 8px!important;
  font-size:12px!important;
  letter-spacing:.08em!important;
}
.yc-element-shell .main-sidebar .nav-link{
  min-height:42px!important;
  margin:4px 10px!important;
  padding:0 13px!important;
  border-radius:10px!important;
  color:#cbd5e1!important;
  font-weight:850!important;
}
.yc-element-shell .main-sidebar .nav-icon{
  color:#94a3b8!important;
}
.yc-element-shell .main-sidebar .nav-link:hover{
  color:#fff!important;
  background:rgba(24,160,88,.18)!important;
}
.yc-element-shell .main-sidebar .nav-link.active{
  color:#fff!important;
  background:linear-gradient(135deg,#18a058,#36ad6a)!important;
  box-shadow:0 10px 24px rgba(24,160,88,.25)!important;
}
.yc-element-shell .main-sidebar .nav-link.active .nav-icon,
.yc-element-shell .main-sidebar .nav-link:hover .nav-icon{
  color:#fff!important;
}
.yc-element-shell .yc-topbar{
  height:66px!important;
  background:#fff!important;
  border-bottom:1px solid #dfe7f1!important;
  box-shadow:0 8px 24px rgba(15,23,42,.05)!important;
}
.yc-element-shell .yc-page-head{
  padding:22px 26px 0!important;
}
.yc-page-head-card{
  min-height:118px!important;
  border:1px solid #dfe7f1!important;
  border-radius:16px!important;
  background:
    linear-gradient(135deg,rgba(24,160,88,.08),rgba(54,173,106,.06) 42%,rgba(255,255,255,.98) 43%),
    #fff!important;
  box-shadow:0 12px 32px rgba(15,23,42,.06)!important;
}
.yc-element-shell .content{
  padding:18px 26px 40px!important;
}
.yc-element-shell .container-fluid{
  max-width:1680px!important;
}
.yc-element-shell .card,
.yc-element-shell .protocol-card,
.yc-element-shell .result-card{
  border:1px solid #dfe7f1!important;
  border-radius:14px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
}
.yc-element-shell .card h3{
  font-size:20px!important;
  color:#111827!important;
}
.yc-element-shell .work-card{
  padding:22px!important;
}
.yc-element-shell .work-card:before{
  display:block!important;
  height:3px!important;
  background:linear-gradient(90deg,#18a058,#36ad6a,#52c41a)!important;
}
.yc-element-shell .form-panel,
.yc-element-shell .card-subsection,
.yc-element-shell .status-stack div,
.yc-element-shell .info-grid div{
  border:1px solid #e1e8f2!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}
.yc-element-shell input,
.yc-element-shell textarea,
.yc-element-shell select{
  min-height:38px!important;
  border-radius:9px!important;
  border-color:#d7e0eb!important;
  font-size:14px!important;
  font-weight:700!important;
}
.yc-element-shell button,
.yc-element-shell .tag{
  border-radius:9px!important;
}
.yc-element-shell .table-wrap{
  border-radius:14px!important;
  border-color:#dfe7f1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.yc-element-shell table{
  min-width:980px;
}
.yc-element-shell th{
  height:42px!important;
  background:#eef3f8!important;
  color:#667085!important;
  font-size:12px!important;
}
.yc-element-shell td{
  color:#1f2937!important;
}

.yc-admin-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) repeat(3,minmax(150px,210px));
  gap:14px;
  margin-bottom:18px;
}
.yc-admin-hero-main,
.yc-admin-hero-stat{
  border:1px solid #dfe7f1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.055);
}
.yc-admin-hero-main{
  padding:20px 22px;
  background:linear-gradient(135deg,#0f172a,#166534 62%,#18a058);
  color:#fff;
}
.yc-admin-hero-main h2{
  margin:0 0 8px;
  font-size:26px;
  font-weight:950;
}
.yc-admin-hero-main p{
  margin:0;
  color:#dbeafe;
  line-height:1.7;
}
.yc-admin-hero-stat{
  display:grid;
  align-content:center;
  gap:5px;
  padding:16px;
}
.yc-admin-hero-stat span{
  color:#667085;
  font-size:12px;
  font-weight:900;
}
.yc-admin-hero-stat b{
  color:#111827;
  font-size:28px;
  font-weight:950;
}

.ops-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
.ops-section-title h3{
  margin:0!important;
}
.ops-section-title p{
  margin:4px 0 0;
}
.user-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(420px,1fr));
  gap:16px;
}
.user-row-card{
  position:relative;
  grid-template-columns:1fr!important;
  gap:14px!important;
  padding:18px!important;
  border:1px solid #dfe7f1!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(15,23,42,.05);
}
.user-row-card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:16px 0 0 16px;
  background:linear-gradient(180deg,#2563eb,#06b6d4);
}
.user-row-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.user-row-identity{
  padding-left:4px;
}
.user-row-avatar{
  width:58px!important;
  height:58px!important;
}
.user-inline-edit{
  grid-template-columns:1fr 1fr!important;
  padding:12px;
  border:1px solid #edf2f7;
  border-radius:12px;
  background:#f8fafc;
}
.user-device-summary{
  padding:12px;
  border:1px solid #edf2f7;
  border-radius:12px;
  background:#fbfdff;
}
.user-device-summary span{
  margin-top:5px;
}
.user-device-summary span:first-child{
  margin-top:0;
}
.user-status-summary{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.user-row-actions{
  padding-top:2px;
  border-top:1px dashed #e1e8f2;
}

.mqtt-summary-layout{
  grid-template-columns:minmax(0,1.15fr) minmax(330px,.55fr)!important;
}
.mqtt-summary-card{
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(15,23,42,.035);
}
.mqtt-summary-card b{
  font-size:20px!important;
}
.mqtt-side-panel{
  border-radius:14px!important;
  background:#f1f7ff!important;
}
.mqtt-stream-window{
  overflow:hidden;
}
.mqtt-stream-window>summary,
.advanced-section>summary{
  background:#f8fafc;
}
.mqtt-table-wrap{
  margin:0 14px 14px!important;
}
.payload-window{
  max-height:150px!important;
  background:#0f172a!important;
  color:#dbeafe!important;
}

.admin-account-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(520px,1fr));
}
.admin-account-card{
  grid-template-columns:1fr!important;
  border-radius:16px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.05);
}
.admin-account-fields{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  padding:12px;
  border:1px solid #edf2f7;
  border-radius:12px;
  background:#f8fafc;
}
.admin-permission-panel{
  padding:12px;
  border:1px solid #edf2f7;
  border-radius:12px;
}
.permission-switch{
  border-radius:10px!important;
}

/* iOS signing workspace */
.ios-command-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px!important;
}
.ios-command-copy{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.ios-command-copy h3,
.ios-panel-heading h3{
  margin:0;
  color:#1f2d3d;
  font-size:18px;
  font-weight:950;
}
.ios-command-copy p,
.ios-panel-heading p{
  margin:4px 0 0;
}
.ios-command-icon{
  flex:0 0 auto;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid #d9ecff;
  border-radius:8px;
  background:#ecf5ff;
  color:#409eff;
  font-size:20px;
}
.ios-command-actions{
  justify-content:flex-end;
}
.ios-release-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.ios-release-metrics>button{
  min-height:82px!important;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px 16px!important;
  border:1px solid #e4e7ed!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#606266!important;
  box-shadow:none!important;
  text-align:left;
}
.ios-release-metrics>button:hover,
.ios-release-metrics>button.is-active{
  border-color:#a0cfff!important;
  background:#f5faff!important;
}
.ios-release-metrics>button>span:nth-child(2){
  min-width:0;
}
.ios-release-metrics small,
.ios-release-metrics b{
  display:block;
}
.ios-release-metrics small{
  color:#909399;
  font-size:12px;
  font-weight:800;
}
.ios-release-metrics b{
  margin-top:4px;
  color:#1f2d3d;
  font-size:20px;
  font-weight:950;
  line-height:1.1;
}
.ios-release-metrics>button>i{
  color:#c0c4cc;
  font-size:12px;
}
.ios-metric-icon{
  width:40px;
  height:40px;
  display:grid!important;
  place-items:center;
  border-radius:8px;
  background:#ecf5ff;
  color:#409eff;
}
.ios-metric-icon.green{background:#f0f9eb;color:#67c23a}
.ios-metric-icon.amber{background:#fdf6ec;color:#e6a23c}
.ios-metric-icon.wechat{background:#edf9f1;color:#07c160}
.ios-workspace-tabs{
  display:flex;
  align-items:center;
  gap:4px;
  margin-bottom:14px;
  padding:5px;
  overflow-x:auto;
  border:1px solid #e4e7ed;
  border-radius:8px;
  background:#fff;
}
.ios-workspace-tabs button{
  flex:0 0 auto;
  min-height:38px!important;
  padding:8px 14px!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#606266!important;
  box-shadow:none!important;
  font-weight:850;
}
.ios-workspace-tabs button:hover{
  color:#409eff!important;
  background:#f5f7fa!important;
}
.ios-workspace-tabs button.is-active{
  color:#409eff!important;
  background:#ecf5ff!important;
}
.ios-workspace-tabs button i{margin-right:6px}
.ios-workspace>[data-ios-workspace-panel][hidden]{display:none!important}
.ios-workspace>[data-ios-workspace-panel]{display:grid;gap:14px}
.ios-panel-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.ios-panel-heading .yc-page-toolbar-actions{
  justify-content:flex-end;
}
.ios-readiness-list,
.ios-recent-list{
  display:grid;
  border-top:1px solid #ebeef5;
}
.ios-readiness-list>button{
  min-height:68px!important;
  display:grid;
  grid-template-columns:26px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px 4px!important;
  border:0!important;
  border-bottom:1px solid #ebeef5!important;
  border-radius:0!important;
  background:#fff!important;
  color:#67c23a!important;
  box-shadow:none!important;
  text-align:left;
}
.ios-readiness-list>button:last-child{border-bottom:0!important}
.ios-readiness-list>button:hover{background:#fafcff!important}
.ios-readiness-list>button.needs-action{color:#e6a23c!important}
.ios-readiness-list>button>i{font-size:18px}
.ios-readiness-list b,
.ios-readiness-list small{
  display:block;
}
.ios-readiness-list b{color:#303133;font-size:14px}
.ios-readiness-list small{margin-top:3px;color:#909399;font-size:12px;font-weight:700}
.ios-readiness-list em{
  padding:5px 9px;
  border-radius:6px;
  background:#f5f7fa;
  color:#606266;
  font-size:12px;
  font-style:normal;
  font-weight:850;
}
.ios-recent-row{
  display:grid;
  grid-template-columns:12px minmax(180px,1fr) minmax(90px,.25fr) minmax(150px,.35fr);
  align-items:center;
  gap:12px;
  min-height:62px;
  border-bottom:1px solid #ebeef5;
}
.ios-recent-row:last-child{border-bottom:0}
.ios-recent-row b,
.ios-recent-row small{display:block}
.ios-recent-row small{margin-top:3px;color:#909399}
.ios-recent-row>span:not(.ios-result-dot){font-weight:850;color:#606266}
.ios-recent-row time{color:#909399;font-size:12px;text-align:right}
.ios-result-dot{width:9px;height:9px;border-radius:50%;background:#e6a23c}
.ios-result-dot.tag{background:#67c23a;padding:0!important}
.ios-result-dot.tag-red{background:#f56c6c;padding:0!important}
.ios-empty-state{
  min-height:150px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:10px;
  color:#909399;
}
.ios-empty-state i{font-size:26px;color:#c0c4cc}
.ios-app-info{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:190px;
}
.ios-app-info>div{min-width:0}
.ios-app-info b,
.ios-app-info small{display:block;overflow-wrap:anywhere}
.ios-app-info small,
.table-subline{
  display:block;
  margin-top:4px;
  color:#909399;
  font-size:12px;
}
.table-code-line{display:block;overflow-wrap:anywhere}
.ios-table-app-placeholder{
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#ecf5ff;
  color:#409eff;
  font-size:11px;
  font-weight:950;
}
.ios-workflow-form{
  display:grid;
  gap:14px;
  padding:4px 2px 2px;
}
.ios-workflow-form .field{margin:0!important}
.ios-workflow-form>button:last-child{
  width:100%;
  margin-top:4px;
}
.ios-file-field{
  padding:14px;
  border:1px dashed #c0c4cc;
  border-radius:8px;
  background:#fafafa;
}
.ios-file-field input[type=file]{
  width:100%;
  padding:10px;
  border:1px solid #dcdfe6;
  border-radius:6px;
  background:#fff;
}
.ios-single-sign-form{
  grid-template-columns:1fr;
}
.ios-batch-summary{
  display:grid;
  gap:4px;
  padding:14px;
  border:1px solid #e4e7ed;
  border-radius:8px;
  background:#f8fafc;
}
.ios-batch-summary span,
.ios-batch-summary small{color:#909399;font-size:12px}
.ios-batch-summary b{color:#1f2d3d;font-size:20px}
.yc-admin-modal .yc-modal-head>div p{
  margin:4px 0 0;
  color:#909399;
  font-size:12px;
  font-weight:700;
}

@media (max-width:1100px){
  .ios-command-header{align-items:flex-start;flex-direction:column}
  .ios-command-actions{justify-content:flex-start}
  .ios-release-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .ios-release-metrics{grid-template-columns:1fr}
  .ios-panel-heading{align-items:flex-start;flex-direction:column}
  .ios-panel-heading>button,
  .ios-panel-heading>.yc-page-toolbar-actions{width:100%}
  .ios-panel-heading .yc-page-toolbar-actions{justify-content:flex-start}
  .ios-recent-row{grid-template-columns:12px minmax(0,1fr)}
  .ios-recent-row>span:not(.ios-result-dot),
  .ios-recent-row time{grid-column:2;text-align:left}
}

.push-service-layout,
.content-console-layout{
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.48fr)!important;
}
.push-service-primary,
.content-sync-card,
.push-rule-list div{
  border-radius:14px!important;
  background:#fff!important;
}
.push-service-primary{
  background:linear-gradient(135deg,#eff6ff,#fff)!important;
}
.html-editor-shell{
  grid-template-columns:minmax(0,1fr) minmax(260px,.36fr)!important;
}
.html-editor{
  min-height:250px!important;
}

@media (max-width:1280px){
  .yc-admin-hero,
  .mqtt-summary-layout,
  .push-service-layout,
  .content-console-layout,
  .html-editor-shell{
    grid-template-columns:1fr!important;
  }
  .admin-account-fields,
  .user-inline-edit,
  .user-status-summary{
    grid-template-columns:1fr!important;
  }
}

*{box-sizing:border-box}
html,body{min-height:100%}
body{
  margin:0;
  color:var(--yc-ink);
  background:#eef4ff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 10% 0%,rgba(56,189,248,.26),transparent 28%),
    radial-gradient(circle at 92% 8%,rgba(29,78,216,.18),transparent 28%),
    linear-gradient(180deg,#f8fbff 0%,#eef4ff 56%,#f8fafc 100%);
  z-index:-1;
}
a{color:var(--yc-primary);text-decoration:none}
img{max-width:100%}
pre{margin:0}

.yc-shell-link{
  color:var(--yc-primary);
  font-weight:900;
}

.login-screen,
.db-screen{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
}

.login-panel{
  width:min(980px,100%);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  overflow:hidden;
  background:rgba(255,255,255,.94);
  border:1px solid var(--yc-line);
  border-radius:36px;
  box-shadow:0 32px 90px rgba(16,24,40,.12);
}
.login-brand{
  padding:48px;
  min-height:520px;
  color:#fff;
  position:relative;
  background:linear-gradient(145deg,#0f172a,#155eef);
}
.login-brand:after{
  content:"";
  position:absolute;
  right:-70px;
  top:50px;
  width:230px;
  height:230px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
}
.login-brand small{
  font-weight:900;
  letter-spacing:.12em;
  color:#c5d9ff;
}
.login-brand h1{
  margin:18px 0;
  font-size:48px;
  line-height:1.05;
}
.login-brand p{
  color:#d7e5ff;
  line-height:1.8;
}
.login-pill{
  display:inline-flex;
  margin-top:24px;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  font-weight:850;
}
.login-form{
  padding:48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
}
.login-title{
  font-size:30px;
  font-weight:950;
}
.login-hint,
.muted,
.text-muted{
  color:var(--yc-muted)!important;
  line-height:1.75;
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
}
.info-grid div{
  padding:14px 16px;
  border:1px solid var(--yc-line);
  border-radius:18px;
  background:rgba(248,251,255,.8);
}
.info-grid span,
.status-stack span{
  display:block;
  font-size:12px;
  font-weight:800;
  margin-bottom:6px;
}
.inline-checks{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin:12px 0;
}
.device-bind-summary{
  display:flex;
  align-items:center;
  gap:14px;
  margin:14px 0 12px;
  padding:14px 16px;
  border:1px solid var(--yc-line);
  border-radius:20px;
  background:rgba(248,251,255,.86);
}
.device-bind-summary .work-icon{
  flex:0 0 auto;
}
.device-bind-summary b{
  display:block;
  font-size:15px;
  margin-bottom:4px;
}
.device-bind-summary p{
  margin:0;
  color:var(--yc-muted);
  line-height:1.6;
  word-break:break-word;
}
.device-bind-summary.is-ok{
  border-color:rgba(4,120,87,.24);
  background:linear-gradient(135deg,rgba(236,253,245,.96),rgba(248,251,255,.88));
}
.device-bind-summary.is-ok .work-icon{
  background:var(--yc-success-bg);
  color:var(--yc-success);
}
.device-bind-summary.is-pending{
  border-color:rgba(29,78,216,.22);
  background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(248,251,255,.88));
}
.device-bind-summary.is-pending .work-icon{
  background:#eff6ff;
  color:var(--yc-primary);
}
.device-bind-summary.is-bad{
  border-color:rgba(190,18,60,.22);
  background:linear-gradient(135deg,rgba(255,241,242,.96),rgba(248,251,255,.88));
}
.device-bind-summary.is-bad .work-icon{
  background:var(--yc-danger-bg);
  color:var(--yc-danger);
}
.device-bind-summary.is-waiting .work-icon{
  background:#f1f5f9;
  color:var(--yc-muted);
}
.card-header-inline,
.ios-record-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.card-subsection{
  margin:0 0 18px;
  padding:18px;
  border:1px solid var(--yc-line);
  border-radius:20px;
  background:rgba(248,251,255,.76);
}
.command-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:12px 0 16px;
}
.status-stack{
  display:grid;
  gap:12px;
}
.status-stack div{
  padding:12px 14px;
  border-radius:18px;
  border:1px solid var(--yc-line);
  background:rgba(248,251,255,.76);
}
.cell-pre{
  white-space:pre-wrap;
  word-break:break-word;
  font-size:12px;
  line-height:1.55;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}

.db-card{
  max-width:760px;
  background:#fff;
  border:1px solid var(--yc-line);
  border-radius:32px;
  padding:36px;
  box-shadow:0 28px 80px rgba(16,24,40,.1);
}
.db-card h1{
  margin:0 0 12px;
  font-size:38px;
}
.db-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.wrapper{
  display:grid!important;
  grid-template-columns:244px minmax(0,1fr);
  min-height:100vh;
  background:transparent!important;
  transition:grid-template-columns .2s ease;
}
.wrapper.yc-sidebar-collapsed{
  grid-template-columns:88px minmax(0,1fr);
}
.main-sidebar{
  position:sticky!important;
  top:0!important;
  left:auto!important;
  width:auto!important;
  min-height:100vh!important;
  height:100vh!important;
  background:rgba(255,255,255,.78)!important;
  border-right:1px solid rgba(226,232,240,.92);
  box-shadow:14px 0 40px rgba(15,23,42,.06)!important;
  backdrop-filter:blur(20px);
  overflow:hidden;
}
.sidebar{
  height:calc(100vh - 118px);
  overflow-y:auto;
  overflow-x:hidden;
  padding:10px 10px 96px!important;
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.brand-link{
  height:92px!important;
  margin:16px 14px 10px;
  padding:18px 20px!important;
  border:0!important;
  border-radius:24px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#0f172a,#1d4ed8 68%,#38bdf8)!important;
  box-shadow:0 16px 40px rgba(29,78,216,.22)!important;
}
.brand-link:before{
  content:"YC";
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  margin-right:10px;
  border-radius:14px;
  background:rgba(255,255,255,.16);
  font-weight:950;
  letter-spacing:-.04em;
}
.brand-text{
  color:#fff!important;
  font-size:18px;
  font-weight:950!important;
  letter-spacing:.02em;
}
.wrapper.yc-sidebar-collapsed .brand-text,
.wrapper.yc-sidebar-collapsed .nav-sidebar .nav-link p,
.wrapper.yc-sidebar-collapsed .nav-header{
  display:none!important;
}
.wrapper.yc-sidebar-collapsed .brand-link{
  display:grid;
  place-items:center;
  margin:16px 12px;
  padding:0!important;
}
.wrapper.yc-sidebar-collapsed .brand-link:before{
  margin:0;
}
.nav-sidebar>.nav-header{
  margin:20px 12px 8px;
  padding:0!important;
  color:#94a3b8!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.12em;
}
.main-sidebar .nav{
  display:block!important;
  padding-bottom:72px;
}
.main-sidebar .nav-link{
  min-height:44px;
  margin:4px 4px;
  padding:0 14px!important;
  border-radius:15px!important;
  color:#475569!important;
  font-weight:850!important;
  display:flex!important;
  align-items:center;
  transition:all .18s ease;
}
.main-sidebar .nav-icon{
  width:24px!important;
  margin-right:10px!important;
  color:#94a3b8!important;
  text-align:center;
}
.main-sidebar .nav-link p{margin:0}
.main-sidebar .nav-link.active,
.main-sidebar .nav-link:hover{
  color:#fff!important;
  background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;
  box-shadow:0 12px 30px rgba(37,99,235,.2)!important;
  transform:translateY(-1px);
}
.main-sidebar .nav-link.active .nav-icon,
.main-sidebar .nav-link:hover .nav-icon{
  color:#fff!important;
}
.wrapper.yc-sidebar-collapsed .main-sidebar .nav-link{
  justify-content:center;
  padding:0!important;
}
.wrapper.yc-sidebar-collapsed .main-sidebar .nav-icon{
  margin:0!important;
}

.main-header{
  grid-column:2!important;
  position:sticky!important;
  top:0;
  z-index:20;
  margin-left:0!important;
  height:72px!important;
  border:0!important;
  background:rgba(255,255,255,.76)!important;
  backdrop-filter:blur(16px);
  box-shadow:0 1px 0 rgba(226,232,240,.9);
}
.navbar-nav{
  display:flex!important;
}
.navbar-nav .nav-link{
  height:44px;
  display:flex!important;
  align-items:center;
  gap:8px;
  margin:0 4px;
  border-radius:14px!important;
  color:#334155!important;
  font-weight:850;
}
.navbar-nav .nav-link:hover{
  background:#eff6ff;
  color:var(--yc-primary)!important;
}
.status-badge{
  background:#ecfdf5!important;
  color:#047857!important;
  border:1px solid #bbf7d0;
}

.content-wrapper{
  grid-column:2!important;
  margin-left:0!important;
  min-width:0;
  background:transparent!important;
}
.content-header{
  padding:28px 32px 0!important;
}
.content-header h1{
  margin:0 0 6px!important;
  color:var(--yc-ink)!important;
  font-size:34px!important;
  font-weight:950!important;
  letter-spacing:-.045em;
}
.breadcrumb{
  background:transparent!important;
  font-weight:800;
}
.breadcrumb-item.active{
  color:var(--yc-muted)!important;
}
.content{
  padding:20px 32px 38px!important;
}
.container-fluid{
  max-width:1540px;
}
.main-footer{
  grid-column:2!important;
  margin-left:0!important;
  border-top:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.72);
  color:var(--yc-muted);
}

.flash,
.error-box,
.warn{
  margin-bottom:18px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid transparent;
  box-shadow:0 14px 34px rgba(15,23,42,.05);
  font-weight:850;
}
.flash{
  background:var(--yc-success-bg)!important;
  color:var(--yc-success)!important;
  border-color:#bbf7d0!important;
}
.flash-error,
.error,
.error-box{
  background:var(--yc-danger-bg)!important;
  color:var(--yc-danger)!important;
  border-color:#fecdd3!important;
}
.warn{
  background:var(--yc-warn-bg)!important;
  color:var(--yc-warn)!important;
  border-color:#fde68a!important;
}

.metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  margin-bottom:22px!important;
}
.metric,
.card,
.protocol-card,
.result-card{
  background:var(--yc-card)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  border-radius:var(--yc-radius)!important;
  box-shadow:var(--yc-shadow)!important;
}
.metric{
  position:relative;
  min-height:132px;
  padding:22px 24px!important;
  overflow:hidden;
}
.metric:after{
  content:"";
  position:absolute;
  right:-22px;
  top:-28px;
  width:110px;
  height:110px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(59,130,246,.16),rgba(56,189,248,.12));
}
.metric span{
  font-size:13px!important;
  font-weight:950!important;
  color:var(--yc-muted)!important;
}
.metric b{
  display:block;
  margin-top:8px;
  font-size:38px!important;
  font-weight:950!important;
  letter-spacing:-.055em;
}

.card{
  margin-bottom:18px;
  padding:24px!important;
  overflow:hidden;
}
.card h3{
  margin:0 0 18px!important;
  color:#111827!important;
  font-size:21px!important;
  font-weight:950!important;
  letter-spacing:-.025em;
}
.grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px!important;
}
.grid-balanced{
  grid-template-columns:minmax(360px,.92fr) minmax(320px,.58fr)!important;
  align-items:stretch;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 18px;
}
.form-grid.compact-form{
  gap:12px 16px;
}
.field-span-2{
  grid-column:1/-1;
}
.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:14px 0!important;
}
.field label{
  color:#334155!important;
  font-size:14px!important;
  font-weight:950!important;
}
.field small{
  color:#94a3b8;
  line-height:1.55;
  font-weight:750;
}
input,
textarea,
select,
button{
  font:inherit;
}
input,
textarea,
select{
  width:100%;
  min-height:44px!important;
  padding:11px 13px;
  border:1px solid var(--yc-line)!important;
  border-radius:var(--yc-radius-sm)!important;
  background:#fff!important;
  color:var(--yc-ink)!important;
  font-weight:700!important;
  outline:none;
  box-shadow:0 1px 0 rgba(15,23,42,.02);
  transition:border-color .16s ease,box-shadow .16s ease;
}
input:focus,
textarea:focus,
select:focus{
  border-color:#60a5fa!important;
  box-shadow:0 0 0 4px rgba(96,165,250,.18)!important;
}
textarea{
  resize:vertical;
  line-height:1.7!important;
}
button{
  min-height:42px!important;
  padding:11px 15px;
  border:0!important;
  border-radius:var(--yc-radius-sm)!important;
  background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;
  color:#fff!important;
  font-weight:950!important;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(37,99,235,.18)!important;
}
button:hover{
  filter:brightness(1.03);
}
button i{
  margin-right:7px;
}
.btn-muted{
  background:#e2e8f0!important;
  color:#334155!important;
  box-shadow:none!important;
}
.btn-red{
  background:var(--yc-danger-bg)!important;
  color:var(--yc-danger)!important;
  border:1px solid #fecdd3!important;
  box-shadow:none!important;
}

.table-wrap{
  overflow-x:auto;
  overflow-y:hidden;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  background:#fff!important;
  max-width:100%;
}
.work-card{
  position:relative;
  padding:26px!important;
}
.work-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,#1d4ed8,#38bdf8,#8b5cf6);
  opacity:.86;
}
.work-card-head{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-bottom:18px;
}
.work-card-head h3{
  margin:0 0 6px!important;
}
.work-card-head .muted{
  margin:0;
}
.work-icon{
  flex:0 0 auto;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(135deg,#1d4ed8,#8b5cf6);
  box-shadow:0 14px 28px rgba(37,99,235,.22);
}
.work-icon.green{
  background:linear-gradient(135deg,#059669,#38bdf8);
  box-shadow:0 14px 28px rgba(5,150,105,.18);
}
.driver-links,
.driver-actions{
  display:grid;
  gap:12px;
}
.driver-link{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#fff;
  color:#0f172a;
}
.driver-link i{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#1d4ed8,#38bdf8);
}
.driver-link span{
  display:grid;
  gap:3px;
  min-width:0;
}
.driver-link em{
  color:var(--yc-muted);
  font-size:12px;
  font-style:normal;
  font-weight:850;
}
.form-panel{
  margin:16px 0;
  padding:18px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#f8fbff);
}
.form-panel.subtle{
  background:#fbfdff;
}
.panel-title{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
  color:#111827;
  font-size:15px;
  font-weight:950;
}
.panel-title i{
  color:var(--yc-primary);
}
.action-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:16px;
}
.action-row button{
  min-width:180px;
}
.mini-metrics,
.status-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.mini-metrics div,
.status-grid div{
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#f8fafc;
}
.mini-metrics span,
.status-grid span{
  display:block;
  color:var(--yc-muted);
  font-size:12px;
  font-weight:950;
}
.mini-metrics b{
  display:block;
  margin-top:5px;
  color:#0f172a;
  font-size:28px;
  letter-spacing:-.045em;
}
.status-grid b{
  display:block;
  margin-top:5px;
  overflow-wrap:anywhere;
  color:#1e293b;
}
.dashboard-metrics .metric{
  display:grid;
  grid-template-columns:46px 1fr auto;
  grid-template-rows:auto 1fr;
  align-items:center;
  gap:8px 14px;
}
.dashboard-metrics .metric i{
  grid-row:1/3;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  color:#1d4ed8;
  background:#eff6ff;
}
.dashboard-metrics .metric b{
  grid-column:2;
  margin-top:0;
}
.dashboard-metrics .metric em{
  justify-self:end;
  padding:6px 10px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-size:12px;
  font-style:normal;
  font-weight:950;
}
.dashboard-metrics .warn-metric i{
  color:#be123c;
  background:#fff1f2;
}
.dashboard-status{
  min-height:190px;
}
table{
  width:100%;
  min-width:860px;
  border-collapse:separate!important;
  border-spacing:0;
}
th,td{
  padding:12px 10px;
  text-align:left;
  vertical-align:middle;
  border-bottom:1px solid #eef2f7!important;
  max-width:360px;
  word-break:break-word;
}
th{
  background:#f8fafc!important;
  color:var(--yc-muted)!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.04em;
  text-transform:uppercase;
}
td{
  font-size:14px!important;
  color:#1e293b!important;
  font-weight:750!important;
}
tr:hover td{
  background:#f8fbff;
}
.admin-table td{
  vertical-align:top;
}
.users-table{
  min-width:1180px;
}
.stacked-edit{
  display:grid;
  gap:8px;
  min-width:210px;
}
.stacked-edit .inline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
}
.stacked-edit input{
  width:100%!important;
}
.device-cell{
  display:grid;
  gap:5px;
  min-width:260px;
}
.device-cell b{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  color:#111827;
}
.device-cell span,
.device-cell small{
  color:#64748b;
  overflow-wrap:anywhere;
}
.device-cell small{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;
}

.vehicle-location-card{
  position:relative;
}
.vehicle-location-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.vehicle-location-head h3{
  margin:0 0 6px!important;
}
.vehicle-location-head .tag{
  flex:0 0 auto;
}
.vehicle-location-main{
  display:grid;
  grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:16px;
}
.vehicle-location-coordinate{
  padding:22px;
  border:1px solid #bfdbfe;
  border-radius:22px;
  background:linear-gradient(135deg,#eff6ff,#f8fbff);
}
.vehicle-location-coordinate b{
  display:block;
  margin:8px 0;
  color:#0f172a;
  font-size:28px;
  font-weight:950;
  letter-spacing:0;
}
.vehicle-location-coordinate small{
  color:#64748b;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-weight:850;
  overflow-wrap:anywhere;
}
.vehicle-location-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.vehicle-location-stats div{
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#fff;
}
.vehicle-location-stats span{
  display:block;
  margin-bottom:8px;
  color:#64748b;
  font-size:12px;
  font-weight:950;
}
.vehicle-location-stats b{
  color:#0f172a;
  font-size:18px;
  font-weight:950;
}
.vehicle-location-meta b{
  overflow-wrap:anywhere;
}
.empty-location{
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:18px;
  border:1px dashed #cbd5e1;
  border-radius:20px;
  background:#f8fafc;
}
.empty-location i{
  color:#1d4ed8;
  font-size:26px;
  margin-top:3px;
}
.empty-location b{
  color:#0f172a;
  font-weight:950;
}
.empty-location p{
  margin:6px 0 0;
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.inline{
  display:inline-flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.inline input{
  width:auto;
  min-height:38px!important;
  padding:8px 10px;
  border-radius:12px!important;
}
.inline button{
  min-height:38px!important;
  padding:8px 12px;
}
.content-editor textarea{
  min-height:auto;
}
.html-editor{
  min-height:180px!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:13px;
}
.file-drop,
.file-picker{
  min-height:64px;
  display:grid!important;
  place-items:center;
  border:1px dashed #cbd5e1;
  border-radius:18px;
  background:#f8fafc;
  cursor:pointer;
  transition:all .16s ease;
}
.file-drop:hover,
.file-picker:hover{
  border-color:#60a5fa;
  background:#eff6ff;
}
.file-drop input{
  position:absolute;
  width:1px!important;
  height:1px!important;
  min-height:1px!important;
  opacity:0;
  pointer-events:none;
}
.file-picker{
  position:relative;
  overflow:hidden;
  padding:12px;
}
.file-picker input[type=file]{
  position:absolute;
  inset:0;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  opacity:0;
  cursor:pointer;
}
.file-drop span,
.file-picker span{
  color:#1d4ed8;
  font-weight:950;
}
.yc-file-name{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  pointer-events:none;
}
.category-cloud{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
}
.category-cloud div{
  padding:15px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#f8fafc;
}
.category-cloud span{
  display:block;
  color:#64748b;
  font-weight:950;
}
.category-cloud b{
  display:block;
  margin-top:6px;
  color:#111827;
}

.tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:7px 11px;
  border-radius:999px!important;
  border:1px solid #bfdbfe;
  background:#eff6ff!important;
  color:var(--yc-primary)!important;
  font-size:12px!important;
  font-weight:950!important;
}
.tag-red{
  border-color:#fecdd3!important;
  background:var(--yc-danger-bg)!important;
  color:var(--yc-danger)!important;
}
.tag-muted{
  border-color:#cbd5e1!important;
  background:#f8fafc!important;
  color:#64748b!important;
}

.img,
.ios-app-icon{
  border-radius:16px!important;
  background:#f1f5f9;
  object-fit:cover;
}
.img{
  width:126px;
  height:74px;
}
.mono{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.yc-qr-modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.yc-qr-modal.is-open{
  display:flex;
}
.yc-qr-card{
  width:min(920px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  padding:22px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 32px 90px rgba(15,23,42,.22);
}
.yc-qr-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:20px;
  align-items:start;
}
.yc-qr-canvas-wrap{
  display:grid;
  place-items:center;
  min-height:280px;
  border:1px dashed #cbd5e1;
  border-radius:20px;
  background:#f8fafc;
  padding:18px;
}
.yc-qr-canvas{
  display:grid;
  place-items:center;
  width:100%;
}
.yc-qr-canvas canvas{
  width:240px!important;
  height:240px!important;
  border-radius:14px;
  background:#fff;
}
.yc-qr-image{
  width:240px;
  height:240px;
  object-fit:contain;
  border-radius:14px;
  background:#fff;
}
.yc-qr-meta{
  display:grid;
  gap:14px;
}

.permission-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px 14px;
}
.permission-grid.compact{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.permission-grid label{
  display:flex;
  gap:8px;
  align-items:center;
  color:#334155;
  font-weight:700;
}

.parser-layout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);
  gap:18px;
  align-items:start;
}
.parser-textarea{
  min-height:260px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:13px;
}
.result-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:16px 0;
}
.result-card{
  padding:16px!important;
}
.result-card span{
  display:block;
  color:var(--yc-muted);
  font-size:12px;
  font-weight:950;
}
.result-card b{
  display:block;
  margin-top:6px;
  font-size:24px;
  letter-spacing:-.03em;
}
.kv-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.kv{
  background:#f8fafc;
  border:1px solid #eef2f7;
  border-radius:16px;
  padding:12px;
}
.kv span{
  display:block;
  color:var(--yc-muted);
  font-size:12px;
  font-weight:900;
}
.kv b{
  display:block;
  margin-top:4px;
  word-break:break-all;
}

.protocol-card{
  margin:18px 0!important;
  padding:22px!important;
}
.protocol-head{
  display:grid;
  grid-template-columns:1.2fr 1fr 180px;
  gap:14px;
  align-items:end;
}
.protocol-groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.protocol-group{
  padding:16px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  border-radius:20px!important;
}
.protocol-group h4{
  margin:0 0 10px;
  font-size:15px;
  font-weight:950;
}
.protocol-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.protocol-formula{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}

.vehicle-preview-cell{
  display:flex;
  align-items:center;
  gap:12px;
}
.vehicle-preview-cell small{
  display:block;
  margin-top:6px;
  color:var(--yc-muted);
}
.vehicle-thumb{
  cursor:pointer;
}
.vehicle-admin-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  background:linear-gradient(135deg,#ffffff,#f8fbff 56%,#eff6ff);
}
.vehicle-admin-hero .eyebrow{
  margin:0 0 8px;
  color:var(--yc-primary);
  font-size:12px;
  font-weight:950;
}
.vehicle-admin-hero h3{
  margin:0 0 8px!important;
}
.vehicle-admin-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.vehicle-admin-stats span{
  min-width:104px;
  padding:12px 14px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:#fff;
  color:#64748b;
  font-size:12px;
  font-weight:900;
}
.vehicle-admin-stats b{
  display:block;
  color:#111827;
  font-size:22px;
  line-height:1.1;
}
.vehicle-admin-top{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:18px;
  align-items:stretch;
}
.vehicle-upload-card,
.vehicle-group-card,
.vehicle-groups-panel,
.vehicle-library{
  overflow:visible;
}
.vehicle-group-list{
  display:grid;
  gap:10px;
}
.vehicle-group-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#f8fafc;
}
.vehicle-group-edit{
  display:grid;
  grid-template-columns:minmax(160px,1fr) 94px auto auto;
  gap:10px;
  align-items:center;
}
.vehicle-group-edit input{
  min-height:38px!important;
  padding:8px 10px;
}
.vehicle-group-row button{
  min-height:38px!important;
  padding:8px 12px;
}
.vehicle-theme-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
.vehicle-empty-state{
  min-height:210px;
  display:grid;
  place-items:center;
  gap:10px;
  padding:28px;
  border:1px dashed #bfdbfe;
  border-radius:24px;
  background:#f8fbff;
  color:#64748b;
  text-align:center;
}
.vehicle-empty-state i{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:24px;
}
.vehicle-empty-state b{
  color:#0f172a;
  font-size:18px;
}
.vehicle-empty-state span{
  max-width:360px;
  line-height:1.6;
}
.vehicle-theme-tile{
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:14px;
  padding:14px;
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.045);
}
.vehicle-theme-tile.is-disabled{
  opacity:.72;
}
.vehicle-theme-art{
  position:relative;
  height:150px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:20px;
  border:1px solid #dbeafe;
  background:linear-gradient(135deg,#eff6ff,#f8fafc 55%,#f5f3ff);
}
.vehicle-theme-art img{
  max-width:88%;
  max-height:112px;
  object-fit:contain;
  cursor:pointer;
  filter:drop-shadow(0 16px 22px rgba(15,23,42,.18));
}
.vehicle-theme-art i{
  color:#1d4ed8;
  font-size:36px;
}
.vehicle-theme-art span{
  position:absolute;
  left:12px;
  top:12px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:#1d4ed8;
  font-size:11px;
  font-weight:950;
}
.vehicle-theme-edit{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.vehicle-theme-edit .field{
  margin:0!important;
}
.vehicle-theme-edit input,
.vehicle-theme-edit select{
  min-height:38px!important;
  padding:8px 10px;
}
.vehicle-theme-edit .file-picker{
  min-height:46px;
}
.vehicle-theme-actions{
  grid-column:1/-1;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.vehicle-theme-actions.secondary{
  justify-content:flex-end;
}
.vehicle-theme-actions button{
  min-height:38px!important;
  padding:8px 12px;
}
.app-diy-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:linear-gradient(135deg,#f8fbff,#ffffff);
}
.app-diy-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.app-diy-stats span{
  min-width:118px;
  padding:12px 14px;
  border:1px solid #e6ebf2;
  border-radius:12px;
  background:#fff;
  color:#64748b;
  font-size:12px;
}
.app-diy-stats b{
  display:block;
  color:#0f172a;
  font-size:22px;
}
.app-diy-type-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:10px!important;
}
.app-diy-type-tabs a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:10px 14px;
  border-radius:12px;
  color:#475569;
  text-decoration:none;
  background:#f8fafc;
  border:1px solid #e6ebf2;
}
.app-diy-type-tabs a.active{
  color:#1d4ed8;
  background:#eff6ff;
  border-color:#bfdbfe;
}
.app-diy-type-tabs b{
  margin-left:auto;
  padding:4px 8px;
  border-radius:999px;
  background:#fff;
}
.app-diy-panel-grid{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);
  gap:16px;
}
.compact-head{
  margin-bottom:14px!important;
}
.app-diy-form .form-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.app-diy-group-card button{
  width:100%;
}
.app-diy-crop{
  margin-top:12px;
}
.app-diy-crop-stage{
  position:relative;
  height:190px;
  overflow:hidden;
  border-radius:14px;
  border:1px dashed #bfdbfe;
  background:#f8fafc;
  touch-action:none;
  user-select:none;
}
.app-diy-crop.is-voltage .app-diy-crop-stage{
  height:176px;
  background:
    linear-gradient(135deg,rgba(37,99,235,.10),rgba(14,165,233,.08)),
    #f8fafc;
}
.app-diy-crop.is-battery .app-diy-crop-stage{
  height:230px;
  background:
    linear-gradient(135deg,rgba(16,185,129,.10),rgba(132,204,22,.08)),
    #f8fafc;
}
.app-diy-crop.is-vehicle-bg .app-diy-crop-stage{
  height:260px;
  border-color:#93c5fd;
  background:
    radial-gradient(circle at 18% 18%,rgba(14,165,233,.13),transparent 34%),
    linear-gradient(135deg,rgba(37,99,235,.09),rgba(15,23,42,.04)),
    #f8fafc;
}
.app-diy-crop-stage img{
  position:absolute;
  left:0;
  top:0;
  max-width:none;
  max-height:none;
  display:none;
  pointer-events:none;
  transform-origin:0 0;
  will-change:transform,width,height;
}
.app-diy-crop-placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  gap:8px;
  color:#94a3b8;
  pointer-events:none;
}
.app-diy-crop.has-image .app-diy-crop-stage img{
  display:block;
}
.app-diy-crop.has-image .app-diy-crop-placeholder{
  display:none;
}
.app-diy-crop-box{
  position:absolute;
  left:14%;
  top:30%;
  width:72%;
  height:34%;
  border:2px solid #2563eb;
  border-radius:12px;
  box-shadow:0 0 0 999px rgba(15,23,42,.28);
  z-index:3;
  pointer-events:none;
}
.app-diy-crop.is-voltage .app-diy-crop-box{
  border-color:#0ea5e9;
  border-radius:18px;
}
.app-diy-crop.is-battery .app-diy-crop-box{
  border-color:#10b981;
  border-radius:22px;
}
.app-diy-crop.is-vehicle-bg .app-diy-crop-box{
  border-color:#2563eb;
  border-radius:26px;
}
.app-diy-vehicle-preview{
  margin-top:12px;
  display:grid;
  grid-template-columns:minmax(190px,260px) 1fr;
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid #e6ebf2;
  border-radius:18px;
  background:linear-gradient(135deg,#f8fafc,#ffffff);
}
.app-diy-vehicle-main{
  height:132px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:
    radial-gradient(circle at 28% 20%,rgba(59,130,246,.16),transparent 34%),
    linear-gradient(135deg,#eef6ff,#f8fafc);
  overflow:hidden;
}
.app-diy-vehicle-main img{
  display:none;
  max-width:92%;
  max-height:112px;
  object-fit:contain;
}
.app-diy-vehicle-main i{
  color:#94a3b8;
  font-size:32px;
}
.app-diy-vehicle-preview.has-image .app-diy-vehicle-main img{
  display:block;
}
.app-diy-vehicle-preview.has-image .app-diy-vehicle-main i{
  display:none;
}
.app-diy-vehicle-copy b{
  display:block;
  color:#0f172a;
  margin-bottom:5px;
}
.app-diy-vehicle-copy span{
  color:#64748b;
  line-height:1.7;
}
.app-diy-groups-panel,
.app-diy-library{
  margin-top:16px;
}
.app-diy-builtin-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:10px;
}
.app-diy-builtin-card{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  border:1px solid #e6ebf2;
  border-radius:14px;
  background:#fff;
}
.app-diy-builtin-card.is-disabled{
  opacity:.55;
  background:#f8fafc;
}
.app-diy-builtin-mark{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#2563eb;
  background:#eff6ff;
}
.app-diy-builtin-card b{
  display:block;
  color:#0f172a;
  line-height:1.2;
}
.app-diy-builtin-card span{
  display:block;
  margin-top:2px;
  color:#94a3b8;
  font-size:12px;
}
.app-diy-builtin-card form{
  margin-left:auto;
}
.app-diy-builtin-card button{
  min-height:34px!important;
  padding:6px 10px;
}
.app-diy-group-list{
  display:grid;
  gap:10px;
}
.app-diy-group-row{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  padding:10px;
  border:1px solid #e6ebf2;
  border-radius:12px;
  background:#fff;
}
.app-diy-group-edit{
  flex:1;
  display:grid;
  grid-template-columns:minmax(160px,1fr) 90px auto auto;
  gap:8px;
  align-items:center;
}
.app-diy-group-edit input{
  min-height:38px!important;
  padding:8px 10px;
}
.app-diy-art{
  height:132px;
}
.app-diy-art img{
  max-height:100px;
}
.app-diy-art.is-voltage{
  height:106px;
  border-radius:18px;
}
.app-diy-art.is-voltage img{
  max-width:82%;
  max-height:70px;
}
.app-diy-art.is-battery{
  height:148px;
  border-radius:22px;
}
.app-diy-art.is-battery img{
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
}
.app-diy-tile-vehicle .app-diy-art img{
  width:auto;
  height:auto;
  max-width:92%;
  max-height:108px;
  object-fit:contain;
}
.app-diy-edit{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (max-width: 900px){
  .app-diy-panel-grid,
  .app-diy-type-tabs{
    grid-template-columns:1fr;
  }
  .app-diy-hero{
    align-items:flex-start;
    flex-direction:column;
  }
  .app-diy-group-edit{
    grid-template-columns:1fr;
  }
  .app-diy-vehicle-preview{
    grid-template-columns:1fr;
  }
}
.yc-image-preview{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  place-items:center;
  background:rgba(15,23,42,.75);
  padding:28px;
}
.yc-image-preview.is-open{
  display:grid;
}
.yc-image-preview img{
  max-width:min(1120px,100%);
  max-height:80vh;
  border-radius:22px;
  box-shadow:0 28px 80px rgba(15,23,42,.4);
}
.yc-image-preview button{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  min-height:44px!important;
  border-radius:999px!important;
  padding:0;
  font-size:24px;
}

.ios-record-title{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:16px;
}
.ios-sign-form{
  display:grid;
  gap:18px;
}
.ios-vertical-form{
  display:grid;
  gap:12px;
}
.ios-signing-note{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border:1px solid #dbeafe;
  border-radius:14px;
  background:#eff6ff;
  color:#1e3a8a;
  font-weight:800;
}
.ios-signing-note span{
  color:#475569;
  font-size:13px;
  font-weight:700;
  line-height:1.55;
}
.ios-form-section{
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:18px;
  background:#fbfdff;
}
.ios-form-section h4{
  margin:0 0 14px;
  font-size:16px;
  font-weight:950;
}
.ios-upload-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.ios-upload-box{
  border:1px dashed #cbd5e1;
  border-radius:18px;
  padding:12px 14px;
  background:#fff;
}
.ios-submit{
  width:100%;
}
.ios-identity-section{
  margin-top:18px;
}
.ios-record-list{
  display:grid;
  gap:14px;
}
.ios-record-card{
  display:grid;
  grid-template-columns:minmax(280px,1.2fr) minmax(180px,.7fr) minmax(180px,.75fr) minmax(180px,.7fr);
  gap:16px;
  align-items:start;
  padding:18px;
  border:1px solid #e2e8f0;
  border-radius:20px;
  background:#fff;
}
.ios-record-meta,
.ios-record-status,
.ios-record-actions{
  display:flex;
  gap:10px;
  flex-direction:column;
  min-width:0;
}
.ios-record-meta{
  flex-direction:row;
  align-items:center;
}
.ios-record-meta>div,
.ios-record-status,
.ios-record-actions,
.ios-record-card b,
.ios-record-card span,
.ios-record-card small{
  min-width:0;
  overflow-wrap:anywhere;
}
.ios-app-icon{
  width:56px;
  height:56px;
}
.ios-app-placeholder{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#eff6ff;
  color:var(--yc-primary);
  font-weight:950;
}
.ios-record-log{
  grid-column:1/-1;
}
.ios-record-alert{
  grid-column:1/-1;
  padding:10px 12px;
  border:1px solid #fecdd3;
  border-radius:12px;
  background:#fff1f2;
  color:#be123c;
  font-size:13px;
  font-weight:800;
  line-height:1.6;
}
.ios-record-alert b{
  color:#9f1239;
}

@media (max-width:1200px){
  .metrics,
  .grid,
  .protocol-head,
  .protocol-groups,
  .protocol-formula,
  .yc-qr-layout,
  .vehicle-location-main,
  .vehicle-location-stats,
  .permission-grid,
  .ios-upload-grid,
  .ios-record-card,
  .parser-layout,
  .result-grid,
  .kv-grid{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:991px){
  .wrapper{
    grid-template-columns:1fr!important;
  }
  .main-sidebar{
    position:relative!important;
    height:auto!important;
    min-height:auto!important;
  }
  .sidebar{
    height:auto;
  }
  .main-header,
  .content-wrapper,
  .main-footer{
    grid-column:1!important;
  }
  .content-header,
  .content{
    padding-left:18px!important;
    padding-right:18px!important;
  }
}

@media (max-width:820px){
  .login-panel{
    grid-template-columns:1fr;
  }
  .login-brand{
    min-height:auto;
  }
  .login-brand h1{
    font-size:38px;
  }
  .login-form{
    padding:28px;
  }
}

/* Vue3 / Element Plus admin skin. UI only; page forms and actions stay untouched. */
:root{
  --yc-primary:#409eff;
  --yc-primary-2:#67c23a;
  --yc-ink:#1f2937;
  --yc-muted:#7a8799;
  --yc-line:#e5e7eb;
  --yc-soft:#f5f7fa;
  --yc-card:#ffffff;
  --yc-radius:10px;
  --yc-radius-sm:8px;
  --yc-shadow:0 10px 30px rgba(31,45,61,.06);
  --yc-danger:#f56c6c;
  --yc-danger-bg:#fef0f0;
  --yc-success:#67c23a;
  --yc-success-bg:#f0f9eb;
  --yc-warn:#e6a23c;
  --yc-warn-bg:#fdf6ec;
}

body.yc-element-shell,
body.yc-element-shell:before{
  background:#f5f7fb!important;
}
body.yc-element-shell:before{
  display:none!important;
}
body.yc-element-shell{
  color:#1f2d3d;
}

.yc-element-shell .wrapper{
  grid-template-columns:248px minmax(0,1fr);
  background:#f5f7fb!important;
}
.yc-element-shell .wrapper.yc-sidebar-collapsed{
  grid-template-columns:72px minmax(0,1fr);
}
.yc-element-shell .main-sidebar{
  background:#ffffff!important;
  border-right:1px solid #e6ebf2;
  box-shadow:2px 0 10px rgba(31,45,61,.04)!important;
  backdrop-filter:none;
}
.yc-element-shell .sidebar{
  height:calc(100vh - 88px);
  padding:8px 10px 80px!important;
}
.yc-element-shell .brand-link{
  height:64px!important;
  margin:12px 12px 8px;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center;
  border-radius:10px!important;
  color:#1f2d3d!important;
  background:#f7f9fc!important;
  border:1px solid #edf0f5!important;
  box-shadow:none!important;
}
.yc-element-shell .brand-link:before{
  display:none!important;
}
.yc-element-shell .yc-brand-mark{
  flex:0 0 auto;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#fff;
  background:#409eff;
  font-size:13px;
  font-weight:950;
  letter-spacing:-.02em;
}
.yc-element-shell .brand-text{
  display:grid;
  gap:1px;
  color:#1f2d3d!important;
  line-height:1.12;
}
.yc-element-shell .brand-text b{
  font-size:15px;
  font-weight:950;
}
.yc-element-shell .brand-text small{
  color:#9aa4b2;
  font-size:11px;
  font-weight:800;
}
.yc-element-shell .wrapper.yc-sidebar-collapsed .brand-link{
  justify-content:center;
  margin:12px 8px;
  padding:0!important;
}
.yc-element-shell .wrapper.yc-sidebar-collapsed .yc-brand-mark{
  width:40px;
  height:40px;
}
.yc-element-shell .wrapper.yc-sidebar-collapsed .brand-text{
  display:none!important;
}
.yc-element-shell .nav-sidebar>.nav-header{
  margin:18px 10px 7px;
  color:#a8abb2!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:0;
}
.yc-element-shell .main-sidebar .nav-link{
  min-height:40px;
  margin:3px 0;
  padding:0 12px!important;
  border-radius:8px!important;
  color:#606266!important;
  font-weight:750!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
.yc-element-shell .main-sidebar .nav-icon{
  width:22px!important;
  margin-right:10px!important;
  color:#909399!important;
  font-size:14px;
}
.yc-element-shell .main-sidebar .nav-link:hover{
  color:#409eff!important;
  background:#ecf5ff!important;
}
.yc-element-shell .main-sidebar .nav-link.active{
  color:#409eff!important;
  background:#ecf5ff!important;
  box-shadow:inset 3px 0 0 #409eff!important;
}
.yc-element-shell .main-sidebar .nav-link.active .nav-icon,
.yc-element-shell .main-sidebar .nav-link:hover .nav-icon{
  color:#409eff!important;
}
.yc-element-shell .wrapper.yc-sidebar-collapsed .main-sidebar .nav-link{
  justify-content:center;
  padding:0!important;
}
.yc-element-shell .wrapper.yc-sidebar-collapsed .main-sidebar .nav-icon{
  margin:0!important;
}

.yc-element-shell .main-header,
.yc-element-shell .yc-topbar{
  grid-column:2!important;
  height:64px!important;
  padding:0 22px!important;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:#ffffff!important;
  border-bottom:1px solid #e6ebf2!important;
  box-shadow:0 2px 10px rgba(31,45,61,.03);
  backdrop-filter:none;
}
.yc-topbar-left,
.yc-topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.yc-topbar-right{
  justify-content:flex-end;
}
.yc-icon-button,
.yc-top-admin,
.yc-top-logout,
.yc-top-status,
.yc-status-chip{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 12px;
  border:1px solid #e6ebf2;
  border-radius:8px;
  background:#fff;
  color:#606266;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}
.yc-icon-button{
  width:34px;
  padding:0;
  color:#409eff;
}
.yc-topbar-title{
  display:grid;
  gap:1px;
  color:#1f2d3d;
  line-height:1.15;
}
.yc-topbar-title span{
  font-size:15px;
  font-weight:950;
}
.yc-topbar-title small{
  color:#909399;
  font-size:11px;
  font-weight:750;
}
.yc-top-status{
  border-color:#e1f3d8;
  background:#f0f9eb;
  color:#529b2e;
}
.yc-top-status i{
  font-size:8px;
}
.yc-top-admin{
  color:#409eff;
  background:#ecf5ff;
  border-color:#d9ecff;
}
.yc-top-logout{
  color:#f56c6c;
  background:#fef0f0;
  border-color:#fde2e2;
}

.yc-element-shell .content-wrapper{
  background:#f5f7fb!important;
}
.yc-element-shell .content-header,
.yc-element-shell .yc-page-head{
  padding:20px 24px 0!important;
}
.yc-page-head-card{
  min-height:106px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
  border:1px solid #e6ebf2;
  border-radius:10px;
  background:#fff;
  box-shadow:0 4px 18px rgba(31,45,61,.04);
}
.yc-page-copy{
  min-width:0;
}
.yc-breadcrumb-line{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  color:#909399;
  font-size:13px;
  font-weight:800;
}
.yc-breadcrumb-line a{
  color:#409eff;
}
.yc-breadcrumb-line i{
  font-size:11px;
  color:#c0c4cc;
}
.yc-element-shell .content-header h1{
  margin:0 0 5px!important;
  color:#1f2d3d!important;
  font-size:26px!important;
  font-weight:950!important;
  letter-spacing:0;
}
.yc-page-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.yc-status-chip{
  border-color:#d9ecff;
  background:#ecf5ff;
  color:#409eff;
}
.yc-status-chip-soft{
  border-color:#e6ebf2;
  background:#f7f9fc;
  color:#606266;
}
.yc-element-shell .content{
  padding:18px 24px 34px!important;
}
.yc-element-shell .container-fluid{
  max-width:1500px;
}
.yc-element-shell .main-footer{
  padding:14px 24px;
  border-top:1px solid #e6ebf2;
  background:#fff;
  color:#909399;
}

.yc-element-shell .metric,
.yc-element-shell .card,
.yc-element-shell .protocol-card,
.yc-element-shell .result-card,
.yc-element-shell .db-card{
  border:1px solid #e6ebf2!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 4px 18px rgba(31,45,61,.04)!important;
}
.yc-element-shell .card,
.yc-element-shell .protocol-card{
  padding:20px!important;
}
.yc-element-shell .work-card:before,
.yc-element-shell .metric:after{
  display:none!important;
}
.yc-element-shell .card h3,
.yc-element-shell .panel-title{
  color:#1f2d3d!important;
  letter-spacing:0;
}
.yc-element-shell .card h3{
  font-size:18px!important;
  margin-bottom:14px!important;
}
.yc-element-shell .panel-title{
  font-size:15px;
}
.yc-element-shell .metrics{
  gap:14px!important;
}
.yc-element-shell .metric{
  min-height:112px;
  padding:18px 20px!important;
}
.yc-element-shell .metric span{
  color:#909399!important;
}
.yc-element-shell .metric b{
  font-size:30px!important;
  letter-spacing:0;
}
.yc-element-shell .form-panel,
.yc-element-shell .card-subsection,
.yc-element-shell .protocol-group,
.yc-element-shell .mini-metrics div,
.yc-element-shell .status-grid div,
.yc-element-shell .status-stack div,
.yc-element-shell .info-grid div{
  border:1px solid #e6ebf2!important;
  border-radius:10px!important;
  background:#f8fafc!important;
}

.yc-element-shell input,
.yc-element-shell textarea,
.yc-element-shell select{
  min-height:40px!important;
  padding:9px 12px;
  border:1px solid #dcdfe6!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#303133!important;
  font-weight:650!important;
  box-shadow:none!important;
}
.yc-element-shell input:focus,
.yc-element-shell textarea:focus,
.yc-element-shell select:focus{
  border-color:#409eff!important;
  box-shadow:0 0 0 2px rgba(64,158,255,.12)!important;
}
.yc-element-shell .field label{
  color:#303133!important;
  font-weight:850!important;
}
.yc-element-shell .field small,
.yc-element-shell .muted,
.yc-element-shell .text-muted{
  color:#909399!important;
}
.yc-element-shell button:not(.ios-nav-control):not(.content-module-card){
  min-height:38px!important;
  padding:9px 14px;
  border:1px solid #409eff!important;
  border-radius:6px!important;
  background:#409eff!important;
  color:#fff!important;
  box-shadow:none!important;
  font-weight:850!important;
}
.yc-element-shell button:not(.ios-nav-control):not(.content-module-card):hover{
  background:#66b1ff!important;
  border-color:#66b1ff!important;
  filter:none;
}
.yc-element-shell .btn-muted{
  border-color:#dcdfe6!important;
  background:#fff!important;
  color:#606266!important;
}
.yc-element-shell .btn-muted:hover{
  border-color:#409eff!important;
  background:#ecf5ff!important;
  color:#409eff!important;
}
.yc-element-shell .btn-red{
  border-color:#fbc4c4!important;
  background:#fef0f0!important;
  color:#f56c6c!important;
}
.yc-element-shell .tag{
  min-height:26px;
  padding:4px 9px;
  border-radius:999px!important;
  border-color:#d9ecff!important;
  background:#ecf5ff!important;
  color:#409eff!important;
  font-size:12px!important;
  font-weight:850!important;
}
.yc-element-shell .tag-red{
  border-color:#fde2e2!important;
  background:#fef0f0!important;
  color:#f56c6c!important;
}
.yc-element-shell .tag-muted{
  border-color:#e6ebf2!important;
  background:#f7f9fc!important;
  color:#909399!important;
}
.yc-element-shell .flash,
.yc-element-shell .error-box,
.yc-element-shell .warn{
  border-radius:8px;
  box-shadow:none;
}

.yc-element-shell .table-wrap{
  border:1px solid #e6ebf2!important;
  border-radius:10px!important;
  background:#fff!important;
}
.yc-element-shell table{
  border-collapse:separate!important;
  border-spacing:0;
}
.yc-element-shell th{
  height:44px;
  background:#f5f7fa!important;
  color:#909399!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:0;
  text-transform:none;
}
.yc-element-shell td{
  color:#303133!important;
  font-size:14px!important;
  font-weight:650!important;
}
.yc-element-shell tr:hover td{
  background:#f9fbff!important;
}
.yc-element-shell th,
.yc-element-shell td{
  border-bottom:1px solid #ebeef5!important;
}

.yc-element-shell .file-picker,
.yc-element-shell .file-drop{
  border:1px dashed #c0c4cc;
  border-radius:8px;
  background:#fafcff;
}
.yc-element-shell .file-picker:hover,
.yc-element-shell .file-drop:hover{
  border-color:#409eff;
  background:#ecf5ff;
}
.yc-element-shell .work-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  background:#ecf5ff;
  color:#409eff;
  box-shadow:none;
}
.yc-element-shell .work-icon.green{
  background:#f0f9eb;
  color:#67c23a;
  box-shadow:none;
}
.yc-element-shell .vehicle-admin-hero,
.yc-element-shell .vehicle-location-coordinate,
.yc-element-shell .vehicle-theme-art{
  background:#f8fafc!important;
}
.yc-element-shell .vehicle-theme-tile,
.yc-element-shell .vehicle-group-row,
.yc-element-shell .driver-link,
.yc-element-shell .ios-record-card{
  border:1px solid #e6ebf2;
  border-radius:10px;
  box-shadow:none;
}
.yc-element-shell .yc-image-preview img,
.yc-element-shell .yc-qr-card{
  border-radius:10px;
}

.yc-element-shell .login-panel{
  border-radius:12px;
  box-shadow:0 16px 50px rgba(31,45,61,.12);
}
.yc-element-shell .login-brand{
  background:#1f2d3d;
}
.yc-element-shell .login-brand:after{
  display:none;
}
.yc-element-shell .login-pill{
  border-radius:8px;
}

/* Admin cleanup: compact operation console layouts. */
.user-list,
.admin-account-list{
  display:grid;
  gap:14px;
}
.user-row-card{
  display:grid;
  grid-template-columns:minmax(230px,.78fr) minmax(280px,.9fr) minmax(300px,1fr) minmax(240px,.78fr) minmax(220px,.62fr);
  gap:16px;
  align-items:start;
  padding:16px;
  border:1px solid #e6ebf2;
  border-radius:10px;
  background:#fff;
}
.user-row-identity,
.admin-account-main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.user-row-avatar,
.admin-avatar img,
.admin-avatar span{
  flex:0 0 auto;
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #dcdfe6;
}
.user-row-avatar-empty,
.admin-avatar span{
  display:grid;
  place-items:center;
  background:#ecf5ff;
  color:#409eff;
  font-weight:950;
}
.user-row-identity h4,
.admin-account-main h4{
  margin:3px 0 2px;
  color:#1f2d3d;
  font-size:17px;
  font-weight:950;
  word-break:break-word;
}
.user-row-identity p,
.admin-account-main p{
  margin:0;
  color:#909399;
  font-weight:750;
}
.user-inline-edit{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.user-inline-edit .field,
.admin-account-fields .field{
  margin:0!important;
}
.inline-control{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.user-device-summary{
  display:grid;
  gap:4px;
  min-width:0;
}
.user-device-summary span,
.user-status-summary span{
  color:#909399;
  font-size:12px;
  font-weight:850;
}
.user-device-summary b,
.user-device-summary small{
  overflow-wrap:anywhere;
}
.user-device-summary small{
  color:#7a8799;
  font-size:12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.user-status-summary{
  display:grid;
  gap:10px;
}
.user-status-summary>div{
  min-width:0;
  padding:10px 12px;
  border:1px solid #e6ebf2;
  border-radius:8px;
  background:#f8fafc;
}
.user-status-summary b{
  display:block;
  margin:4px 0;
  color:#1f2d3d;
  overflow-wrap:anywhere;
}
.user-status-summary small{
  color:#909399;
  font-weight:750;
}
.user-row-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-content:flex-start;
}
.user-row-actions button,
.user-row-actions .tag{
  min-height:34px!important;
  padding:7px 10px!important;
}

.mqtt-summary-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.34fr);
  gap:16px;
  align-items:stretch;
}
.mqtt-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.mqtt-summary-card,
.mqtt-side-panel,
.mqtt-note,
.push-service-primary,
.push-rule-list div,
.content-sync-card{
  border:1px solid #e6ebf2;
  border-radius:10px;
  background:#f8fafc;
}
.mqtt-summary-card{
  padding:14px;
  min-width:0;
}
.mqtt-summary-card span,
.push-service-primary span,
.push-payload-preview span{
  display:block;
  color:#909399;
  font-size:12px;
  font-weight:850;
}
.mqtt-summary-card b,
.push-service-primary b{
  display:block;
  margin:6px 0 4px;
  color:#1f2d3d;
  font-size:18px;
  font-weight:950;
  overflow-wrap:anywhere;
}
.mqtt-summary-card small{
  color:#7a8799;
  overflow-wrap:anywhere;
}
.mqtt-side-panel{
  display:grid;
  gap:12px;
  padding:14px;
}
.status-grid.compact{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.mqtt-side-panel .status-grid.compact{
  grid-template-columns:1fr;
}
.mqtt-note{
  padding:12px;
}
.mqtt-note b{
  display:block;
  margin-bottom:4px;
}
.mqtt-stream-window,
.advanced-section{
  margin-top:16px;
  border:1px solid #e6ebf2!important;
  border-radius:10px!important;
  background:#fff!important;
}
.mqtt-stream-window>summary,
.advanced-section>summary{
  cursor:pointer;
  padding:14px 16px;
  color:#1f2d3d;
  font-weight:950;
  list-style:none;
}
.mqtt-stream-window>summary::-webkit-details-marker,
.advanced-section>summary::-webkit-details-marker{
  display:none;
}
.mqtt-stream-window>summary:before,
.advanced-section>summary:before{
  content:"＋";
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  margin-right:8px;
  border-radius:6px;
  background:#ecf5ff;
  color:#409eff;
}
.mqtt-stream-window[open]>summary:before,
.advanced-section[open]>summary:before{
  content:"－";
}
.mqtt-table-wrap{
  max-height:420px;
  overflow:auto!important;
}
.payload-details summary{
  cursor:pointer;
  color:#409eff;
  font-weight:850;
}
.payload-window{
  max-width:520px;
  max-height:180px;
  overflow:auto;
  margin-top:8px;
  padding:10px;
  border:1px solid #e6ebf2;
  border-radius:8px;
  background:#f7f9fc;
}
.mqtt-mini-panel .mini-metrics{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.permission-switch-grid{
  gap:10px!important;
}
.permission-switch{
  min-height:42px;
  display:grid!important;
  grid-template-columns:auto 1fr;
  align-items:center!important;
  gap:9px!important;
  padding:9px 11px;
  border:1px solid #e6ebf2;
  border-radius:8px;
  background:#fff;
}
.permission-switch input{
  position:absolute;
  width:1px!important;
  height:1px!important;
  min-height:1px!important;
  opacity:0;
  pointer-events:none;
}
.permission-switch span{
  position:relative;
  width:34px;
  height:20px;
  border-radius:999px;
  background:#dcdfe6;
  transition:background .16s ease;
}
.permission-switch span:after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:14px;
  height:14px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 1px 4px rgba(31,45,61,.22);
  transition:left .16s ease;
}
.permission-switch input:checked+span{
  background:#409eff;
}
.permission-switch input:checked+span:after{
  left:17px;
}
.permission-switch b{
  color:#303133;
  font-size:13px;
  font-weight:850;
  line-height:1.35;
}
.admin-account-card{
  display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(320px,1.05fr) minmax(360px,1.1fr) minmax(170px,.42fr);
  gap:16px;
  align-items:start;
  padding:16px;
  border:1px solid #e6ebf2;
  border-radius:10px;
  background:#fff;
}
.admin-account-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.admin-permission-panel{
  min-width:0;
}
.admin-account-actions{
  display:grid;
  gap:10px;
  justify-items:start;
}
.admin-delete-form{
  margin:-6px 0 12px;
  padding-left:16px;
}

.push-service-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.46fr);
  gap:16px;
}
.push-service-primary{
  padding:18px;
}
.push-service-primary b{
  font-size:24px;
}
.push-rule-list{
  display:grid;
  gap:10px;
  margin-bottom:14px;
}
.push-rule-list div{
  display:grid;
  grid-template-columns:34px minmax(0,.5fr) minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:12px;
}
.push-rule-list i{
  color:#409eff;
}
.push-rule-list span{
  color:#909399;
  font-size:12px;
  font-weight:850;
}
.push-rule-list b{
  overflow-wrap:anywhere;
}
.push-payload-preview{
  margin:12px 0 16px;
  padding:12px;
  border:1px solid #e6ebf2;
  border-radius:8px;
  background:#f8fafc;
}
.advanced-section{
  padding:0!important;
}
.advanced-inner{
  padding:0 16px 16px;
}
.advanced-section .form-panel{
  margin:0!important;
}
.compact-table{
  min-width:780px;
}
.compact-table th,
.compact-table td{
  padding:10px 9px;
}
.compact-table-wrap{
  max-height:560px;
  overflow:auto!important;
}

.content-console-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.32fr);
  gap:18px;
  align-items:start;
}
.content-editor-main{
  display:grid;
  gap:14px;
}
.html-editor-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,.34fr);
  gap:14px;
}
.html-editor-help{
  padding:14px;
  border:1px solid #e6ebf2;
  border-radius:10px;
  background:#fff;
}
.html-editor-help b{
  display:block;
  margin-bottom:6px;
}
.html-editor-help .tag{
  margin:4px 4px 0 0;
}
.content-sync-panel{
  position:sticky;
  top:84px;
  display:grid;
  gap:12px;
}
.content-sync-card{
  padding:14px;
}
.content-sync-card i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  margin-bottom:9px;
  border-radius:8px;
  background:#ecf5ff;
  color:#409eff;
}
.content-sync-card b{
  display:block;
  margin-bottom:4px;
}

@media (max-width:991px){
  .yc-element-shell .wrapper{
    grid-template-columns:1fr!important;
  }
  .yc-element-shell .main-sidebar{
    position:relative!important;
    height:auto!important;
    min-height:auto!important;
  }
  .yc-element-shell .main-header,
  .yc-element-shell .yc-topbar,
  .yc-element-shell .content-wrapper,
  .yc-element-shell .main-footer{
    grid-column:1!important;
  }
  .yc-element-shell .yc-topbar{
    flex-wrap:wrap;
    height:auto!important;
    min-height:64px;
    padding:12px 16px!important;
  }
  .yc-element-shell .yc-topbar-right{
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:2px;
  }
  .yc-element-shell .content-header,
  .yc-element-shell .yc-page-head,
  .yc-element-shell .content{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .yc-page-head-card{
    align-items:flex-start;
    flex-direction:column;
  }
  .yc-page-actions{
    justify-content:flex-start;
  }
  .user-row-card,
  .admin-account-card,
  .mqtt-summary-layout,
  .mqtt-summary-grid,
  .push-service-layout,
  .content-console-layout,
  .html-editor-shell{
    grid-template-columns:1fr!important;
  }
  .content-sync-panel{
    position:static;
  }
}

/* 20260618 final admin override - keep this block at the end. */
body.yc-element-shell{background:#eef3f8!important;color:#111827!important;}
body.yc-element-shell .wrapper{grid-template-columns:260px minmax(0,1fr)!important;background:#eef3f8!important;}
body.yc-element-shell .main-sidebar{background:#111827!important;border-right:0!important;box-shadow:8px 0 28px rgba(15,23,42,.16)!important;}
body.yc-element-shell .brand-link{height:76px!important;margin:14px!important;padding:13px 14px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:14px!important;background:#172033!important;color:#fff!important;box-shadow:none!important;}
body.yc-element-shell .yc-brand-mark{background:linear-gradient(135deg,#38bdf8,#2563eb)!important;border-radius:12px!important;}
body.yc-element-shell .brand-text,body.yc-element-shell .brand-text b{color:#fff!important;}body.yc-element-shell .brand-text small{color:#94a3b8!important;}
body.yc-element-shell .nav-sidebar>.nav-header{color:#64748b!important;margin:18px 18px 8px!important;font-size:12px!important;letter-spacing:.08em!important;}
body.yc-element-shell .main-sidebar .nav-link{min-height:42px!important;margin:4px 10px!important;padding:0 13px!important;border-radius:10px!important;color:#cbd5e1!important;font-weight:850!important;}
body.yc-element-shell .main-sidebar .nav-icon{color:#94a3b8!important;}body.yc-element-shell .main-sidebar .nav-link:hover{color:#fff!important;background:rgba(59,130,246,.18)!important;}
body.yc-element-shell .main-sidebar .nav-link.active{color:#fff!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;box-shadow:0 10px 24px rgba(37,99,235,.28)!important;}
body.yc-element-shell .main-sidebar .nav-link.active .nav-icon,body.yc-element-shell .main-sidebar .nav-link:hover .nav-icon{color:#fff!important;}
body.yc-element-shell .yc-topbar{height:66px!important;background:#fff!important;border-bottom:1px solid #dfe7f1!important;box-shadow:0 8px 24px rgba(15,23,42,.05)!important;}
body.yc-element-shell .yc-page-head{padding:22px 26px 0!important;}body.yc-element-shell .content{padding:18px 26px 40px!important;}body.yc-element-shell .container-fluid{max-width:1680px!important;}
body.yc-element-shell .yc-page-head-card{min-height:118px!important;border:1px solid #dfe7f1!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(6,182,212,.06) 42%,rgba(255,255,255,.98) 43%),#fff!important;box-shadow:0 12px 32px rgba(15,23,42,.06)!important;}
body.yc-element-shell .card,body.yc-element-shell .protocol-card,body.yc-element-shell .result-card{border:1px solid #dfe7f1!important;border-radius:14px!important;box-shadow:0 12px 30px rgba(15,23,42,.055)!important;}
body.yc-element-shell .work-card:before{display:block!important;height:3px!important;background:linear-gradient(90deg,#2563eb,#06b6d4,#22c55e)!important;}
body.yc-element-shell input,body.yc-element-shell textarea,body.yc-element-shell select{min-height:38px!important;border-radius:9px!important;border-color:#d7e0eb!important;font-size:14px!important;font-weight:700!important;}
body.yc-element-shell .table-wrap{border-radius:14px!important;border-color:#dfe7f1!important;}body.yc-element-shell th{background:#eef3f8!important;color:#667085!important;}
.yc-admin-hero{display:grid!important;grid-template-columns:minmax(0,1fr) repeat(3,minmax(150px,210px));gap:14px;margin-bottom:18px;}
.yc-admin-hero-main,.yc-admin-hero-stat{border:1px solid #dfe7f1;border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.055);}
.yc-admin-hero-main{padding:20px 22px;background:linear-gradient(135deg,#111827,#1d4ed8 62%,#06b6d4);color:#fff;}.yc-admin-hero-main h2{margin:0 0 8px;font-size:26px;font-weight:950;}.yc-admin-hero-main p{margin:0;color:#dbeafe;line-height:1.7;}
.yc-admin-hero-stat{display:grid;align-content:center;gap:5px;padding:16px;}.yc-admin-hero-stat span{color:#667085;font-size:12px;font-weight:900;}.yc-admin-hero-stat b{color:#111827;font-size:28px;font-weight:950;}
.ops-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;}.ops-section-title h3{margin:0!important;}.ops-section-title p{margin:4px 0 0;}
.user-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(420px,1fr))!important;gap:16px!important;}.user-row-card{position:relative!important;display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding:18px!important;border:1px solid #dfe7f1!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 26px rgba(15,23,42,.05)!important;}.user-row-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:16px 0 0 16px;background:linear-gradient(180deg,#2563eb,#06b6d4);}.user-row-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}.user-row-avatar{width:58px!important;height:58px!important;}.user-inline-edit{grid-template-columns:1fr 1fr!important;padding:12px;border:1px solid #edf2f7;border-radius:12px;background:#f8fafc;}.user-device-summary{padding:12px;border:1px solid #edf2f7;border-radius:12px;background:#fbfdff;}.user-status-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;}.user-row-actions{padding-top:2px;border-top:1px dashed #e1e8f2;}
.user-detail-head{display:flex;align-items:center;gap:16px;margin-bottom:18px;}.user-detail-avatar{width:82px;height:82px;border-radius:50%;object-fit:cover;border:1px solid #d7e0eb;}.user-detail-avatar-empty{display:grid;place-items:center;background:#ecf5ff;color:#2563eb;font-weight:950;}
.mqtt-summary-layout{grid-template-columns:minmax(0,1.15fr) minmax(330px,.55fr)!important;}.mqtt-summary-card{border-radius:14px!important;background:#fff!important;box-shadow:0 8px 20px rgba(15,23,42,.035);}.mqtt-side-panel{border-radius:14px!important;background:#f1f7ff!important;}.payload-window{max-height:150px!important;background:#0f172a!important;color:#dbeafe!important;}
.admin-account-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(520px,1fr))!important;gap:16px!important;}.admin-account-card{grid-template-columns:1fr!important;border-radius:16px!important;box-shadow:0 10px 26px rgba(15,23,42,.05);}.admin-account-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:12px;border:1px solid #edf2f7;border-radius:12px;background:#f8fafc;}.admin-permission-panel{padding:12px;border:1px solid #edf2f7;border-radius:12px;}.permission-switch{border-radius:10px!important;}
.push-service-layout,.content-console-layout{grid-template-columns:minmax(0,1.2fr) minmax(320px,.48fr)!important;}.push-service-primary,.content-sync-card,.push-rule-list div{border-radius:14px!important;background:#fff!important;}.push-service-primary{background:linear-gradient(135deg,#eff6ff,#fff)!important;}.html-editor-shell{grid-template-columns:minmax(0,1fr) minmax(260px,.36fr)!important;}.html-editor{min-height:250px!important;}
@media (max-width:1280px){.yc-admin-hero,.mqtt-summary-layout,.push-service-layout,.content-console-layout,.html-editor-shell{grid-template-columns:1fr!important;}.admin-account-fields,.user-inline-edit,.user-status-summary{grid-template-columns:1fr!important;}}
@media (max-width:991px){body.yc-element-shell .wrapper{grid-template-columns:1fr!important;}.user-list,.admin-account-list{grid-template-columns:1fr!important;}}

/* 20260618 clean admin override - concise manager UI. */
body.yc-element-shell{background:#f3f5f8!important;color:#1f2937!important;}
body.yc-element-shell .wrapper{grid-template-columns:248px minmax(0,1fr)!important;background:#f3f5f8!important;}
body.yc-element-shell .main-sidebar{background:#ffffff!important;border-right:1px solid #e5e7eb!important;box-shadow:none!important;}
body.yc-element-shell .brand-link{height:64px!important;margin:12px!important;padding:10px 12px!important;border:1px solid #e5e7eb!important;border-radius:10px!important;background:#fff!important;color:#111827!important;}
body.yc-element-shell .yc-brand-mark{background:#2563eb!important;border-radius:8px!important;}
body.yc-element-shell .brand-text,body.yc-element-shell .brand-text b{color:#111827!important;}body.yc-element-shell .brand-text small{color:#6b7280!important;}
body.yc-element-shell .nav-sidebar>.nav-header{margin:18px 14px 7px!important;color:#9ca3af!important;font-size:12px!important;font-weight:800!important;letter-spacing:0!important;}
body.yc-element-shell .main-sidebar .nav-link{min-height:38px!important;margin:3px 8px!important;padding:0 11px!important;border-radius:8px!important;color:#4b5563!important;background:transparent!important;box-shadow:none!important;font-weight:750!important;}
body.yc-element-shell .main-sidebar .nav-icon{color:#9ca3af!important;}body.yc-element-shell .main-sidebar .nav-link:hover{color:#2563eb!important;background:#eff6ff!important;}
body.yc-element-shell .main-sidebar .nav-link.active{color:#2563eb!important;background:#eff6ff!important;box-shadow:inset 3px 0 0 #2563eb!important;}
body.yc-element-shell .main-sidebar .nav-link.active .nav-icon,body.yc-element-shell .main-sidebar .nav-link:hover .nav-icon{color:#2563eb!important;}
body.yc-element-shell .yc-topbar{height:58px!important;background:#fff!important;border-bottom:1px solid #e5e7eb!important;box-shadow:none!important;}
body.yc-element-shell .yc-page-head{padding:16px 22px 0!important;}body.yc-element-shell .content{padding:14px 22px 34px!important;}body.yc-element-shell .container-fluid{max-width:1540px!important;}
body.yc-element-shell .yc-page-head-card{min-height:auto!important;padding:14px 16px!important;border:1px solid #e5e7eb!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;}
body.yc-element-shell .yc-page-head-card h1{font-size:22px!important;margin:0!important;}body.yc-element-shell .yc-page-actions{display:none!important;}
body.yc-element-shell .card,body.yc-element-shell .protocol-card,body.yc-element-shell .result-card{border:1px solid #e5e7eb!important;border-radius:10px!important;box-shadow:none!important;background:#fff!important;padding:18px!important;}
body.yc-element-shell .card h3{font-size:18px!important;margin-bottom:12px!important;}body.yc-element-shell .work-card:before{display:none!important;}
body.yc-element-shell .work-icon{width:34px!important;height:34px!important;border-radius:8px!important;background:#eff6ff!important;color:#2563eb!important;}
body.yc-element-shell .muted,body.yc-element-shell .text-muted,body.yc-element-shell small{color:#6b7280!important;font-size:12px!important;line-height:1.5!important;}
body.yc-element-shell .work-card-head p,body.yc-element-shell .card-header-inline p,body.yc-element-shell .ops-section-title p,body.yc-element-shell .field small{display:none!important;}
body.yc-element-shell .form-panel,body.yc-element-shell .admin-form-section{border:1px solid #e5e7eb!important;border-radius:10px!important;background:#fafafa!important;padding:14px!important;margin:0 0 14px!important;}
body.yc-element-shell input,body.yc-element-shell textarea,body.yc-element-shell select{min-height:36px!important;border-radius:7px!important;border-color:#d1d5db!important;font-size:14px!important;font-weight:650!important;}
body.yc-element-shell button:not(.ios-nav-control):not(.content-module-card){min-height:36px!important;border-radius:7px!important;font-size:14px!important;box-shadow:none!important;background:#2563eb!important;border-color:#2563eb!important;}
body.yc-element-shell .btn-muted{background:#fff!important;color:#374151!important;border-color:#d1d5db!important;}body.yc-element-shell .btn-red{background:#fff1f2!important;color:#e11d48!important;border-color:#fecdd3!important;}
body.yc-element-shell .tag{min-height:24px!important;padding:3px 8px!important;border-radius:999px!important;background:#eff6ff!important;color:#2563eb!important;border-color:#bfdbfe!important;font-size:12px!important;}
body.yc-element-shell .tag-red{background:#fff1f2!important;color:#e11d48!important;border-color:#fecdd3!important;}
.yc-admin-hero{display:none!important;}
.admin-clean-page{padding:0!important;overflow:hidden!important;}.admin-clean-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e5e7eb;background:#fff;}.admin-clean-head h3{margin:0!important;font-size:18px!important;}.admin-clean-head span{display:block;margin-top:4px;color:#6b7280;font-size:12px;font-weight:700;}
.admin-form-section{padding:16px 18px!important;border:0!important;border-bottom:1px solid #e5e7eb!important;border-radius:0!important;background:#fff!important;margin:0!important;}.admin-form-section h4{margin:0 0 12px;color:#111827;font-size:15px;font-weight:900;}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;}.admin-form-section .field{margin:0!important;}.admin-form-section textarea.html-editor{min-height:220px!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px!important;}
.admin-section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.admin-section-title-row h4{margin:0!important}.admin-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.login-bubble-list{display:grid;gap:10px}.login-bubble-editor{display:grid;grid-template-columns:minmax(220px,.55fr) minmax(320px,1fr) auto;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;padding:12px}.login-bubble-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.login-card-preview{display:flex;align-items:center;gap:10px;margin:0}.login-card-preview img,.login-card-preview span{width:46px;height:46px;border-radius:50%;object-fit:cover;border:1px solid #dbe3ef;background:linear-gradient(135deg,#eff6ff,#fdf2f8);display:grid;place-items:center;color:#2563eb;font-weight:950}.login-card-preview b{display:block;color:#111827;font-size:14px}.login-card-preview em{display:block;color:#6b7280;font-size:12px;font-style:normal;line-height:1.35}.login-card-options{display:flex;gap:10px;align-items:center;justify-content:flex-end;color:#374151;font-size:13px;font-weight:800;white-space:nowrap}.login-card-options input{min-height:auto!important}.login-bubble-add{display:inline-flex;align-items:center;gap:7px}.login-bubble-remove{display:inline-flex;align-items:center;gap:7px;margin-left:4px}.iot-account-list{display:grid;gap:10px}.iot-account-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:10px 12px;align-items:end;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;padding:12px}.iot-account-row .field-span-2{grid-column:span 2}.iot-account-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap;font-size:13px;font-weight:800;color:#374151}.iot-account-actions input{min-height:auto!important}
.content-console-layout,.content-editor-main,.html-editor-shell{display:block!important;}.content-sync-panel,.html-editor-help{display:none!important;}
.user-list{grid-template-columns:1fr!important;gap:10px!important;}.user-row-card{display:grid!important;grid-template-columns:minmax(220px,.75fr) minmax(260px,.9fr) minmax(280px,1fr) minmax(220px,.7fr) minmax(220px,.65fr)!important;gap:12px!important;padding:14px!important;border-radius:10px!important;box-shadow:none!important;}.user-row-card:before{display:none!important;}.user-row-topline{display:block!important;}.user-row-avatar{width:44px!important;height:44px!important;}.user-row-identity h4{font-size:16px!important;}.user-inline-edit{grid-template-columns:1fr!important;padding:0!important;border:0!important;background:transparent!important;}.user-device-summary{padding:0!important;border:0!important;background:transparent!important;}.user-status-summary{grid-template-columns:1fr!important;gap:6px!important;}.user-status-summary>div{padding:8px!important;border-radius:8px!important;}.user-row-actions{border-top:0!important;padding-top:0!important;}
.admin-account-list{grid-template-columns:1fr!important;gap:10px!important;}.admin-account-card{display:grid!important;grid-template-columns:minmax(220px,.65fr) minmax(360px,1fr) minmax(360px,1fr) minmax(160px,.35fr)!important;gap:12px!important;border-radius:10px!important;box-shadow:none!important;}.admin-account-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:0!important;border:0!important;background:transparent!important;}.admin-permission-panel{padding:0!important;border:0!important;}.permission-switch{min-height:34px!important;padding:6px 8px!important;}
@media (max-width:1280px){.user-row-card,.admin-account-card,.admin-form-grid{grid-template-columns:1fr!important;}}

/* 20260619 Application DIY fixes. */
.app-diy-art.has-bg{
  background:
    linear-gradient(90deg,rgba(255,255,255,.68),rgba(255,255,255,.18)),
    var(--vehicle-theme-bg) center/cover no-repeat!important;
}
.app-diy-art.has-bg:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.18),transparent 46%);
}
.app-diy-art.has-bg img,
.app-diy-art.has-bg span{
  position:relative;
  z-index:1;
}
body.yc-element-shell .user-list{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(520px,1fr))!important;
  gap:14px!important;
}
body.yc-element-shell .user-row-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding:16px!important;
  border:1px solid #dfe7f1!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.yc-element-shell .user-row-card:before{
  display:none!important;
}
body.yc-element-shell .user-row-topline{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.yc-element-shell .user-row-avatar{
  width:52px!important;
  height:52px!important;
}
body.yc-element-shell .user-inline-edit{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  padding:12px!important;
  border:1px solid #edf2f7!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}
body.yc-element-shell .user-group-picker{
  display:grid!important;
  gap:8px!important;
}
body.yc-element-shell .user-group-picker input{
  background:#fff!important;
}
body.yc-element-shell .user-device-summary{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:6px 12px!important;
  padding:12px!important;
  border:1px solid #edf2f7!important;
  border-radius:12px!important;
  background:#fbfdff!important;
}
body.yc-element-shell .user-device-summary small{
  grid-column:1 / -1;
}
body.yc-element-shell .user-status-summary{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
body.yc-element-shell .user-status-summary>div{
  padding:10px!important;
  border:1px solid #edf2f7!important;
  border-radius:12px!important;
  background:#fbfdff!important;
}
body.yc-element-shell .user-row-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
  padding-top:10px!important;
  border-top:1px dashed #e1e8f2!important;
}
body.yc-element-shell .firmware-target-panel{
  margin:14px 0!important;
  padding:14px!important;
  border:1px solid #e4ebf5!important;
  border-radius:14px!important;
  background:#f8fbff!important;
}
body.yc-element-shell .firmware-target-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
body.yc-element-shell .firmware-user-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin:2px 0 8px;
}
body.yc-element-shell .firmware-user-checklist{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:8px;
  max-height:310px;
  overflow:auto;
  padding:8px;
  border:1px solid #dbe5f1;
  border-radius:14px;
  background:#fff;
}
body.yc-element-shell .firmware-user-checklist-compact{
  grid-template-columns:1fr;
  max-height:240px;
}
body.yc-element-shell .firmware-user-option{
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  gap:8px;
  align-items:start;
  min-height:58px;
  margin:0;
  padding:9px 10px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#f8fafc;
  cursor:pointer;
}
body.yc-element-shell .firmware-user-option input{
  width:16px;
  height:16px;
  min-height:0!important;
  margin-top:3px;
}
body.yc-element-shell .firmware-user-option b{
  display:block;
  overflow:hidden;
  color:#111827;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.yc-element-shell .firmware-user-option small{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:12px;
  line-height:1.35;
}
body.yc-element-shell .firmware-user-option.is-selected{
  border-color:#60a5fa;
  background:#eff6ff;
  box-shadow:0 0 0 2px rgba(37,99,235,.10);
}
body.yc-element-shell .firmware-target-preview{
  max-width:260px;
  margin-top:6px;
  line-height:1.5;
}
body.yc-element-shell .firmware-target-edit{
  margin-top:8px;
}
body.yc-element-shell .firmware-target-edit summary{
  cursor:pointer;
  color:#2563eb;
  font-size:12px;
  font-weight:900;
}
body.yc-element-shell .firmware-target-edit form{
  display:grid;
  gap:8px;
  min-width:260px;
  margin-top:8px;
  padding:10px;
  border:1px solid #e4ebf5;
  border-radius:12px;
  background:#fff;
}
body.yc-element-shell .user-groups-card{
  margin-bottom:14px!important;
}
body.yc-element-shell .user-group-create{
  display:grid;
  grid-template-columns:minmax(280px,1fr) 120px auto;
  gap:10px;
  align-items:end;
  margin-bottom:12px;
  padding:12px;
  border:1px solid #edf2f7;
  border-radius:12px;
  background:#f8fafc;
}
body.yc-element-shell .user-group-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(380px,1fr));
  gap:10px;
}
body.yc-element-shell .user-group-card{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  align-items:stretch;
  padding:14px;
  border:1px solid #edf2f7;
  border-radius:12px;
  background:#fff;
}
body.yc-element-shell .user-group-card form{
  margin:0!important;
}
body.yc-element-shell .user-group-card>form:not(.user-group-edit){
  justify-self:end;
}
body.yc-element-shell .user-group-summary b{
  display:block;
  color:#111827;
  font-size:15px;
  font-weight:950;
}
body.yc-element-shell .user-group-summary span{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
body.yc-element-shell .user-group-edit{
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px auto;
  gap:8px;
  align-items:center;
}
body.yc-element-shell .user-group-edit input{
  min-width:0;
}
body.yc-element-shell .user-group-edit button,
body.yc-element-shell .user-group-card>form:not(.user-group-edit) button{
  min-width:74px;
  white-space:nowrap;
}
body.yc-element-shell .user-group-card button:disabled{
  cursor:not-allowed;
  opacity:.45;
}
body.yc-element-shell .mini-program-tag{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:6px;
  color:#0369a1!important;
  border-color:#bae6fd!important;
  background:#e0f2fe!important;
}
body.yc-element-shell .client-login-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
}
body.yc-element-shell .client-online-tag{
  display:inline-flex;
  align-items:center;
  width:max-content;
  color:#047857!important;
  border-color:#bbf7d0!important;
  background:#dcfce7!important;
}
body.yc-element-shell .iot-account-list{
  display:grid!important;
  gap:12px!important;
}
body.yc-element-shell .iot-account-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 16px!important;
  align-items:end!important;
  padding:16px!important;
  border:1px solid #e5e7eb!important;
  border-radius:14px!important;
  background:#fbfdff!important;
}
body.yc-element-shell .iot-account-row .field{
  margin:0!important;
  min-width:0!important;
}
body.yc-element-shell .iot-account-row .field-span-2,
body.yc-element-shell .iot-account-actions{
  grid-column:1 / -1!important;
}
body.yc-element-shell .iot-account-row textarea{
  min-height:82px!important;
  resize:vertical;
}
body.yc-element-shell .iot-account-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  padding-top:2px!important;
}
body.yc-element-shell .iot-account-actions label{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:36px!important;
  padding:0 10px!important;
  border:1px solid #dbeafe!important;
  border-radius:9px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.yc-element-shell .iot-account-actions input[type="checkbox"]{
  width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:0!important;
  accent-color:#2563eb;
}
body.yc-element-shell .iot-account-submit{
  display:flex!important;
  justify-content:flex-end!important;
  margin-top:14px!important;
}
@media (max-width:720px){
  body.yc-element-shell .user-list,
  body.yc-element-shell .user-inline-edit,
  body.yc-element-shell .user-status-summary,
  body.yc-element-shell .user-group-create,
  body.yc-element-shell .user-group-card,
  body.yc-element-shell .user-group-edit,
  body.yc-element-shell .iot-account-row{
    grid-template-columns:1fr!important;
  }
}

/* 20260707 admin layout polish. UI/layout only; form fields and actions stay untouched. */
body.yc-element-shell{
  --yc-ui-bg:#f4f6fa;
  --yc-ui-card:#ffffff;
  --yc-ui-panel:#f8fafc;
  --yc-ui-line:#e2e8f0;
  --yc-ui-line-strong:#cbd5e1;
  --yc-ui-text:#111827;
  --yc-ui-muted:#64748b;
  --yc-ui-primary:#2563eb;
  --yc-ui-primary-soft:#eff6ff;
  --yc-ui-danger:#e11d48;
  --yc-ui-danger-soft:#fff1f2;
  --yc-ui-success:#059669;
  --yc-ui-success-soft:#ecfdf5;
  background:var(--yc-ui-bg)!important;
  color:var(--yc-ui-text)!important;
  font-size:14px;
}

body.yc-element-shell .wrapper{
  grid-template-columns:248px minmax(0,1fr)!important;
  background:var(--yc-ui-bg)!important;
}

body.yc-element-shell .main-sidebar{
  background:#fff!important;
  border-right:1px solid var(--yc-ui-line)!important;
  box-shadow:none!important;
}

body.yc-element-shell .brand-link{
  height:62px!important;
  margin:12px!important;
  padding:10px 12px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--yc-ui-text)!important;
  box-shadow:none!important;
}

body.yc-element-shell .yc-brand-mark{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  background:var(--yc-ui-primary)!important;
}

body.yc-element-shell .brand-text,
body.yc-element-shell .brand-text b{
  color:var(--yc-ui-text)!important;
}

body.yc-element-shell .brand-text small{
  color:var(--yc-ui-muted)!important;
}

body.yc-element-shell .sidebar{
  height:calc(100vh - 86px)!important;
  padding:6px 10px 72px!important;
}

body.yc-element-shell .nav-sidebar>.nav-header{
  margin:16px 12px 7px!important;
  color:#94a3b8!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:0!important;
}

body.yc-element-shell .main-sidebar .nav-link{
  min-height:38px!important;
  margin:3px 0!important;
  padding:0 12px!important;
  border-radius:9px!important;
  color:#475569!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}

body.yc-element-shell .main-sidebar .nav-icon{
  width:22px!important;
  margin-right:9px!important;
  color:#94a3b8!important;
}

body.yc-element-shell .main-sidebar .nav-link:hover,
body.yc-element-shell .main-sidebar .nav-link.active{
  color:var(--yc-ui-primary)!important;
  background:var(--yc-ui-primary-soft)!important;
  box-shadow:inset 3px 0 0 var(--yc-ui-primary)!important;
}

body.yc-element-shell .main-sidebar .nav-link:hover .nav-icon,
body.yc-element-shell .main-sidebar .nav-link.active .nav-icon{
  color:var(--yc-ui-primary)!important;
}

body.yc-element-shell .yc-topbar{
  height:58px!important;
  padding:0 20px!important;
  background:#fff!important;
  border-bottom:1px solid var(--yc-ui-line)!important;
  box-shadow:none!important;
}

body.yc-element-shell .yc-icon-button,
body.yc-element-shell .yc-top-admin,
body.yc-element-shell .yc-top-logout,
body.yc-element-shell .yc-top-status,
body.yc-element-shell .yc-status-chip{
  min-height:32px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  border:1px solid var(--yc-ui-line)!important;
  background:#fff!important;
  color:#475569!important;
  font-size:13px!important;
  font-weight:800!important;
}

body.yc-element-shell .yc-icon-button{
  width:32px!important;
  color:var(--yc-ui-primary)!important;
}

body.yc-element-shell .yc-top-status{
  background:var(--yc-ui-success-soft)!important;
  border-color:#bbf7d0!important;
  color:var(--yc-ui-success)!important;
}

body.yc-element-shell .yc-top-admin{
  background:var(--yc-ui-primary-soft)!important;
  border-color:#bfdbfe!important;
  color:var(--yc-ui-primary)!important;
}

body.yc-element-shell .yc-top-logout{
  background:var(--yc-ui-danger-soft)!important;
  border-color:#fecdd3!important;
  color:var(--yc-ui-danger)!important;
}

body.yc-element-shell .yc-page-head{
  padding:16px 22px 0!important;
}

body.yc-element-shell .content{
  padding:14px 22px 34px!important;
}

body.yc-element-shell .container-fluid{
  max-width:1560px!important;
}

body.yc-element-shell .yc-page-head-card{
  min-height:auto!important;
  padding:14px 16px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .yc-page-head-card h1{
  margin:0!important;
  color:var(--yc-ui-text)!important;
  font-size:22px!important;
  font-weight:900!important;
  letter-spacing:0!important;
}

body.yc-element-shell .yc-breadcrumb-line{
  margin-bottom:6px!important;
  color:var(--yc-ui-muted)!important;
}

body.yc-element-shell .yc-page-actions{
  display:none!important;
}

body.yc-element-shell .card,
body.yc-element-shell .work-card,
body.yc-element-shell .protocol-card,
body.yc-element-shell .result-card,
body.yc-element-shell .db-card{
  margin-bottom:16px!important;
  padding:18px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:var(--yc-ui-card)!important;
  box-shadow:none!important;
}

body.yc-element-shell .work-card:before,
body.yc-element-shell .metric:after{
  display:none!important;
}

body.yc-element-shell .card h3,
body.yc-element-shell .work-card-head h3,
body.yc-element-shell .panel-title,
body.yc-element-shell .admin-form-section h4{
  margin:0!important;
  color:var(--yc-ui-text)!important;
  font-size:17px!important;
  font-weight:900!important;
  letter-spacing:0!important;
}

body.yc-element-shell .work-card-head,
body.yc-element-shell .card-header-inline,
body.yc-element-shell .ops-section-title,
body.yc-element-shell .admin-clean-head,
body.yc-element-shell .admin-section-title-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

body.yc-element-shell .work-card-head p,
body.yc-element-shell .card-header-inline p,
body.yc-element-shell .ops-section-title p,
body.yc-element-shell .admin-clean-head span{
  display:none!important;
}

body.yc-element-shell .work-icon{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  background:var(--yc-ui-primary-soft)!important;
  color:var(--yc-ui-primary)!important;
  box-shadow:none!important;
}

body.yc-element-shell .form-panel,
body.yc-element-shell .admin-form-section,
body.yc-element-shell .card-subsection,
body.yc-element-shell .protocol-group,
body.yc-element-shell .firmware-target-panel,
body.yc-element-shell .advanced-inner{
  margin:0 0 14px!important;
  padding:14px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:var(--yc-ui-panel)!important;
  box-shadow:none!important;
}

body.yc-element-shell .admin-clean-page{
  padding:18px!important;
  overflow:visible!important;
}

body.yc-element-shell .admin-form-section{
  border-bottom:1px solid var(--yc-ui-line)!important;
}

body.yc-element-shell .grid,
body.yc-element-shell .grid-balanced{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr))!important;
  gap:16px!important;
  align-items:start!important;
}

body.yc-element-shell .form-grid,
body.yc-element-shell .admin-form-grid,
body.yc-element-shell .compact-form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 14px!important;
}

body.yc-element-shell .field-span-2{
  grid-column:1 / -1!important;
}

body.yc-element-shell .field{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  margin:0!important;
}

body.yc-element-shell .field label{
  display:block!important;
  min-height:18px!important;
  margin:0!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.35!important;
}

body.yc-element-shell .field small,
body.yc-element-shell .muted,
body.yc-element-shell .text-muted{
  color:var(--yc-ui-muted)!important;
  font-size:12px!important;
  line-height:1.5!important;
}

body.yc-element-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.yc-element-shell textarea,
body.yc-element-shell select{
  width:100%!important;
  min-height:40px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:1px solid var(--yc-ui-line-strong)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:var(--yc-ui-text)!important;
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.35!important;
  box-shadow:none!important;
  outline:none!important;
}

body.yc-element-shell textarea{
  min-height:96px!important;
  resize:vertical!important;
}

body.yc-element-shell select{
  padding-right:34px!important;
  appearance:none!important;
  background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%)!important;
  background-position:calc(100% - 17px) 17px,calc(100% - 12px) 17px!important;
  background-size:5px 5px,5px 5px!important;
  background-repeat:no-repeat!important;
}

body.yc-element-shell input:focus,
body.yc-element-shell textarea:focus,
body.yc-element-shell select:focus{
  border-color:var(--yc-ui-primary)!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.12)!important;
}

body.yc-element-shell input[readonly],
body.yc-element-shell textarea[readonly],
body.yc-element-shell select:disabled,
body.yc-element-shell input:disabled,
body.yc-element-shell textarea:disabled{
  background:#f1f5f9!important;
  color:#64748b!important;
  cursor:not-allowed!important;
}

body.yc-element-shell input[type="hidden"]{
  display:none!important;
}

body.yc-element-shell input[type="checkbox"],
body.yc-element-shell input[type="radio"]{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  margin:0!important;
  padding:0!important;
  accent-color:var(--yc-ui-primary)!important;
  box-shadow:none!important;
}

body.yc-element-shell input[type="file"]:not(.yc-file-input){
  padding:7px!important;
}

body.yc-element-shell .file-picker{
  position:relative!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  padding:0 12px!important;
  border:1px dashed var(--yc-ui-line-strong)!important;
  border-radius:10px!important;
  background:#fff!important;
  overflow:hidden!important;
}

body.yc-element-shell .file-picker:hover{
  border-color:var(--yc-ui-primary)!important;
  background:var(--yc-ui-primary-soft)!important;
}

body.yc-element-shell .file-picker input[type="file"]{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  cursor:pointer!important;
}

body.yc-element-shell .file-picker span,
body.yc-element-shell .yc-file-name{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#475569!important;
  font-size:13px!important;
  font-weight:850!important;
  pointer-events:none!important;
}

body.yc-element-shell button,
body.yc-element-shell .button,
body.yc-element-shell a.btn-muted,
body.yc-element-shell a.btn-red{
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:8px 13px!important;
  border:1px solid var(--yc-ui-primary)!important;
  border-radius:8px!important;
  background:var(--yc-ui-primary)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1!important;
  text-align:center!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}

body.yc-element-shell button:hover{
  filter:brightness(1.03)!important;
}

body.yc-element-shell .btn-muted,
body.yc-element-shell button.btn-muted{
  border-color:var(--yc-ui-line-strong)!important;
  background:#fff!important;
  color:#334155!important;
}

body.yc-element-shell .btn-red,
body.yc-element-shell button.btn-red{
  border-color:#fecdd3!important;
  background:var(--yc-ui-danger-soft)!important;
  color:var(--yc-ui-danger)!important;
}

body.yc-element-shell button:disabled{
  opacity:.52!important;
  cursor:not-allowed!important;
}

body.yc-element-shell .actions,
body.yc-element-shell .action-row,
body.yc-element-shell .command-actions,
body.yc-element-shell .admin-section-actions,
body.yc-element-shell .vehicle-theme-actions,
body.yc-element-shell .ios-record-actions,
body.yc-element-shell .firmware-target-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}

body.yc-element-shell .action-row{
  justify-content:flex-end!important;
  margin-top:14px!important;
}

body.yc-element-shell .tag,
body.yc-element-shell .tag-muted,
body.yc-element-shell .tag-red{
  min-height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  border:1px solid #bfdbfe!important;
  background:var(--yc-ui-primary-soft)!important;
  color:var(--yc-ui-primary)!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}

body.yc-element-shell .tag-muted{
  border-color:var(--yc-ui-line)!important;
  background:#f8fafc!important;
  color:var(--yc-ui-muted)!important;
}

body.yc-element-shell .tag-red{
  border-color:#fecdd3!important;
  background:var(--yc-ui-danger-soft)!important;
  color:var(--yc-ui-danger)!important;
}

body.yc-element-shell .table-wrap{
  width:100%!important;
  overflow:auto!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell table{
  width:100%!important;
  min-width:980px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}

body.yc-element-shell th,
body.yc-element-shell td{
  padding:11px 12px!important;
  border-bottom:1px solid #edf2f7!important;
  vertical-align:top!important;
  font-size:13px!important;
  line-height:1.5!important;
}

body.yc-element-shell th{
  position:sticky!important;
  top:0!important;
  z-index:1!important;
  height:auto!important;
  background:#f8fafc!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:900!important;
}

body.yc-element-shell td{
  color:#334155!important;
  font-weight:650!important;
}

body.yc-element-shell tr:hover td{
  background:#fbfdff!important;
}

body.yc-element-shell .mono{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;
  font-size:12px!important;
  word-break:break-all!important;
}

body.yc-element-shell .cell-pre,
body.yc-element-shell .payload-window{
  white-space:pre-wrap!important;
  word-break:break-word!important;
  font-size:12px!important;
  line-height:1.55!important;
}

body.yc-element-shell .metrics,
body.yc-element-shell .mini-metrics,
body.yc-element-shell .status-grid,
body.yc-element-shell .info-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;
  gap:10px!important;
}

body.yc-element-shell .metric,
body.yc-element-shell .mini-metrics div,
body.yc-element-shell .status-grid div,
body.yc-element-shell .status-stack div,
body.yc-element-shell .info-grid div{
  min-height:auto!important;
  padding:12px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .metric b,
body.yc-element-shell .mini-metrics b,
body.yc-element-shell .status-grid b{
  color:var(--yc-ui-text)!important;
  font-size:22px!important;
  font-weight:900!important;
  letter-spacing:0!important;
}

body.yc-element-shell .metric span,
body.yc-element-shell .mini-metrics span,
body.yc-element-shell .status-grid span,
body.yc-element-shell .info-grid span{
  color:var(--yc-ui-muted)!important;
  font-size:12px!important;
  font-weight:850!important;
}

body.yc-element-shell .user-groups-card,
body.yc-element-shell .user-create-card,
body.yc-element-shell .user-management-card{
  overflow:visible!important;
}

body.yc-element-shell .user-group-create{
  display:grid!important;
  grid-template-columns:minmax(240px,1fr) 120px auto!important;
  gap:12px!important;
  align-items:end!important;
  margin:0 0 14px!important;
  padding:14px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:var(--yc-ui-panel)!important;
}

body.yc-element-shell .user-group-list{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;
  gap:12px!important;
}

body.yc-element-shell .user-group-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding:14px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .user-group-edit{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 96px auto!important;
  gap:8px!important;
  align-items:center!important;
}

body.yc-element-shell .user-list{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(520px,1fr))!important;
  gap:14px!important;
}

body.yc-element-shell .user-row-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding:16px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .user-row-card:before{
  display:none!important;
}

body.yc-element-shell .user-row-card:not(.is-expanded) .user-inline-edit,
body.yc-element-shell .user-row-card:not(.is-expanded) .user-device-summary,
body.yc-element-shell .user-row-card:not(.is-expanded) .user-status-summary,
body.yc-element-shell .user-row-card:not(.is-expanded) .user-row-actions,
body.yc-tabler-shell .user-row-card:not(.is-expanded) .user-inline-edit,
body.yc-tabler-shell .user-row-card:not(.is-expanded) .user-device-summary,
body.yc-tabler-shell .user-row-card:not(.is-expanded) .user-status-summary,
body.yc-tabler-shell .user-row-card:not(.is-expanded) .user-row-actions{
  display:none!important;
}

body.yc-element-shell .admin-account-card:not(.is-expanded) .admin-account-fields,
body.yc-element-shell .admin-account-card:not(.is-expanded) .admin-permission-panel,
body.yc-element-shell .admin-account-card:not(.is-expanded) .admin-account-actions,
body.yc-tabler-shell .admin-account-card:not(.is-expanded) .admin-account-fields,
body.yc-tabler-shell .admin-account-card:not(.is-expanded) .admin-permission-panel,
body.yc-tabler-shell .admin-account-card:not(.is-expanded) .admin-account-actions{
  display:none!important;
}

body.yc-element-shell .admin-account-main,
body.yc-tabler-shell .admin-account-main{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
}

body.yc-element-shell .user-row-card,
body.yc-tabler-shell .user-row-card{
  grid-template-columns:1fr!important;
}

body.yc-element-shell .user-row-topline{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
}

body.yc-element-shell .user-row-identity{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  padding-left:0!important;
}

body.yc-element-shell .user-row-avatar{
  width:48px!important;
  height:48px!important;
  border-radius:50%!important;
}

body.yc-element-shell .user-inline-edit{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  padding:12px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:var(--yc-ui-panel)!important;
}

body.yc-element-shell .inline-control{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
}

body.yc-element-shell .user-device-summary{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:6px 10px!important;
  padding:12px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:#fff!important;
}

body.yc-element-shell .user-device-summary small{
  grid-column:1 / -1!important;
}

body.yc-element-shell .user-status-summary{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}

body.yc-element-shell .user-status-summary>div{
  padding:10px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:#fff!important;
}

body.yc-element-shell .user-row-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding-top:12px!important;
  border-top:1px dashed var(--yc-ui-line)!important;
}

body.yc-element-shell .admin-account-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
}

body.yc-element-shell .admin-account-card{
  display:grid!important;
  grid-template-columns:minmax(220px,.55fr) minmax(420px,1fr) minmax(360px,.9fr) minmax(140px,.28fr)!important;
  gap:14px!important;
  align-items:start!important;
  padding:16px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .admin-account-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  padding:12px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:var(--yc-ui-panel)!important;
}

body.yc-element-shell .admin-permission-panel{
  min-width:0!important;
  padding:12px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:#fff!important;
}

body.yc-element-shell .permission-grid,
body.yc-element-shell .permission-switch-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;
  gap:8px!important;
}

body.yc-element-shell .permission-switch{
  min-height:38px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  padding:8px 10px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:9px!important;
  background:var(--yc-ui-panel)!important;
}

body.yc-element-shell .permission-switch input{
  position:absolute!important;
  opacity:0!important;
}

body.yc-element-shell .permission-switch b{
  min-width:0!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:850!important;
}

body.yc-element-shell .admin-account-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:8px!important;
}

body.yc-element-shell .iot-account-list,
body.yc-element-shell .login-bubble-list{
  display:grid!important;
  gap:12px!important;
}

body.yc-element-shell .iot-account-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:end!important;
  padding:14px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .iot-account-row .field-span-2{
  grid-column:span 2!important;
}

body.yc-element-shell .iot-account-actions{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
}

body.yc-element-shell .iot-account-actions label,
body.yc-element-shell .login-card-options label{
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 10px!important;
  border:1px solid #bfdbfe!important;
  border-radius:8px!important;
  background:var(--yc-ui-primary-soft)!important;
  color:var(--yc-ui-primary)!important;
  font-size:13px!important;
  font-weight:850!important;
}

body.yc-element-shell .login-bubble-editor{
  display:grid!important;
  grid-template-columns:minmax(220px,.55fr) minmax(360px,1fr) minmax(180px,.35fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .login-bubble-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}

body.yc-element-shell .login-card-options{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:8px!important;
}

body.yc-element-shell .app-diy-panel-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,.35fr)!important;
  gap:16px!important;
  align-items:start!important;
}

body.yc-element-shell .app-diy-type-tabs{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:10px!important;
}

body.yc-element-shell .app-diy-type-tabs a,
body.yc-element-shell .app-diy-builtin-card,
body.yc-element-shell .app-diy-theme-card,
body.yc-element-shell .vehicle-theme-tile,
body.yc-element-shell .vehicle-group-row{
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .app-diy-form .form-grid,
body.yc-element-shell .vehicle-theme-edit{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}

body.yc-element-shell .app-diy-crop,
body.yc-element-shell .app-diy-vehicle-preview{
  margin-top:14px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .firmware-target-panel{
  margin:14px 0!important;
}

body.yc-element-shell .firmware-user-checklist{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;
  gap:8px!important;
  max-height:300px!important;
  overflow:auto!important;
  padding:8px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:#fff!important;
}

body.yc-element-shell .firmware-user-checklist-compact{
  grid-template-columns:1fr!important;
  max-height:240px!important;
}

body.yc-element-shell .firmware-user-option{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:start!important;
  min-height:54px!important;
  margin:0!important;
  padding:9px 10px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:var(--yc-ui-panel)!important;
}

body.yc-element-shell .firmware-user-option.is-selected{
  border-color:#93c5fd!important;
  background:var(--yc-ui-primary-soft)!important;
  box-shadow:0 0 0 2px rgba(37,99,235,.10)!important;
}

body.yc-element-shell .firmware-target-edit form{
  min-width:280px!important;
  padding:12px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:10px!important;
  background:#fff!important;
}

body.yc-element-shell .mqtt-summary-layout,
body.yc-element-shell .push-service-layout,
body.yc-element-shell .content-console-layout,
body.yc-element-shell .html-editor-shell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,.42fr)!important;
  gap:16px!important;
  align-items:start!important;
}

body.yc-element-shell .mqtt-summary-card,
body.yc-element-shell .mqtt-side-panel,
body.yc-element-shell .push-service-primary,
body.yc-element-shell .content-sync-card,
body.yc-element-shell .html-editor-help{
  padding:14px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .payload-window{
  max-height:180px!important;
  padding:10px!important;
  border:1px solid var(--yc-ui-line)!important;
  border-radius:8px!important;
  background:#0f172a!important;
  color:#dbeafe!important;
}

body.yc-element-shell .yc-qr-card,
body.yc-element-shell .ios-record-card{
  border:1px solid var(--yc-ui-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

@media (max-width:1280px){
  body.yc-element-shell .admin-account-card,
  body.yc-element-shell .iot-account-row,
  body.yc-element-shell .login-bubble-editor,
  body.yc-element-shell .app-diy-panel-grid,
  body.yc-element-shell .mqtt-summary-layout,
  body.yc-element-shell .push-service-layout,
  body.yc-element-shell .content-console-layout,
  body.yc-element-shell .html-editor-shell{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .form-grid,
  body.yc-element-shell .admin-form-grid,
  body.yc-element-shell .compact-form,
  body.yc-element-shell .user-inline-edit,
  body.yc-element-shell .user-status-summary,
  body.yc-element-shell .app-diy-form .form-grid,
  body.yc-element-shell .vehicle-theme-edit{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .iot-account-row .field-span-2{
    grid-column:1 / -1!important;
  }
}

@media (max-width:760px){
  body.yc-element-shell .wrapper{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .main-sidebar{
    position:relative!important;
    height:auto!important;
    min-height:auto!important;
  }
  body.yc-element-shell .yc-topbar,
  body.yc-element-shell .content-wrapper,
  body.yc-element-shell .main-footer{
    grid-column:1!important;
  }
  body.yc-element-shell .yc-topbar-right{
    display:none!important;
  }
  body.yc-element-shell .yc-page-head,
  body.yc-element-shell .content{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  body.yc-element-shell .user-list,
  body.yc-element-shell .user-group-list{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .user-group-create,
  body.yc-element-shell .user-group-edit{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .inline-control{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .card,
  body.yc-element-shell .work-card,
  body.yc-element-shell .protocol-card,
  body.yc-element-shell .result-card{
    padding:14px!important;
  }
}

/* 20260708 content workflow redesign. UI/layout only. */
body.yc-element-shell .content-workflow{
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d8dee8!important;
  border-radius:12px!important;
  background:#f7f8fb!important;
  box-shadow:none!important;
}

body.yc-element-shell .content-workflow-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:18px 20px!important;
  border-bottom:1px solid #d8dee8!important;
  background:#fff!important;
}

body.yc-element-shell .content-workflow-head p{
  margin:0 0 4px!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:850!important;
}

body.yc-element-shell .content-workflow-head h3{
  margin:0!important;
  color:#111827!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:0!important;
}

body.yc-element-shell .content-workflow-head button,
body.yc-element-shell .content-panel-title>button,
body.yc-element-shell .content-panel-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:36px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  font-weight:850!important;
}

body.yc-element-shell .content-module-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  padding:16px!important;
  border-bottom:1px solid #e2e8f0!important;
  background:#f7f8fb!important;
}

body.yc-element-shell .content-module-card{
  position:relative!important;
  min-height:106px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  grid-template-rows:auto auto 1fr!important;
  align-items:start!important;
  gap:2px 12px!important;
  padding:16px!important;
  border:1px solid #d8dee8!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#111827!important;
  text-align:left!important;
  box-shadow:none!important;
}

body.yc-element-shell .content-module-card:hover{
  border-color:#9fb7d8!important;
  background:#fbfdff!important;
}

body.yc-element-shell .content-module-card.is-active{
  border-color:#2563eb!important;
  box-shadow:inset 3px 0 0 #2563eb!important;
}

body.yc-element-shell .content-module-card i{
  grid-column:1!important;
  grid-row:1 / span 3!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #dbe6f3!important;
  border-radius:10px!important;
  background:#f3f6fb!important;
  color:#2563eb!important;
  font-size:16px!important;
}

body.yc-element-shell .content-module-card strong{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  min-width:0!important;
  color:#111827!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.25!important;
}

body.yc-element-shell .content-module-card small{
  grid-column:2!important;
  grid-row:2 / span 2!important;
  display:block!important;
  min-width:0!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.4!important;
}

body.yc-element-shell .content-module-card span{
  grid-column:3!important;
  grid-row:1 / span 3!important;
  align-self:center!important;
  justify-self:end!important;
  min-height:28px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 10px!important;
  border:1px solid #d8dee8!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#374151!important;
  font-size:12px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

body.yc-element-shell .content-module-card.is-active span{
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
  color:#2563eb!important;
}

body.yc-element-shell .content-module-panels{
  padding:16px!important;
  background:#f7f8fb!important;
}

body.yc-element-shell .content-module-panel{
  display:none!important;
  border:1px solid #d8dee8!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .content-module-panel.is-active{
  display:block!important;
}

body.yc-page-content .content-official-panel{
  display:none!important;
  gap:14px!important;
  margin-top:14px!important;
}

body.yc-page-content .content-official-panel.is-active{
  display:grid!important;
}

body.yc-page-content.yc-content-official-active .content-workflow-head>button{
  display:none!important;
}

body.yc-element-shell .content-panel-title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:15px 16px!important;
  border-bottom:1px solid #e5e7eb!important;
  background:#fff!important;
}

body.yc-element-shell .content-panel-title span{
  display:block!important;
  margin:0 0 4px!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:850!important;
}

body.yc-element-shell .content-panel-title h4{
  margin:0!important;
  color:#111827!important;
  font-size:17px!important;
  font-weight:900!important;
}

body.yc-element-shell .content-panel-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}

body.yc-element-shell .content-panel-body{
  padding:16px!important;
}

body.yc-element-shell .content-panel-body.admin-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 16px!important;
}

body.yc-element-shell .content-panel-body .field{
  margin:0!important;
}

body.yc-element-shell .content-panel-body .field-span-2{
  grid-column:1 / -1!important;
}

body.yc-element-shell .content-panel-body label{
  margin:0 0 7px!important;
  color:#374151!important;
  font-size:13px!important;
  font-weight:850!important;
}

body.yc-element-shell .content-panel-body input,
body.yc-element-shell .content-panel-body textarea,
body.yc-element-shell .content-panel-body select{
  width:100%!important;
  min-height:38px!important;
  border:1px solid #ccd5e1!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
}

body.yc-element-shell .content-panel-body textarea{
  resize:vertical!important;
}

body.yc-element-shell .content-panel-body .html-editor{
  min-height:360px!important;
  font-size:13px!important;
  line-height:1.55!important;
}

body.yc-element-shell .content-workflow .iot-account-list,
body.yc-element-shell .content-workflow .login-bubble-list{
  display:grid!important;
  gap:12px!important;
}

body.yc-element-shell .content-workflow .iot-account-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:end!important;
  padding:14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  background:#f9fafb!important;
}

body.yc-element-shell .content-workflow .iot-account-row .field-span-2{
  grid-column:span 2!important;
}

body.yc-element-shell .content-workflow .iot-account-actions{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}

body.yc-element-shell .content-workflow .login-bubble-editor{
  display:grid!important;
  grid-template-columns:minmax(220px,.6fr) minmax(360px,1fr) minmax(180px,.42fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  background:#f9fafb!important;
}

body.yc-element-shell .content-workflow .login-bubble-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}

body.yc-element-shell .content-workflow .login-card-options{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}

body.yc-element-shell .content-workflow .iot-account-actions label,
body.yc-element-shell .content-workflow .login-card-options label{
  min-height:32px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 10px!important;
  border:1px solid #d8dee8!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#374151!important;
  font-size:13px!important;
  font-weight:850!important;
}

body.yc-element-shell .content-workflow .iot-account-actions input,
body.yc-element-shell .content-workflow .login-card-options input{
  width:auto!important;
  min-height:auto!important;
}

@media (max-width:1280px){
  body.yc-element-shell .content-module-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.yc-element-shell .content-workflow .iot-account-row,
  body.yc-element-shell .content-workflow .login-bubble-editor{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .content-workflow .iot-account-row .field-span-2,
  body.yc-element-shell .content-panel-body.admin-form-grid{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .content-workflow .iot-account-row .field-span-2{
    grid-column:1 / -1!important;
  }
}

@media (max-width:760px){
  body.yc-element-shell .content-workflow-head,
  body.yc-element-shell .content-panel-title{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  body.yc-element-shell .content-module-grid{
    grid-template-columns:1fr!important;
    padding:12px!important;
  }
  body.yc-element-shell .content-module-card{
    grid-template-columns:38px minmax(0,1fr)!important;
    min-height:96px!important;
  }
  body.yc-element-shell .content-module-card span{
    grid-column:2!important;
    grid-row:3!important;
    justify-self:start!important;
    margin-top:8px!important;
  }
  body.yc-element-shell .content-module-panels,
  body.yc-element-shell .content-panel-body{
    padding:12px!important;
  }
}

/* 20260708 Tabler admin shell migration. Keep business pages intact. */
body.yc-tabler-shell{
  --yc-office-bg:#f4f6fa;
  --yc-office-panel:#ffffff;
  --yc-office-line:#d8dee8;
  --yc-office-line-soft:#e7ebf1;
  --yc-office-text:#111827;
  --yc-office-muted:#667085;
  --yc-office-blue:#206bc4;
  --yc-office-blue-soft:#eaf2ff;
  margin:0!important;
  background:var(--yc-office-bg)!important;
  color:var(--yc-office-text)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif!important;
}

body.yc-tabler-shell .wrapper{
  min-height:100vh!important;
  display:grid!important;
  grid-template-columns:256px minmax(0,1fr)!important;
  grid-template-rows:60px minmax(0,1fr) 44px!important;
  background:var(--yc-office-bg)!important;
}

body.yc-tabler-shell .wrapper.yc-sidebar-collapsed{
  grid-template-columns:76px minmax(0,1fr)!important;
}

body.yc-tabler-shell .main-sidebar{
  grid-column:1!important;
  grid-row:1 / 4!important;
  position:sticky!important;
  top:0!important;
  width:auto!important;
  min-height:100vh!important;
  height:100vh!important;
  overflow:hidden!important;
  padding:10px 10px 14px!important;
  border-right:1px solid var(--yc-office-line)!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .brand-link{
  height:54px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 10px!important;
  padding:8px 10px!important;
  border:1px solid var(--yc-office-line-soft)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--yc-office-text)!important;
  text-decoration:none!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .yc-brand-mark{
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 36px!important;
  border-radius:9px!important;
  background:var(--yc-office-blue)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
}

body.yc-tabler-shell .brand-text{
  min-width:0!important;
  display:grid!important;
  gap:1px!important;
  margin:0!important;
  color:var(--yc-office-text)!important;
}

body.yc-tabler-shell .brand-text b{
  color:var(--yc-office-text)!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.25!important;
}

body.yc-tabler-shell .brand-text small{
  color:var(--yc-office-muted)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.2!important;
}

body.yc-tabler-shell .wrapper.yc-sidebar-collapsed .brand-text,
body.yc-tabler-shell .wrapper.yc-sidebar-collapsed .nav-sidebar .nav-link p,
body.yc-tabler-shell .wrapper.yc-sidebar-collapsed .nav-header{
  display:none!important;
}

body.yc-tabler-shell .wrapper.yc-sidebar-collapsed .brand-link{
  justify-content:center!important;
  padding:8px!important;
}

body.yc-tabler-shell .sidebar{
  height:calc(100vh - 78px)!important;
  padding:0!important;
  overflow:auto!important;
}

body.yc-tabler-shell .nav-sidebar{
  display:grid!important;
  gap:2px!important;
  padding:0!important;
  margin:0!important;
  list-style:none!important;
}

body.yc-tabler-shell .nav-sidebar>.nav-header{
  margin:15px 8px 6px!important;
  padding:0!important;
  color:#98a2b3!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:0!important;
}

body.yc-tabler-shell .nav-item{
  margin:0!important;
  padding:0!important;
}

body.yc-tabler-shell .main-sidebar .nav-link{
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#344054!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:750!important;
}

body.yc-tabler-shell .main-sidebar .nav-link p{
  margin:0!important;
  line-height:1!important;
}

body.yc-tabler-shell .main-sidebar .nav-icon{
  width:18px!important;
  min-width:18px!important;
  margin:0!important;
  color:#667085!important;
  text-align:center!important;
  font-size:14px!important;
}

body.yc-tabler-shell .main-sidebar .nav-link:hover{
  border-color:#d8e7fb!important;
  background:var(--yc-office-blue-soft)!important;
  color:var(--yc-office-blue)!important;
}

body.yc-tabler-shell .main-sidebar .nav-link.active{
  border-color:#b8d4f7!important;
  background:var(--yc-office-blue-soft)!important;
  color:var(--yc-office-blue)!important;
  box-shadow:inset 3px 0 0 var(--yc-office-blue)!important;
}

body.yc-tabler-shell .main-sidebar .nav-link:hover .nav-icon,
body.yc-tabler-shell .main-sidebar .nav-link.active .nav-icon{
  color:var(--yc-office-blue)!important;
}

body.yc-tabler-shell .yc-topbar{
  grid-column:2!important;
  grid-row:1!important;
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  min-height:60px!important;
  height:60px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:0 22px!important;
  border:0!important;
  border-bottom:1px solid var(--yc-office-line)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:none!important;
  backdrop-filter:saturate(160%) blur(12px)!important;
}

body.yc-tabler-shell .yc-topbar-left,
body.yc-tabler-shell .yc-topbar-right{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}

body.yc-tabler-shell .yc-icon-button{
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid var(--yc-office-line)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#344054!important;
  text-decoration:none!important;
}

body.yc-tabler-shell .yc-topbar-title{
  display:grid!important;
  gap:1px!important;
  color:var(--yc-office-text)!important;
  text-decoration:none!important;
}

body.yc-tabler-shell .yc-topbar-title span{
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.2!important;
}

body.yc-tabler-shell .yc-topbar-title small{
  color:var(--yc-office-muted)!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.2!important;
}

body.yc-tabler-shell .yc-top-status,
body.yc-tabler-shell .yc-top-admin,
body.yc-tabler-shell .yc-top-logout,
body.yc-tabler-shell .yc-status-chip{
  min-height:32px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 10px!important;
  border:1px solid var(--yc-office-line)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#344054!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .yc-top-status i{
  color:#12b76a!important;
  font-size:8px!important;
}

body.yc-tabler-shell .yc-top-logout{
  color:#b42318!important;
  background:#fffafa!important;
}

body.yc-tabler-shell .content-wrapper{
  grid-column:2!important;
  grid-row:2!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  background:var(--yc-office-bg)!important;
}

body.yc-tabler-shell .yc-page-head{
  padding:18px 22px 0!important;
  background:transparent!important;
}

body.yc-tabler-shell .content{
  padding:14px 22px 34px!important;
}

body.yc-tabler-shell .container-fluid{
  width:100%!important;
  max-width:1560px!important;
  padding:0!important;
  margin:0 auto!important;
}

body.yc-tabler-shell .yc-page-head-card{
  min-height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:14px 16px!important;
  border:1px solid var(--yc-office-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .yc-breadcrumb-line{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 4px!important;
  color:var(--yc-office-muted)!important;
  font-size:12px!important;
  font-weight:750!important;
}

body.yc-tabler-shell .yc-breadcrumb-line a{
  color:var(--yc-office-blue)!important;
  text-decoration:none!important;
}

body.yc-tabler-shell .yc-page-head-card h1{
  margin:0!important;
  color:var(--yc-office-text)!important;
  font-size:22px!important;
  font-weight:900!important;
  letter-spacing:0!important;
  line-height:1.25!important;
}

body.yc-tabler-shell .yc-page-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}

body.yc-tabler-shell .main-footer{
  grid-column:2!important;
  grid-row:3!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0 22px!important;
  border:0!important;
  border-top:1px solid var(--yc-office-line)!important;
  background:#fff!important;
  color:#344054!important;
  font-size:12px!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .card,
body.yc-tabler-shell .work-card,
body.yc-tabler-shell .protocol-card,
body.yc-tabler-shell .result-card,
body.yc-tabler-shell .form-panel,
body.yc-tabler-shell .admin-form-section,
body.yc-tabler-shell .table-wrap{
  border:1px solid var(--yc-office-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .card,
body.yc-tabler-shell .work-card,
body.yc-tabler-shell .protocol-card,
body.yc-tabler-shell .result-card{
  padding:16px!important;
}

body.yc-tabler-shell .work-card:before{
  display:none!important;
}

body.yc-tabler-shell h1,
body.yc-tabler-shell h2,
body.yc-tabler-shell h3,
body.yc-tabler-shell h4{
  letter-spacing:0!important;
}

body.yc-tabler-shell input,
body.yc-tabler-shell textarea,
body.yc-tabler-shell select{
  min-height:36px!important;
  border:1px solid #cfd6e2!important;
  border-radius:7px!important;
  background:#fff!important;
  color:var(--yc-office-text)!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:650!important;
}

body.yc-tabler-shell input:focus,
body.yc-tabler-shell textarea:focus,
body.yc-tabler-shell select:focus{
  border-color:#87b7ef!important;
  box-shadow:0 0 0 3px rgba(32,107,196,.12)!important;
  outline:0!important;
}

body.yc-tabler-shell button,
body.yc-tabler-shell .button,
body.yc-tabler-shell .tag{
  border-radius:7px!important;
  box-shadow:none!important;
  letter-spacing:0!important;
}

body.yc-tabler-shell button:not(.content-module-card):not(.btn-muted):not(.btn-red):not(.yc-icon-button):not(.ios-nav-control){
  background:var(--yc-office-blue)!important;
  border-color:var(--yc-office-blue)!important;
  color:#fff!important;
}

body.yc-tabler-shell .btn-muted{
  background:#fff!important;
  border-color:#cfd6e2!important;
  color:#344054!important;
}

body.yc-tabler-shell .btn-red{
  background:#fff5f5!important;
  border-color:#fecdca!important;
  color:#b42318!important;
}

body.yc-tabler-shell .table-wrap{
  overflow:auto!important;
}

body.yc-tabler-shell table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}

body.yc-tabler-shell th{
  height:40px!important;
  padding:9px 10px!important;
  border-bottom:1px solid var(--yc-office-line)!important;
  background:#f8fafc!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

body.yc-tabler-shell td{
  padding:10px!important;
  border-bottom:1px solid #edf1f6!important;
  color:#1f2937!important;
  vertical-align:middle!important;
}

body.yc-tabler-shell tr:last-child td{
  border-bottom:0!important;
}

body.yc-tabler-shell .muted,
body.yc-tabler-shell .text-muted,
body.yc-tabler-shell small{
  color:var(--yc-office-muted)!important;
}

body.yc-tabler-shell .tag{
  min-height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:3px 8px!important;
  border:1px solid #cfe0f6!important;
  background:#eef6ff!important;
  color:var(--yc-office-blue)!important;
  font-size:12px!important;
  font-weight:800!important;
}

body.yc-modal-lock{
  overflow:hidden!important;
}

.yc-admin-modal{
  position:fixed!important;
  inset:0!important;
  z-index:9998!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  background:rgba(15,23,42,.48)!important;
}

.yc-admin-modal.is-open{
  display:flex!important;
}

.yc-admin-dialog{
  width:min(980px,100%)!important;
  max-height:calc(100vh - 48px)!important;
  overflow:auto!important;
  border:1px solid #dfe7f1!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 26px 80px rgba(15,23,42,.20)!important;
}

.yc-admin-dialog.is-wide{
  width:min(1180px,100%)!important;
}

.yc-admin-dialog .card,
.yc-admin-dialog .work-card{
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

.yc-modal-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:16px 18px!important;
  border-bottom:1px solid #edf1f6!important;
  background:#fff!important;
}

.yc-modal-head h3{
  margin:0!important;
  color:#101828!important;
  font-size:18px!important;
  font-weight:900!important;
}

.yc-page-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:14px!important;
}

.yc-page-toolbar-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}

.yc-row-top-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

.yc-list-row-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

body.yc-tabler-shell .btn-compact,
body.yc-element-shell .btn-compact{
  min-height:26px!important;
  padding:4px 9px!important;
  border-radius:6px!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
}

body.yc-tabler-shell .esp32-topic-line,
body.yc-element-shell .esp32-topic-line{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  max-width:100%!important;
}

body.yc-tabler-shell .esp32-topic-line .mono,
body.yc-element-shell .esp32-topic-line .mono{
  max-width:min(360px,42vw)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.yc-topic-card{
  width:min(760px,100%)!important;
}

.yc-topic-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}

.yc-topic-grid .field-span-2{
  grid-column:1/-1!important;
}

.yc-copy-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:10px!important;
  border:1px solid #dfe7f1!important;
  border-radius:10px!important;
  background:#f8fafc!important;
}

.yc-copy-row code{
  overflow:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#111827!important;
}

@media (max-width:991px){
  body.yc-tabler-shell .wrapper,
  body.yc-tabler-shell .wrapper.yc-sidebar-collapsed{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto minmax(0,1fr) auto!important;
  }
  body.yc-tabler-shell .main-sidebar{
    grid-column:1!important;
    grid-row:2!important;
    position:relative!important;
    min-height:auto!important;
    height:auto!important;
    padding:10px!important;
  }
  body.yc-tabler-shell .sidebar{
    height:auto!important;
    max-height:none!important;
  }
  body.yc-tabler-shell .yc-topbar{
    grid-column:1!important;
    grid-row:1!important;
    position:sticky!important;
    height:auto!important;
    min-height:58px!important;
    flex-wrap:wrap!important;
    padding:10px 14px!important;
  }
  body.yc-tabler-shell .content-wrapper{
    grid-column:1!important;
    grid-row:3!important;
  }
  body.yc-tabler-shell .main-footer{
    grid-column:1!important;
    grid-row:4!important;
  }
}

@media (max-width:760px){
  body.yc-tabler-shell .yc-topbar-right,
  body.yc-tabler-shell .yc-page-actions{
    display:none!important;
  }
  body.yc-tabler-shell .yc-page-head,
  body.yc-tabler-shell .content{
    padding-left:12px!important;
    padding-right:12px!important;
  }
}

/* Mars Admin style refinements: dialog forms use one clean vertical flow. */
body.yc-tabler-shell .yc-admin-dialog .grid,
body.yc-tabler-shell .yc-admin-dialog .form-grid,
body.yc-tabler-shell .yc-admin-dialog .compact-form,
body.yc-tabler-shell .yc-admin-dialog .ios-upload-grid,
body.yc-tabler-shell .yc-admin-dialog .admin-account-fields,
body.yc-tabler-shell .yc-admin-dialog .app-diy-form .form-grid,
body.yc-element-shell .yc-admin-dialog .grid,
body.yc-element-shell .yc-admin-dialog .form-grid,
body.yc-element-shell .yc-admin-dialog .compact-form,
body.yc-element-shell .yc-admin-dialog .ios-upload-grid,
body.yc-element-shell .yc-admin-dialog .admin-account-fields,
body.yc-element-shell .yc-admin-dialog .app-diy-form .form-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
}

body.yc-tabler-shell .yc-admin-dialog .field,
body.yc-tabler-shell .yc-admin-dialog .field-span-2,
body.yc-element-shell .yc-admin-dialog .field,
body.yc-element-shell .yc-admin-dialog .field-span-2{
  grid-column:1/-1!important;
}

body.yc-tabler-shell .yc-admin-dialog input,
body.yc-tabler-shell .yc-admin-dialog select,
body.yc-tabler-shell .yc-admin-dialog textarea,
body.yc-element-shell .yc-admin-dialog input,
body.yc-element-shell .yc-admin-dialog select,
body.yc-element-shell .yc-admin-dialog textarea{
  width:100%!important;
}

body.yc-tabler-shell .yc-admin-dialog .form-panel,
body.yc-element-shell .yc-admin-dialog .form-panel{
  margin-bottom:14px!important;
}

body.yc-tabler-shell .form-grid,
body.yc-tabler-shell .compact-form,
body.yc-tabler-shell .ios-upload-grid,
body.yc-tabler-shell .admin-account-fields,
body.yc-element-shell .form-grid,
body.yc-element-shell .compact-form,
body.yc-element-shell .ios-upload-grid,
body.yc-element-shell .admin-account-fields{
  grid-template-columns:1fr!important;
}

body.yc-tabler-shell .yc-admin-dialog .user-group-create,
body.yc-tabler-shell .yc-admin-dialog .user-group-edit,
body.yc-element-shell .yc-admin-dialog .user-group-create,
body.yc-element-shell .yc-admin-dialog .user-group-edit{
  display:block!important;
  grid-template-columns:1fr!important;
  padding:18px!important;
  border:0!important;
  background:#fff!important;
}

body.yc-tabler-shell .admin-account-list,
body.yc-element-shell .admin-account-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
}

body.yc-tabler-shell .admin-account-row,
body.yc-element-shell .admin-account-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:14px!important;
  min-height:104px!important;
  padding:18px!important;
  border:1px solid var(--yc-office-line, #dfe7f1)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .admin-account-card,
body.yc-element-shell .admin-account-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.yc-tabler-shell .admin-account-main,
body.yc-element-shell .admin-account-main{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
}

body.yc-tabler-shell .admin-account-main h4,
body.yc-element-shell .admin-account-main h4{
  margin:3px 0!important;
  font-size:18px!important;
  font-weight:950!important;
}

body.yc-tabler-shell .admin-account-main p,
body.yc-element-shell .admin-account-main p{
  margin:0!important;
  color:#667085!important;
  font-weight:800!important;
}

body.yc-tabler-shell .admin-delete-form,
body.yc-element-shell .admin-delete-form{
  align-self:end!important;
  justify-self:end!important;
}

body.yc-tabler-shell .admin-account-row:not(.is-expanded) .admin-account-fields,
body.yc-tabler-shell .admin-account-row:not(.is-expanded) .admin-permission-panel,
body.yc-tabler-shell .admin-account-row:not(.is-expanded) .admin-account-actions,
body.yc-element-shell .admin-account-row:not(.is-expanded) .admin-account-fields,
body.yc-element-shell .admin-account-row:not(.is-expanded) .admin-permission-panel,
body.yc-element-shell .admin-account-row:not(.is-expanded) .admin-account-actions{
  display:none!important;
}

body.yc-tabler-shell .admin-account-row.is-expanded,
body.yc-element-shell .admin-account-row.is-expanded{
  grid-template-columns:1fr!important;
}

body.yc-tabler-shell .admin-account-row.is-expanded .admin-delete-form,
body.yc-element-shell .admin-account-row.is-expanded .admin-delete-form{
  justify-self:start!important;
}

body.yc-tabler-shell .user-group-list,
body.yc-element-shell .user-group-list{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:12px!important;
}

body.yc-tabler-shell .user-group-card,
body.yc-element-shell .user-group-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  min-height:78px!important;
}

body.yc-tabler-shell .user-group-summary,
body.yc-element-shell .user-group-summary{
  min-width:0!important;
}

body.yc-tabler-shell .user-group-summary b,
body.yc-element-shell .user-group-summary b{
  display:block!important;
  color:#101828!important;
  font-size:16px!important;
  font-weight:950!important;
}

body.yc-tabler-shell .user-group-summary span,
body.yc-element-shell .user-group-summary span{
  color:#667085!important;
  font-weight:800!important;
}

/* Final backend workflow polish: row lists + modal editing. */
body.yc-element-shell .btn-compact,
body.yc-tabler-shell .btn-compact{
  min-height:34px!important;
  padding:0 13px!important;
  border-radius:9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  line-height:1!important;
}

body.yc-element-shell .yc-admin-dialog,
body.yc-tabler-shell .yc-admin-dialog{
  border-radius:14px!important;
  overflow:hidden!important;
}

body.yc-element-shell .yc-admin-dialog > .card,
body.yc-tabler-shell .yc-admin-dialog > .card,
body.yc-element-shell .yc-user-detail-modal-body,
body.yc-tabler-shell .yc-user-detail-modal-body{
  margin:0!important;
  padding:18px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

body.yc-element-shell .yc-admin-dialog .action-row,
body.yc-tabler-shell .yc-admin-dialog .action-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-height:42px!important;
  margin-top:12px!important;
}

body.yc-element-shell .yc-admin-dialog button,
body.yc-tabler-shell .yc-admin-dialog button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}

body.yc-element-shell .admin-account-list,
body.yc-tabler-shell .admin-account-list,
body.yc-element-shell .user-list,
body.yc-tabler-shell .user-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}

body.yc-element-shell .admin-account-row,
body.yc-tabler-shell .admin-account-row,
body.yc-element-shell .user-row-card,
body.yc-tabler-shell .user-row-card{
  display:block!important;
  min-height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.yc-element-shell .admin-account-card,
body.yc-tabler-shell .admin-account-card,
body.yc-element-shell .user-row-card,
body.yc-tabler-shell .user-row-card{
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(15,23,42,.04)!important;
}

body.yc-element-shell .admin-account-card,
body.yc-tabler-shell .admin-account-card{
  padding:14px 16px!important;
}

body.yc-element-shell .admin-account-main,
body.yc-tabler-shell .admin-account-main{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
}

body.yc-element-shell .admin-avatar,
body.yc-tabler-shell .admin-avatar{
  width:48px!important;
  height:48px!important;
  border-radius:12px!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  background:#ecf5ff!important;
  color:#2563eb!important;
  font-weight:950!important;
}

body.yc-element-shell .admin-account-edit-modal .admin-account-fields,
body.yc-tabler-shell .admin-account-edit-modal .admin-account-fields,
body.yc-element-shell .admin-account-edit-modal .permission-grid,
body.yc-tabler-shell .admin-account-edit-modal .permission-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
}

body.yc-element-shell .admin-account-edit-modal .admin-permission-panel,
body.yc-tabler-shell .admin-account-edit-modal .admin-permission-panel{
  margin-top:14px!important;
  padding:14px!important;
  border:1px solid #e1e8f2!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}

body.yc-element-shell .admin-delete-form,
body.yc-tabler-shell .admin-delete-form{
  margin:0!important;
}

body.yc-element-shell .user-row-card,
body.yc-tabler-shell .user-row-card{
  padding:14px 16px!important;
}

body.yc-element-shell .user-row-card:before,
body.yc-tabler-shell .user-row-card:before{
  display:none!important;
}

body.yc-element-shell .user-row-topline,
body.yc-tabler-shell .user-row-topline{
  display:grid!important;
  grid-template-columns:minmax(280px,1fr) minmax(260px,.75fr) auto!important;
  align-items:center!important;
  gap:14px!important;
}

body.yc-element-shell .user-row-identity,
body.yc-tabler-shell .user-row-identity{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  padding-left:0!important;
}

body.yc-element-shell .user-row-identity h4,
body.yc-tabler-shell .user-row-identity h4{
  margin:2px 0!important;
  font-size:16px!important;
  font-weight:950!important;
  color:#101828!important;
}

body.yc-element-shell .user-row-identity p,
body.yc-tabler-shell .user-row-identity p{
  margin:0!important;
  color:#667085!important;
  font-weight:800!important;
}

body.yc-element-shell .user-row-avatar,
body.yc-tabler-shell .user-row-avatar{
  width:46px!important;
  height:46px!important;
  border-radius:12px!important;
  flex:0 0 auto!important;
}

body.yc-element-shell .user-row-quick,
body.yc-tabler-shell .user-row-quick{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  flex-wrap:wrap!important;
}

body.yc-element-shell .yc-user-detail-modal-body,
body.yc-tabler-shell .yc-user-detail-modal-body{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  background:#fff!important;
}

body.yc-element-shell .yc-user-detail-modal-body .user-inline-edit,
body.yc-tabler-shell .yc-user-detail-modal-body .user-inline-edit{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding:14px!important;
  border:1px solid #e1e8f2!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}

body.yc-element-shell .yc-user-detail-modal-body .user-device-summary,
body.yc-tabler-shell .yc-user-detail-modal-body .user-device-summary{
  display:grid!important;
  grid-template-columns:120px minmax(0,1fr)!important;
  gap:8px 12px!important;
  padding:14px!important;
  border:1px solid #e1e8f2!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .yc-user-detail-modal-body .user-status-summary,
body.yc-tabler-shell .yc-user-detail-modal-body .user-status-summary{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:10px!important;
}

body.yc-element-shell .yc-user-detail-modal-body .user-row-actions,
body.yc-tabler-shell .yc-user-detail-modal-body .user-row-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding-top:0!important;
  border-top:0!important;
}

body.yc-element-shell .firmware-bin-picker,
body.yc-tabler-shell .firmware-bin-picker{
  min-height:78px!important;
  justify-content:center!important;
  border:1px dashed #93c5fd!important;
  background:linear-gradient(180deg,#f8fbff,#fff)!important;
}

body.yc-element-shell .firmware-bin-picker .yc-file-name,
body.yc-tabler-shell .firmware-bin-picker .yc-file-name{
  font-size:14px!important;
  color:#2563eb!important;
}

body.yc-element-shell .firmware-user-checklist,
body.yc-tabler-shell .firmware-user-checklist{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;
  gap:10px!important;
  max-height:340px!important;
  overflow:auto!important;
  padding:10px!important;
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}

body.yc-element-shell .firmware-user-checklist-compact,
body.yc-tabler-shell .firmware-user-checklist-compact{
  grid-template-columns:1fr!important;
}

body.yc-element-shell .firmware-user-option,
body.yc-tabler-shell .firmware-user-option{
  position:relative!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  min-height:68px!important;
  margin:0!important;
  padding:11px!important;
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#fff!important;
  cursor:pointer!important;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease!important;
}

body.yc-element-shell .firmware-user-option input,
body.yc-tabler-shell .firmware-user-option input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}

body.yc-element-shell .firmware-user-avatar,
body.yc-tabler-shell .firmware-user-avatar{
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:#ecf5ff!important;
  color:#2563eb!important;
}

body.yc-element-shell .firmware-user-avatar img,
body.yc-tabler-shell .firmware-user-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

body.yc-element-shell .firmware-user-meta,
body.yc-tabler-shell .firmware-user-meta{
  min-width:0!important;
  display:grid!important;
  gap:3px!important;
}

body.yc-element-shell .firmware-user-option.is-selected,
body.yc-tabler-shell .firmware-user-option.is-selected{
  border-color:#2563eb!important;
  background:#eff6ff!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.12)!important;
}

body.yc-element-shell .app-diy-hero,
body.yc-tabler-shell .app-diy-hero,
body.yc-element-shell .app-diy-type-tabs,
body.yc-tabler-shell .app-diy-type-tabs,
body.yc-element-shell .app-diy-flow,
body.yc-tabler-shell .app-diy-flow,
body.yc-element-shell .app-diy-library,
body.yc-tabler-shell .app-diy-library,
body.yc-element-shell .app-diy-groups-panel,
body.yc-tabler-shell .app-diy-groups-panel{
  border-radius:14px!important;
}

body.yc-element-shell .app-diy-flow,
body.yc-tabler-shell .app-diy-flow{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin-bottom:14px!important;
  padding:14px!important;
  background:#fff!important;
}

body.yc-element-shell .app-diy-flow div,
body.yc-tabler-shell .app-diy-flow div{
  min-height:72px!important;
  padding:12px!important;
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}

body.yc-element-shell .app-diy-flow b,
body.yc-tabler-shell .app-diy-flow b{
  display:block!important;
  color:#101828!important;
  font-size:14px!important;
  font-weight:950!important;
}

body.yc-element-shell .app-diy-flow span,
body.yc-tabler-shell .app-diy-flow span{
  display:block!important;
  margin-top:6px!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:800!important;
}

body.yc-element-shell .vehicle-theme-grid.app-diy-theme-grid,
body.yc-tabler-shell .vehicle-theme-grid.app-diy-theme-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
}

body.yc-element-shell .vehicle-theme-tile,
body.yc-tabler-shell .vehicle-theme-tile{
  display:grid!important;
  grid-template-columns:210px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  padding:14px!important;
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .vehicle-theme-art,
body.yc-tabler-shell .vehicle-theme-art{
  min-height:126px!important;
  border-radius:11px!important;
}

body.yc-element-shell .app-diy-theme-summary,
body.yc-tabler-shell .app-diy-theme-summary{
  min-width:0!important;
}

body.yc-element-shell .app-diy-theme-summary h4,
body.yc-tabler-shell .app-diy-theme-summary h4{
  margin:4px 0!important;
  color:#101828!important;
  font-size:17px!important;
  font-weight:950!important;
}

body.yc-element-shell .app-diy-theme-summary p,
body.yc-tabler-shell .app-diy-theme-summary p{
  margin:0 0 8px!important;
  color:#667085!important;
  font-weight:800!important;
}

body.yc-element-shell .app-diy-theme-status,
body.yc-tabler-shell .app-diy-theme-status,
body.yc-element-shell .app-diy-theme-actions,
body.yc-tabler-shell .app-diy-theme-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}

body.yc-element-shell .app-diy-group-list,
body.yc-tabler-shell .app-diy-group-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}

body.yc-element-shell .app-diy-group-row,
body.yc-tabler-shell .app-diy-group-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:13px 14px!important;
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .app-diy-group-summary b,
body.yc-tabler-shell .app-diy-group-summary b{
  display:block!important;
  color:#101828!important;
  font-size:15px!important;
  font-weight:950!important;
}

body.yc-element-shell .app-diy-group-summary span,
body.yc-tabler-shell .app-diy-group-summary span{
  display:block!important;
  margin-top:3px!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:800!important;
}

body.yc-element-shell .app-diy-edit,
body.yc-tabler-shell .app-diy-edit,
body.yc-element-shell .app-diy-group-edit-modal,
body.yc-tabler-shell .app-diy-group-edit-modal{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  padding:18px!important;
  border:0!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .vehicle-theme-actions.secondary,
body.yc-tabler-shell .vehicle-theme-actions.secondary{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding:0 18px 18px!important;
}

@media (max-width:1100px){
  body.yc-element-shell .user-row-topline,
  body.yc-tabler-shell .user-row-topline,
  body.yc-element-shell .vehicle-theme-tile,
  body.yc-tabler-shell .vehicle-theme-tile,
  body.yc-element-shell .app-diy-flow,
  body.yc-tabler-shell .app-diy-flow{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .yc-row-top-actions,
  body.yc-tabler-shell .yc-row-top-actions,
  body.yc-element-shell .app-diy-theme-actions,
  body.yc-tabler-shell .app-diy-theme-actions{
    justify-content:flex-start!important;
  }
}

/* Hotfix: long admin modals must scroll to the bottom on every browser. */
body.yc-element-shell .yc-admin-modal,
body.yc-tabler-shell .yc-admin-modal{
  align-items:flex-start!important;
  justify-content:center!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  padding:22px!important;
}

body.yc-element-shell .yc-admin-modal.is-open,
body.yc-tabler-shell .yc-admin-modal.is-open{
  display:block!important;
}

body.yc-element-shell .yc-admin-dialog,
body.yc-tabler-shell .yc-admin-dialog{
  width:min(980px,100%)!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0 auto 28px!important;
}

body.yc-element-shell .yc-admin-dialog.is-wide,
body.yc-tabler-shell .yc-admin-dialog.is-wide{
  width:min(1120px,100%)!important;
}

body.yc-element-shell .yc-modal-head,
body.yc-tabler-shell .yc-modal-head{
  position:sticky!important;
  top:0!important;
  z-index:3!important;
}

/* App DIY should be a compact management page, not a brochure. */
body.yc-element-shell .app-diy-flow,
body.yc-tabler-shell .app-diy-flow{
  display:none!important;
}

body.yc-element-shell .app-diy-hero,
body.yc-tabler-shell .app-diy-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  min-height:0!important;
  margin-bottom:12px!important;
  padding:16px 18px!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .app-diy-hero .eyebrow,
body.yc-tabler-shell .app-diy-hero .eyebrow{
  display:none!important;
}

body.yc-element-shell .app-diy-hero h3,
body.yc-tabler-shell .app-diy-hero h3{
  margin:0!important;
  font-size:20px!important;
  line-height:1.25!important;
}

body.yc-element-shell .app-diy-hero p,
body.yc-tabler-shell .app-diy-hero p{
  margin:4px 0 0!important;
  line-height:1.45!important;
}

body.yc-element-shell .app-diy-stats,
body.yc-tabler-shell .app-diy-stats{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}

body.yc-element-shell .app-diy-stats span,
body.yc-tabler-shell .app-diy-stats span{
  min-width:0!important;
  height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:0 12px!important;
  border:1px solid #dfe7f1!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#667085!important;
  font-size:13px!important;
  font-weight:850!important;
}

body.yc-element-shell .app-diy-stats b,
body.yc-tabler-shell .app-diy-stats b{
  font-size:17px!important;
  line-height:1!important;
  color:#101828!important;
}

body.yc-element-shell .app-diy-type-tabs,
body.yc-tabler-shell .app-diy-type-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin-bottom:12px!important;
  padding:8px!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .app-diy-type-tabs a,
body.yc-tabler-shell .app-diy-type-tabs a{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 12px!important;
  border:1px solid #dfe7f1!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#475569!important;
  font-size:14px!important;
  font-weight:900!important;
  box-shadow:none!important;
}

body.yc-element-shell .app-diy-type-tabs a.active,
body.yc-tabler-shell .app-diy-type-tabs a.active{
  border-color:#2563eb!important;
  background:#eff6ff!important;
  color:#2563eb!important;
}

body.yc-element-shell .app-diy-type-tabs b,
body.yc-tabler-shell .app-diy-type-tabs b{
  min-width:22px!important;
  height:22px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#fff!important;
  color:inherit!important;
  font-size:12px!important;
}

body.yc-element-shell .yc-page-toolbar,
body.yc-tabler-shell .yc-page-toolbar{
  min-height:0!important;
  margin-bottom:12px!important;
  padding:14px 16px!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-element-shell .yc-page-toolbar h3,
body.yc-tabler-shell .yc-page-toolbar h3{
  margin:0!important;
  font-size:18px!important;
}

body.yc-element-shell .yc-page-toolbar p,
body.yc-tabler-shell .yc-page-toolbar p{
  margin:3px 0 0!important;
}

body.yc-element-shell .app-diy-library,
body.yc-tabler-shell .app-diy-library,
body.yc-element-shell .app-diy-groups-panel,
body.yc-tabler-shell .app-diy-groups-panel{
  padding:16px!important;
  margin-bottom:12px!important;
}

body.yc-element-shell .app-diy-library .card-header-inline,
body.yc-tabler-shell .app-diy-library .card-header-inline,
body.yc-element-shell .app-diy-groups-panel .card-header-inline,
body.yc-tabler-shell .app-diy-groups-panel .card-header-inline{
  margin-bottom:12px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid #edf1f6!important;
}

body.yc-element-shell .vehicle-theme-tile,
body.yc-tabler-shell .vehicle-theme-tile{
  grid-template-columns:160px minmax(0,1fr) auto!important;
  padding:12px!important;
}

body.yc-element-shell .vehicle-theme-art,
body.yc-tabler-shell .vehicle-theme-art{
  min-height:92px!important;
}

body.yc-element-shell .app-diy-theme-summary h4,
body.yc-tabler-shell .app-diy-theme-summary h4{
  font-size:16px!important;
}

@media (max-width:900px){
  body.yc-element-shell .app-diy-hero,
  body.yc-tabler-shell .app-diy-hero,
  body.yc-element-shell .app-diy-type-tabs,
  body.yc-tabler-shell .app-diy-type-tabs,
  body.yc-element-shell .vehicle-theme-tile,
  body.yc-tabler-shell .vehicle-theme-tile{
    grid-template-columns:1fr!important;
  }
  body.yc-element-shell .app-diy-stats,
  body.yc-tabler-shell .app-diy-stats{
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
}

/* User detail page: compact after-sales workbench layout. */
body.yc-element-shell .user-detail-profile,
body.yc-tabler-shell .user-detail-profile{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
  padding:16px!important;
  border-radius:14px!important;
}

body.yc-element-shell .user-detail-head,
body.yc-tabler-shell .user-detail-head{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  margin:0!important;
  padding:14px!important;
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}

body.yc-element-shell .user-detail-avatar,
body.yc-tabler-shell .user-detail-avatar{
  width:64px!important;
  height:64px!important;
  border-radius:14px!important;
}

body.yc-element-shell .user-detail-head h3,
body.yc-tabler-shell .user-detail-head h3{
  margin:0!important;
  font-size:18px!important;
}

body.yc-element-shell .user-detail-head p,
body.yc-tabler-shell .user-detail-head p{
  margin:4px 0 8px!important;
  line-height:1.45!important;
}

body.yc-element-shell .user-detail-profile .info-grid,
body.yc-tabler-shell .user-detail-profile .info-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  gap:10px!important;
}

body.yc-element-shell .user-detail-profile .info-grid div,
body.yc-tabler-shell .user-detail-profile .info-grid div{
  min-height:72px!important;
  padding:12px!important;
  border:1px solid #dfe7f1!important;
  border-radius:11px!important;
  background:#fff!important;
}

body.yc-element-shell #user-mqtt-monitor,
body.yc-tabler-shell #user-mqtt-monitor,
body.yc-element-shell .vehicle-location-card,
body.yc-tabler-shell .vehicle-location-card{
  padding:16px!important;
  border-radius:14px!important;
}

body.yc-element-shell .mqtt-summary-layout,
body.yc-tabler-shell .mqtt-summary-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,.42fr)!important;
  gap:14px!important;
}

body.yc-element-shell .mqtt-summary-grid,
body.yc-tabler-shell .mqtt-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:10px!important;
}

body.yc-element-shell .mqtt-summary-card,
body.yc-tabler-shell .mqtt-summary-card,
body.yc-element-shell .mqtt-side-panel,
body.yc-tabler-shell .mqtt-side-panel{
  padding:13px!important;
  border:1px solid #dfe7f1!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.yc-element-shell .status-grid.compact,
body.yc-tabler-shell .status-grid.compact{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:10px!important;
}

body.yc-element-shell .status-grid.compact > div,
body.yc-tabler-shell .status-grid.compact > div{
  min-height:70px!important;
  padding:12px!important;
  border:1px solid #dfe7f1!important;
  border-radius:11px!important;
  background:#fff!important;
}

body.yc-element-shell .user-device-form,
body.yc-tabler-shell .user-device-form{
  padding:16px!important;
  border-radius:14px!important;
}

body.yc-element-shell .user-device-form .grid,
body.yc-tabler-shell .user-device-form .grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:12px!important;
}

body.yc-element-shell .device-bind-summary,
body.yc-tabler-shell .device-bind-summary{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  margin:12px 0!important;
  padding:13px!important;
  border-radius:12px!important;
}

body.yc-element-shell .user-control-grid,
body.yc-tabler-shell .user-control-grid{
  display:grid!important;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  gap:14px!important;
  align-items:start!important;
}

body.yc-element-shell .user-control-grid > .card,
body.yc-tabler-shell .user-control-grid > .card{
  padding:16px!important;
  border-radius:14px!important;
}

body.yc-element-shell .command-actions,
body.yc-tabler-shell .command-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}

body.yc-element-shell .command-actions form,
body.yc-tabler-shell .command-actions form{
  margin:0!important;
}

body.yc-element-shell .vehicle-location-main,
body.yc-tabler-shell .vehicle-location-main{
  display:grid!important;
  grid-template-columns:minmax(260px,.55fr) minmax(0,1fr)!important;
  gap:12px!important;
}

body.yc-element-shell .vehicle-location-stats,
body.yc-tabler-shell .vehicle-location-stats,
body.yc-element-shell .vehicle-location-meta,
body.yc-tabler-shell .vehicle-location-meta{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:10px!important;
}

@media (max-width:1180px){
  body.yc-element-shell .user-detail-profile,
  body.yc-tabler-shell .user-detail-profile,
  body.yc-element-shell .mqtt-summary-layout,
  body.yc-tabler-shell .mqtt-summary-layout,
  body.yc-element-shell .user-control-grid,
  body.yc-tabler-shell .user-control-grid,
  body.yc-element-shell .vehicle-location-main,
  body.yc-tabler-shell .vehicle-location-main{
    grid-template-columns:1fr!important;
  }
}

/* User detail final polish: cleaner after-sales workflow page. */
body.yc-page-user_view .content,
body.yc-page-user_view .content-wrapper{
  background:#f6f8fb!important;
}

body.yc-page-user_view .yc-page-head-card{
  margin-bottom:14px!important;
}

body.yc-page-user_view .card{
  border:1px solid #e2e8f0!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
}

body.yc-page-user_view .user-detail-profile{
  grid-template-columns:280px minmax(0,1fr)!important;
  background:#fff!important;
}

body.yc-page-user_view .user-detail-head{
  align-self:stretch!important;
  align-content:start!important;
  background:linear-gradient(180deg,#f8fbff,#eef6ff)!important;
}

body.yc-page-user_view .user-detail-profile .info-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

body.yc-page-user_view .user-detail-profile .info-grid div,
body.yc-page-user_view .mqtt-summary-card,
body.yc-page-user_view .status-grid.compact > div,
body.yc-page-user_view .vehicle-location-meta > div,
body.yc-page-user_view .vehicle-location-stats > div{
  display:grid!important;
  align-content:center!important;
  gap:5px!important;
}

body.yc-page-user_view .user-detail-profile .info-grid b,
body.yc-page-user_view .mqtt-summary-card b,
body.yc-page-user_view .status-grid.compact b{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}

body.yc-page-user_view #user-mqtt-monitor,
body.yc-page-user_view .work-card,
body.yc-page-user_view .vehicle-location-card,
body.yc-page-user_view .user-device-form,
body.yc-page-user_view .user-control-grid > .card{
  margin-top:14px!important;
}

body.yc-page-user_view .work-card-head{
  grid-template-columns:44px minmax(0,1fr) auto!important;
  padding-bottom:12px!important;
  margin-bottom:12px!important;
  border-bottom:1px solid #eef2f7!important;
}

body.yc-page-user_view .work-card-head p{
  display:block!important;
  max-width:760px!important;
}

body.yc-page-user_view .mqtt-stream-window,
body.yc-page-user_view .payload-details{
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-page-user_view .mqtt-stream-window > summary,
body.yc-page-user_view .payload-details > summary{
  cursor:pointer!important;
  padding:12px 14px!important;
  font-weight:900!important;
}

body.yc-page-user_view .payload-window{
  max-height:260px!important;
  overflow:auto!important;
  border-top:1px solid #eef2f7!important;
}

body.yc-page-user_view .user-device-form .grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

body.yc-page-user_view .user-device-form .field,
body.yc-page-user_view .user-device-form textarea{
  min-width:0!important;
}

body.yc-page-user_view .command-actions{
  gap:10px!important;
}

body.yc-page-user_view .command-actions button{
  min-height:38px!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

body.yc-page-user_view .history-point-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:18px!important;
  align-items:center!important;
}

body.yc-page-user_view .history-point-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}

body.yc-page-user_view .history-point-panel{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-height:118px!important;
  padding:18px!important;
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  background:#fff!important;
}

body.yc-page-user_view .history-point-panel.is-track{border-left:4px solid #0f766e!important;}
body.yc-page-user_view .history-point-panel.is-curve{border-left:4px solid #2563eb!important;}
body.yc-page-user_view .history-point-icon{
  width:42px!important;height:42px!important;border-radius:10px!important;
  display:grid!important;place-items:center!important;background:#f1f5f9!important;color:#0f172a!important;
}
body.yc-page-user_view .history-point-panel small,
body.yc-page-user_view .history-point-panel p{display:block!important;color:#64748b!important;margin:0!important;}
body.yc-page-user_view .history-point-panel b{display:block!important;font-size:28px!important;line-height:1.2!important;color:#0f172a!important;margin:3px 0!important;}

body.yc-page-user_view .command-history-panel > summary{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:18px!important;cursor:pointer!important;list-style:none!important;font-weight:800!important;color:#0f172a!important;
}
body.yc-page-user_view .command-history-panel > summary::-webkit-details-marker{display:none!important;}
body.yc-page-user_view .command-history-panel > summary small{font-weight:500!important;color:#64748b!important;}
body.yc-page-user_view .command-history-table{margin-top:18px!important;}

body.yc-page-user_view .bms-raw-capture-panel{
  margin-top:18px!important;
  padding:18px!important;
  border:1px solid #dbe4ee!important;
  border-left:4px solid #0f766e!important;
  border-radius:10px!important;
  background:#f8fafc!important;
}
body.yc-page-user_view .bms-raw-capture-panel .status-stack{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  margin:14px 0!important;
}
body.yc-page-user_view .bms-raw-hex{
  max-height:220px!important;
  overflow:auto!important;
  padding:14px!important;
  border:1px solid #dbe4ee!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#0f172a!important;
  letter-spacing:0!important;
}

body.yc-page-user_view .table-wrap{
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  overflow:auto!important;
  background:#fff!important;
}

body.yc-page-user_view table th{
  background:#f8fafc!important;
  color:#475569!important;
  font-size:12px!important;
  white-space:nowrap!important;
}

body.yc-page-user_view table td{
  vertical-align:middle!important;
}

/* Final specificity for the iOS workspace after the shared admin button skin. */
body.yc-page-ios_install .ios-release-metrics>button{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  min-height:82px!important;
  padding:14px 16px!important;
  border:1px solid #e4e7ed!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#606266!important;
  text-align:left!important;
}
body.yc-page-ios_install .ios-release-metrics>button:hover,
body.yc-page-ios_install .ios-release-metrics>button.is-active{
  border-color:#a0cfff!important;
  background:#f5faff!important;
}
body.yc-page-ios_install .ios-workspace-tabs button{
  min-height:38px!important;
  padding:8px 14px!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#606266!important;
  box-shadow:none!important;
}
body.yc-page-ios_install .ios-workspace-tabs button.is-active{
  background:#ecf5ff!important;
  color:#409eff!important;
}
body.yc-page-ios_install .ios-readiness-list>button{
  display:grid!important;
  grid-template-columns:26px minmax(0,1fr) auto!important;
  min-height:68px!important;
  padding:12px 4px!important;
  border:0!important;
  border-bottom:1px solid #ebeef5!important;
  border-radius:0!important;
  background:#fff!important;
  color:#67c23a!important;
  text-align:left!important;
  box-shadow:none!important;
}
body.yc-page-ios_install .ios-readiness-list>button.needs-action{color:#e6a23c!important}
body.yc-page-ios_install .ios-readiness-list>button:last-child{border-bottom:0!important}
body.yc-page-ios_install .ios-workflow-form{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  padding:18px!important;
}
body.yc-page-ios_install .ios-workflow-form>button:last-child{
  width:100%!important;
  min-height:42px!important;
}
body.yc-page-ios_install .ios-result-dot.tag,
body.yc-page-ios_install .ios-result-dot.tag-red{
  width:9px!important;
  height:9px!important;
  min-height:9px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
}
body.yc-page-ios_install .ios-result-dot.tag{background:#67c23a!important}
body.yc-page-ios_install .ios-result-dot.tag-red{background:#f56c6c!important}

@media (max-width:1380px){
  body.yc-page-user_view .user-detail-profile .info-grid,
  body.yc-page-user_view .user-device-form .grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:860px){
  body.yc-page-user_view .user-detail-profile,
  body.yc-page-user_view .user-detail-profile .info-grid,
  body.yc-page-user_view .user-device-form .grid,
  body.yc-page-user_view .history-point-layout,
  body.yc-page-user_view .history-point-grid{
    grid-template-columns:1fr!important;
  }
  body.yc-page-user_view .bms-raw-capture-panel .status-stack{
    grid-template-columns:1fr!important;
  }
  body.yc-page-user_view .work-card-head{
    grid-template-columns:44px minmax(0,1fr)!important;
  }
}
