:root{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
  color:#252a34;
  background:#f5f6f8;
  --ink:#252a34;
  --muted:#596579;
  --line:#e5e8ee;
  --green:#4562d9;
  --accent:#4562d9;
  --accent-soft:#eef1ff;
  --progress-track:#e5eaf4;
  --temp:#d77e48;
  --hum:#4a87b8;
  --dew:#9b9abb;
  --nav-height:72px;
  font-synthesis:none}
*{
  box-sizing:border-box}
body{
  margin:0;
  min-width:320px}
button,input,select,textarea{
  font:inherit}
button,a,input,select,textarea,summary{
  -webkit-tap-highlight-color:transparent}
button,a{
  touch-action:manipulation}
button{
  cursor:pointer}
button:disabled{
  cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid #a9b8ff;
  outline-offset:3px}
[hidden]{
  display:none!important}
a{
  color:var(--accent)}
p{
  line-height:1.7}
button{
  border:1px solid #dce1e9;
  border-radius:8px;
  background:#fff;
  color:#414956;
  padding:10px 15px;
  min-height:40px;
  line-height:1.3;
  font-size:14px;
  font-weight:550;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:background .15s,border-color .15s,color .15s}
button:hover:not(:disabled){
  background:#f5f7fb;
  border-color:#b9c3d5}
button.primary,.button-link.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  box-shadow:0 3px 8px #4562d915}
button.primary:hover:not(:disabled){
  background:#354fc2;
  border-color:#354fc2}
button:disabled{
  opacity:.42;
  box-shadow:none}
button.text-button{
  background:none;
  border-color:transparent;
  box-shadow:none;
  padding:7px 4px;
  color:var(--accent)}
button.text-button:disabled{
  color:var(--muted)}
.ui-icon{
  width:20px;
  height:20px;
  flex:0 0 auto;
  vertical-align:middle}
.text-button .ui-icon{
  width:16px;
  height:16px}
.app-shell{
  display:grid;
  grid-template-columns:224px minmax(0,1fr);
  min-height:100vh;
  margin:0;
  max-width:none;
  padding:0}
.app-sidebar{
  position:sticky;
  top:0;
  align-self:start;
  height:100dvh;
  display:flex;
  flex-direction:column;
  background:#fff;
  border-right:1px solid var(--line);
  padding:34px 18px 24px}
.brand{
  display:flex;
  gap:11px;
  align-items:center;
  text-decoration:none;
  color:var(--ink);
  padding:0 13px;
  margin-bottom:47px}
.brand-symbol{
  width:35px;
  height:40px;
  border-radius:9px;
  background:#2b303b;
  color:#fff;
  display:grid;
  place-items:center}
.brand-symbol .ui-icon{
  width:24px;
  height:24px}
.brand b{
  font-size:23px;
  letter-spacing:-.8px;
  font-weight:750;
  line-height:1.1}

.brand small{
  white-space:nowrap;
  display:block;
  font-size:12px;
  letter-spacing:1.8px;
  color:#596579;
  margin-top:8px}
.nav-caption{
  font-size:12px;
  color:#596579;
  letter-spacing:2px;
  margin:0 16px 14px}
.tabs{
  display:flex;
  flex-direction:column;
  gap:7px;
  position:static;
  overflow:visible;
  padding:0;
  margin:0;
  z-index:auto;
  background:none}
.tabs .tab-btn{
  justify-content:flex-start;
  gap:12px;
  min-height:47px;
  border:0;
  background:transparent;
  padding:13px 16px;
  color:#596579;
  border-radius:8px;
  font-weight:500;
  white-space:nowrap}
.tabs .tab-btn:hover{
  background:#f5f6fa;
  color:#3e495c}
.tabs .tab-btn.active{
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:650}
.tabs .tab-btn .ui-icon{
  width:18px;
  height:18px}
.nav-label-short{
  display:none}
.sidebar-device{
  margin-top:auto;
  padding:17px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:10px;
  color:#596579}
.sidebar-device>.ui-icon{
  width:20px;
  height:20px}
.sidebar-device b{
  display:block;
  font-size:13px;
  font-weight:650;
  color:#555f70;
  margin-bottom:5px}
.connection-badge{
  display:block;
  font-size:12px;
  color:#596579}
.connection-dot{
  width:6px;
  height:6px;
  display:block;
  border-radius:50%;
  background:#c6cbd4;
  margin-left:auto}
.sidebar-foot{
  padding:16px 7px 0;
  text-align:center;
  color:#596579;
  font-size:12px}
.sidebar-foot small{
  display:block;
  margin-top:7px;
  font-size:11px}
.app-stage{
  min-width:0}
.workspace-topbar{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 42px;
  background:#fff;
  border-bottom:1px solid var(--line);
  gap:16px}
.workspace-breadcrumb{
  font-size:14px;
  color:#596579}
.desktop-breadcrumb>i{
  font-style:normal;
  color:#c5cbd5;
  padding:0 15px}
.desktop-breadcrumb>span{
  color:#4c5565}
.mobile-brand{
  display:none}
.topbar-actions{
  display:flex;
  gap:17px;
  align-items:center}
.icon-button{
  padding:8px;
  min-width:36px;
  background:none;
  border:0;
  color:#596579}
.connect-button{
  min-width:118px;
  min-height:39px;
  font-size:14px}
.connect-button .ui-icon{
  width:16px;
  height:16px}
.workspace-content{
  max-width:1540px;
  margin:auto;
  padding:37px 42px 22px}
.page-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:30px}
.eyebrow{
  font-size:12px;
  color:#596579;
  letter-spacing:1.8px;
  margin:0 0 10px}
.page-heading h1{
  font-size:28px;
  line-height:1.2;
  font-weight:660;
  letter-spacing:-1px;
  margin:0 0 11px}
.page-heading>div>p:last-child{
  font-size:14px;
  color:#596579;
  margin:0}
.display-spec{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  color:#596579;
  white-space:nowrap}
.display-spec i{
  height:3px;
  width:3px;
  border-radius:50%;
  background:#c3c9d3}
.connection-message{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 16px;
  background:#eef2fd;
  color:#52658e;
  border:1px solid #e1e7f7;
  border-radius:9px;
  margin-bottom:25px;
  font-size:14px}
.connection-message>.ui-icon{
  width:17px;
  height:17px}
#status{
  flex:1;
  min-width:180px}
.build-information{
  font-size:12px;
  color:#596579}
.build-information b{
  font-weight:500}
.connection-message .text-button{
  font-size:12px;
  min-height:28px}
.panel,.card{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:26px;
  margin-bottom:22px;
  box-shadow:0 2px 3px #27355302}
.connection-guide{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:252px;
  padding:31px 37px;
  position:relative;
  overflow:hidden}
.guide-copy{
  max-width:560px;
  position:relative;
  z-index:1}
.section-kicker{
  font-size:12px;
  display:flex;
  align-items:center;
  gap:6px;
  color:#596579;
  margin-bottom:18px}
.status-dot{
  width:6px;
  height:6px;
  background:#adb7c8;
  border-radius:50%}
.guide-copy h2{
  font-size:24px;
  font-weight:630;
  letter-spacing:-.7px;
  margin:0 0 13px;
  line-height:1.45}
.guide-copy>p{
  font-size:14px;
  color:#596579;
  max-width:440px;
  margin:0 0 23px}
.guide-actions{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap}
.guide-actions button{
  font-size:13px}
.guide-actions .primary{
  min-height:39px}
.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:30px 0 15px}
.section-heading h2{
  font-size:14px;
  font-weight:650;
  margin:0}
.section-heading button{
  font-size:12px;
  min-height:26px}
.metric-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px}
.metric-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:23px 24px}
.metric-card>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#596579;
  font-size:13px}
.metric-card .ui-icon{
  width:17px;
  height:17px;
  color:#596579}
.metric-card strong{
  display:block;
  font-size:39px;
  line-height:1.3;
  font-weight:520;
  letter-spacing:-1.8px;
  font-variant-numeric:tabular-nums;
  color:#343d4d;
  margin:18px 0 11px;
  white-space:nowrap}
.metric-card strong small{
  font-size:14px;
  letter-spacing:0;
  font-weight:400;
  color:#596579}
.metric-card p{
  font-size:11px;
  color:#596579;
  margin:0}
.reading-time{
  font-size:12px;
  color:#596579;
  margin:12px 1px 0}
.workspace-shortcuts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px;
  margin-top:31px}
.shortcut-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  min-height:103px;
  justify-content:flex-start;
  text-align:left;
  gap:14px;
  padding:20px 22px;
  font-weight:400}
.shortcut-card:hover:not(:disabled){
  background:#fff;
  border-color:#c6cff1}
.shortcut-icon{
  width:40px;
  height:40px;
  background:#f2f4fb;
  color:#596579;
  display:grid;
  place-items:center;
  border-radius:9px}
.shortcut-icon>.ui-icon{
  width:20px;
  height:20px}
.shortcut-card>span:nth-child(2){
  min-width:0}
.shortcut-card b{
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:7px}
.shortcut-card small{
  display:block;
  font-size:12px;
  color:#596579;
  line-height:1.6}
.shortcut-card>.ui-icon{
  width:15px;
  height:15px;
  margin-left:auto;
  color:#596579}
.overview-footnote{
  display:flex;
  align-items:center;
  gap:8px;
  padding:23px 2px;
  color:#596579;
  font-size:12px;
  line-height:1.7}
.overview-footnote>.ui-icon{
  width:14px;
  height:14px}
.overview-footnote>a{
  margin-left:auto;
  color:#596579;
  text-decoration:none;
  white-space:nowrap}
.overview-footnote>a .ui-icon{
  width:12px;
  height:12px}
.site-footer{
  margin-top:35px;
  border-top:1px solid var(--line);
  padding:19px 0 5px;
  color:#596579;
  text-align:center;
  font-size:11px;
  line-height:1.9}
.site-footer a{
  color:#596579;
  text-decoration:none}
.site-footer>div{
  margin-top:5px!important}
.notice{
  font-size:14px;
  line-height:1.7;
  background:#fff8ec;
  border:1px solid #f1dfbd;
  color:#596579;
  padding:12px 16px;
  border-radius:8px;
  margin:15px 0}
.hint,.context-hint,.custom-hint,.custom-muted{
  font-size:13px;
  color:#596579;
  line-height:1.75}
.context-hint{
  margin:10px 0 0}
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px}
.section-head h2{
  margin:0;
  font-size:15px;
  font-weight:650}
.actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap}
.badge{
  display:inline-flex;
  font-size:12px;
  border:1px solid var(--line);
  border-radius:6px;
  padding:6px 10px;
  color:#596579;
  background:#f8f9fb;
  white-space:nowrap}
.progress-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:13px;
  margin:16px 0 8px}
progress{
  appearance:none;
  -webkit-appearance:none;
  display:block;
  width:100%;
  height:8px;
  margin:0 0 12px;
  border:0;
  border-radius:999px;
  overflow:hidden;
  background:var(--progress-track);
  color:var(--accent)}
progress::-webkit-progress-bar{
  background:var(--progress-track);
  border-radius:999px}
progress::-webkit-progress-value{
  background:var(--accent);
  border-radius:999px}
progress::-moz-progress-bar{
  background:var(--accent);
  border-radius:999px}
#percentage{font-variant-numeric:tabular-nums;color:var(--accent);font-weight:650}
#transfer-status{color:var(--ink)}
#transfer-detail{font-size:13px;line-height:1.7;color:var(--muted);margin:8px 0 18px}
.history-card:not([data-transfer-busy=true])>.progress-title,.history-card:not([data-transfer-busy=true])>#progress,.history-card:not([data-transfer-busy=true])>#transfer-detail{
  display:none}
.history-card .legend{
  display:flex;
  gap:20px;
  align-items:center;
  font-size:12px;
  color:#596579;
  margin:0 0 13px;
  flex-wrap:wrap}
.dot{
  width:7px;
  height:7px;
  display:inline-block;
  margin-right:6px;
  border-radius:50%}
.dot.temperature{
  background:var(--temp)}
.dot.humidity{
  background:var(--hum)}
.dot.dew{
  background:var(--dew)}
#chart-source{
  display:inline-block;
  margin:0 0 18px;
  background:#f4f6fa;
  border-radius:6px;
  padding:6px 9px;
  font-size:11px;
  color:#596579}
.chart-wrap{
  position:relative;
  background:#fff;
  margin-top:6px;
  border-radius:7px;
  overflow:hidden}
.chart-wrap-mini{
  margin-top:15px;
  box-shadow:inset 0 0 0 1px var(--line)}
.chart-gl{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0}
#chart-main-gl{
  z-index:1}
#chart-main{
  display:block;
  position:relative;
  z-index:0;
  width:100%;
  height:350px;
  border:0;
  border-radius:7px;
  background:transparent;
  cursor:grab;
  user-select:none;
  touch-action:none}
#chart-mini{
  display:block;
  position:relative;
  z-index:1;
  width:100%;
  height:78px;
  border:0;
  border-radius:7px;
  background:transparent;
  cursor:grab;
  user-select:none;
  touch-action:none}
.mini-summary{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:11px;
  color:#596579;
  margin-top:10px;
  line-height:1.7}
.demo-insight{
  margin:24px 0 6px;
  padding:18px 0 0;
  border-top:1px solid var(--line, #e6e9f0)}
.demo-insight img{
  display:block;
  max-width:100%;
  height:auto;
  border-radius:7px}
.tooltip{
  position:absolute;
  pointer-events:none;
  background:#303a4b;
  color:#fff;
  border-radius:7px;
  padding:9px 12px;
  font-size:13px;
  line-height:1.7;
  white-space:nowrap;
  box-shadow:0 4px 14px #27384c22;
  z-index:4}
.cursor-line{
  position:absolute;
  top:18px;
  bottom:34px;
  width:1px;
  background:#59657999;
  pointer-events:none;
  z-index:2}
.selection-box{
  position:absolute;
  top:18px;
  bottom:34px;
  background:#4562d91a;
  border-left:1px solid var(--accent);
  border-right:1px solid var(--accent);
  pointer-events:none;
  z-index:3}
.selection-info{
  display:flex;
  gap:8px;
  align-items:stretch;
  font-size:13px;
  margin:14px 0 0}
.selection-cell{
  flex:1;
  min-width:0;
  background:#f5f7fb;
  border:1px solid var(--line);
  border-radius:7px;
  padding:10px}
.selection-cell b{
  font-size:12px;
  display:block;
  font-weight:600}
.selection-cell .stat-row{
  display:flex;
  gap:8px;
  margin-top:8px}
.selection-cell .stat{
  flex:1;
  text-align:center}
.selection-cell .stat-label{
  display:block;
  color:var(--muted);
  font-size:11px}
.selection-cell .stat-value{
  display:block;
  font-size:14px;
  font-weight:650;
  margin-top:5px}
.history-import{
  border-top:1px solid var(--line);
  margin-top:26px;
  padding-top:21px}
.history-import>summary,.editor-panel>summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-size:14px;
  font-weight:600;
  min-height:26px}
.history-import>summary::after,.editor-panel>summary::after{
  content:'＋';
  font-size:16px;
  color:#596579;
  margin-left:auto}
.history-import[open]>summary::after,.editor-panel[open]>summary::after{
  content:'−'}
.history-import>summary>span{
  font-size:12px;
  color:#596579;
  font-weight:400}
.history-import h3{
  font-size:14px;
  margin:24px 0 10px}
.history-import>.hint{
  max-width:800px}
.history-import .actions{
  align-items:flex-start}
.history-import input[type=file]{
  font-size:14px;
  max-width:100%;
  min-width:0}
.history-import label{
  font-size:13px;
  color:var(--muted);
  padding-top:12px}
.history-import button{
  font-size:13px}
.device-settings .section-head{
  margin-bottom:8px}
.settings-group{
  display:grid;
  grid-template-columns:195px minmax(0,1fr);
  gap:30px;
  border-top:1px solid var(--line);
  padding:27px 0}
.settings-group-title h3{
  font-size:14px;
  font-weight:650;
  margin:0 0 8px}
.settings-group-title p{
  font-size:13px;
  color:#596579;
  margin:0}
.settings-group-fields{
  display:flex;
  flex-direction:column;
  gap:26px;
  min-width:0}
.setting-field{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px}
.setting-field>div:first-child{
  min-width:0}
.setting-field label{
  display:block;
  font-size:14px;
  font-weight:550;
  color:#4c5565;
  line-height:1.6}
.setting-field .hint{
  margin:6px 0 0;
  font-size:12px;
  max-width:540px}
.setting-field .actions{
  flex-shrink:0;
  gap:8px}
.setting-field select{
  font-size:13px;
  min-height:39px;
  min-width:130px;
  max-width:220px;
  border:1px solid #dce2ec;
  padding:9px 11px;
  border-radius:7px;
  color:#596579;
  background:#fff}
.setting-field select:disabled{
  background:#f7f8fa;
  color:#596579}
.setting-field button{
  font-size:12px;
  min-height:36px}
.setting-switch{
  appearance:none;
  -webkit-appearance:none;
  flex:0 0 auto;
  width:35px;
  height:21px;
  border-radius:12px;
  border:1px solid #d6dde7;
  background:#e8ebf1;
  position:relative;
  cursor:pointer}
.setting-switch::after{
  content:'';
  position:absolute;
  top:2px;
  left:2px;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px #17263820;
  transition:transform .15s}
.setting-switch:checked{
  background:var(--accent);
  border-color:var(--accent)}
.setting-switch:checked::after{
  transform:translateX(14px)}
.setting-switch:disabled{
  opacity:.45;
  cursor:not-allowed}
.settings-footer{
  border-top:1px solid var(--line);
  padding-top:18px}
.settings-footer .hint{
  margin:0}
.wallpaper-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:-6px;
  margin-bottom:21px}
.wallpaper-intro>p{
  font-size:13px;
  color:#596579;
  margin:0}
.local-draft-badge{
  font-size:11px;
  color:#596579;
  white-space:nowrap;
  padding:5px 8px;
  border-radius:5px;
  background:#edf3eb}
.custom-image{
  margin:0}
.custom-status{
  font-size:13px;
  line-height:1.8;
  min-height:0;
  margin:10px 0;
  color:#596579;
  overflow-wrap:anywhere}
.custom-status:empty{
  display:none}
.workflow-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:17px}
.step-index{
  font-size:12px;
  color:#596579;
  border:1px solid #dce2ec;
  border-radius:6px;
  min-width:27px;
  height:27px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-variant-numeric:tabular-nums;
  font-weight:600;
  flex:0 0 auto}
.workflow-head h2{
  font-size:14px;
  font-weight:650;
  margin:0}
.workflow-head p{
  font-size:12px;
  color:#596579;
  margin:6px 0 0}
.workflow-head>button{
  margin-left:auto;
  font-size:12px}
.slot-section{
  padding:23px 25px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
  margin:0 0 28px}
.slot-previews{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px}
.slot-tile{
  min-width:0}
.slot-card{
  display:block;
  width:100%;
  border:1px solid #e6e9ef;
  border-radius:8px;
  min-height:0;
  padding:12px;
  background:#fbfcfd;
  text-align:left;
  font-weight:400;
  line-height:normal}
.slot-card:hover:not(:disabled){
  border-color:#bbc6e8;
  background:#fafbff}
.slot-card.selected{
  border-color:#6c83e4;
  background:#f8f9ff;
  box-shadow:0 0 0 1px #6c83e40d}
.slot-number{
  font-size:11px;
  color:#596579;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:9px;
  font-variant-numeric:tabular-nums}
.slot-check{
  width:15px;
  height:15px;
  border-radius:50%;
  border:1px solid #e0e5ed;
  display:grid;
  place-items:center;
  background:#fff;
  color:transparent}
.slot-check .ui-icon{
  width:10px;
  height:10px;
  stroke-width:2.5}
.slot-card.selected .slot-check{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff}
.slot-card canvas{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  aspect-ratio:4/3;
  background:#fff;
  border:1px solid #edf0f5;
  border-radius:4px;
  image-rendering:pixelated}
.slot-caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-top:10px}
.slot-caption>b{
  font-size:12px;
  font-weight:550;
  color:#596579}
.slot-caption>span{
  font-size:11px;
  color:#596579}
.slot-full{
  display:block;
  font-size:11px;
  text-decoration:none;
  color:#596579;
  border:0;
  background:none;
  min-height:25px;
  padding:5px 0;
  margin-top:3px;
  width:100%;
  font-weight:400}
.slot-full:disabled{
  opacity:.45}
.context-hint{
  font-size:11px}
.wallpaper-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,300px);
  grid-template-areas:'preview layers' 'preview output';
  gap:20px 24px;
  align-items:start;
  margin:0}
.wallpaper-layout>div{
  min-width:0}
.wallpaper-layout>.editor-preview-column{
  grid-area:preview;
  align-self:start}
.wallpaper-layout>.editor-pane-layers{
  grid-area:layers}
.wallpaper-layout>.editor-pane-output{
  grid-area:output}
.mobile-content-hint{
  display:none}
.add-buttons{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:13px!important}
.add-buttons>button{
  font-size:12px;
  min-height:34px;
  padding:8px 12px}
.add-buttons .ui-icon{
  width:14px;
  height:14px}
.project-tools{
  position:relative;
  margin-left:auto;
  font-size:12px;
  color:#7d899b}
.project-tools>summary{
  cursor:pointer;
  list-style:none;
  padding:10px}
.project-tools-menu{
  position:absolute;
  right:0;
  top:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  min-width:140px;
  padding:6px;
  box-shadow:0 10px 30px #21324d15;
  z-index:15}
.project-tools-menu button,.project-tools-menu label{
  display:block;
  width:100%;
  text-align:left;
  font-size:12px;
  min-height:34px;
  background:none;
  border:0;
  padding:8px;
  color:#677287;
  cursor:pointer}
.project-tools-menu #image-clear{
  color:#b57469}
.paper-stage{
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  overflow:hidden}
.canvas-view-switch{
  display:flex;
  gap:5px;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding:12px 15px}
.canvas-view-switch button{
  font-size:12px;
  min-height:31px;
  padding:7px 11px;
  border:0;
  background:transparent;
  color:#596579}
.canvas-view-switch button[aria-pressed=true]{
  background:#edf1fc;
  color:var(--accent)}
.canvas-view-switch>span{
  font-size:11px;
  color:#596579;
  margin-left:auto;
  white-space:nowrap}
.canvas-pin{
  padding:26px 14px;
  background:#f5f6f8}
.custom-canvas-viewport{
  max-width:100%}
.custom-canvas-wrap{
  border-radius:4px;
  box-shadow:0 2px 8px #24345208}
.editor-pane-canvas{
  padding:21px 14px 16px;
  background:#f5f6f8}
.custom-image[data-canvas-view=editor]:not(.mobile-wallpaper) .editor-pane-canvas{
  display:none}
.custom-image[data-canvas-view=output] .canvas-pin{
  display:none}
.editor-pane-canvas>.desktop-editor-hint{
  display:none}
.custom-output-row{
  margin:0}
.custom-output-row>.custom-hint{
  display:block;
  color:#596579;
  font-size:11px;
  margin:0 0 12px}
.editor-pane-canvas>#image-compression-state{
  font-size:11px;
  margin:14px 0 0;
  text-align:center}
.editor-pane-canvas>p:last-child{
  font-size:11px;
  margin:8px 0 0;
  text-align:center}
.mobile-preview-heading{
  display:none}
.editor-pane-layers{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px;
  display:grid;
  gap:19px}
.editor-pane-layers>.custom-field{
  font-size:12px;
  margin:0}
.custom-field{
  font-size:12px;
  color:#596579;
  display:block;
  line-height:1.6;
  margin-bottom:0}
.custom-field textarea,.custom-field input:not([type=checkbox]):not([type=range]):not([type=file]),.custom-field select{
  font-size:13px;
  padding:9px 10px;
  border-color:#dce2eb;
  border-radius:6px;
  color:#667186;
  margin-top:6px;
  line-height:1.6}
.custom-field textarea{
  font-family:inherit;
  min-height:90px;
  background:#fcfcfd;
  resize:vertical}
.custom-field input[type=file]{
  width:100%;
  max-width:100%;
  font-size:11px;
  border:1px dashed #d9e0ec;
  background:#fafbfe;
  border-radius:7px;
  padding:8px;
  color:#596579}
.custom-field input[type=file]::file-selector-button{
  font:inherit;
  background:#fff;
  color:#7c8a9f;
  border:1px solid #dce2ec;
  border-radius:4px;
  padding:7px 8px;
  margin-right:7px}
.editor-panel{
  background:transparent;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  padding:18px 0 0}
.editor-panel h3{
  font-size:13px;
  color:#5f6b7f;
  margin:0 0 13px;
  font-weight:650}
.editor-fields{
  grid-template-columns:1fr 1fr;
  gap:12px 10px}
.editor-panel .custom-row{
  display:flex;
  flex-wrap:wrap;
  gap:5px}
.editor-panel button{
  font-size:11px;
  min-height:29px;
  padding:6px 8px}
.editor-panel>summary{
  font-size:13px;
  color:#6c788c}
.editor-panel[open]>summary{
  margin-bottom:17px}
#image-layers{
  font-size:12px;
  min-height:85px;
  background:#fcfcfd}
#image-layers option{
  padding:8px}
.font-advanced{
  grid-column:1/-1}
.font-advanced summary{
  font-size:12px;
  cursor:pointer;
  min-height:30px;
  display:flex;
  align-items:center;
  color:var(--accent)}
.font-advanced .custom-field{
  margin-top:12px}
.custom-field input[type=color]{
  height:31px;
  width:100%;
  min-width:0;
  padding:3px}
.custom-field input[type=range]{
  width:100%;
  accent-color:var(--accent);
  height:4px;
  cursor:pointer;
  margin:15px 0 5px}
.custom-controls{
  display:grid;
  gap:19px;
  min-width:0}
.custom-controls output{
  color:#6e7f9c;
  float:right;
  font-variant-numeric:tabular-nums}
.custom-controls #image-invert{
  font-size:12px;
  min-height:35px;
  margin-top:2px}
#image-mono-panel{
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px;
  background:#fff}
#image-mono-panel>summary{
  font-size:13px;
  font-weight:600;
  color:#637087;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:24px;
  list-style:none}
#image-mono-panel>summary::after{
  content:'＋';
  color:#596579;
  font-size:14px;
  margin-left:10px}
#image-mono-panel[open]>summary::after{
  content:'−'}
#image-mono-panel>summary>span{
  font-size:11px;
  font-weight:400;
  color:#596579;
  display:none}
.simple-content-controls{
  margin-bottom:20px}
.simple-content-controls[hidden]{
  display:none}
.mode-switch{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-bottom:20px}
.mode-switch>button{
  display:flex;
  gap:7px;
  border:1px solid #e1e6ef;
  border-radius:8px;
  color:#596579;
  background:#fff;
  font-size:14px;
  min-height:43px;
  font-weight:500}
.mode-switch>button[aria-pressed=true]{
  border-color:#8b9be4;
  color:var(--accent);
  background:#f1f3ff}
.mode-switch .ui-icon{
  width:16px;
  height:16px}
.image-dropzone{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  border:1px dashed #cbd4e9;
  background:#f9faff;
  border-radius:10px;
  min-height:146px;
  position:relative;
  color:#596579;
  cursor:pointer;
  overflow:hidden}
.image-dropzone>.ui-icon{
  width:25px;
  height:25px;
  color:#596579}
.image-dropzone>b{
  font-size:14px;
  font-weight:550;
  max-width:90%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis}
.image-dropzone>span{
  font-size:12px;
  color:#596579}
.image-dropzone input[type=file]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
  width:100%;
  height:100%}
.image-dropzone:focus-within{
  outline:3px solid #a9b8ff;
  outline-offset:2px}
.upload-bar{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:28px;
  background:#fff;
  border:1px solid var(--line);
  padding:17px 22px;
  border-radius:10px}
.upload-context{
  display:flex;
  align-items:center;
  gap:11px;
  flex:1;
  min-width:0}
.upload-context>.ui-icon{
  color:#596579;
  width:23px;
  height:23px}
.upload-context b{
  font-size:13px;
  font-weight:600;
  color:#657289}
.upload-context p{
  font-size:12px;
  color:#596579;
  margin:4px 0 0;
  line-height:1.5}
.upload-context .upload-connect{
  font-size:12px;
  margin-left:10px;
  white-space:nowrap}
.upload-actions{
  display:flex;
  gap:10px;
  align-items:center}
.upload-actions>button{
  font-size:13px;
  min-height:38px;
  padding:10px 21px}
.upload-actions #image-cancel:disabled{
  display:none}
.custom-progress{
  width:100%;
  height:8px;
  border-radius:999px;
  background:var(--progress-track);
  overflow:hidden}
.custom-progress>span{
  display:block;
  height:100%;
  background:var(--accent);
  transition:width .15s}
.upload-result:not(:empty){
  border:1px solid #e0e8f5;
  background:#f3f6fe;
  border-radius:8px;
  padding:13px 16px;
  font-size:12px;
  color:#596579}
.wallpaper-footnote{
  font-size:11px;
  text-align:center;
  color:#596579;
  margin:12px 0 0}
.help-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px}
.help-intro-summary>.ui-icon{
  color:#596579;
  width:27px;
  height:27px;
  margin-bottom:14px}
.help-intro h2{
  font-size:17px;
  font-weight:600;
  margin:0 0 10px}
.help-intro p{
  font-size:14px;
  color:#596579;
  margin:0}
.button-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border:1px solid #dce3ef;
  border-radius:7px;
  color:#596579;
  padding:10px 13px;
  white-space:nowrap;
  font-size:13px}
.button-link .ui-icon{
  width:14px;
  height:14px}
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px}
.about-card h2{
  font-size:15px;
  font-weight:650;
  margin:0 0 12px}
.about-card h3{
  font-size:14px;
  font-weight:600;
  margin:0 0 12px;
  color:#626f84}
.about-card p,.about-card li{
  font-size:13px;
  color:#596579;
  line-height:1.9;
  margin:7px 0}
.about-card a{
  color:#596579;
  text-decoration:none}
.about-card ul{
  padding-left:17px}
.about-card .about-email{
  font-size:13px;
  margin-bottom:24px}
.about-card .about-qq{
  margin-top:-14px;
  margin-bottom:24px}
.about-card .about-qq strong{
  color:var(--ink);
  font-weight:650}
#firmware-download{
  display:inline-flex;
  border:1px solid #dce3ee;
  padding:10px 13px;
  min-height:37px;
  border-radius:7px;
  font-size:13px;
  color:var(--accent);
  margin-top:12px}
.about-links{
  margin-top:28px;
  border-top:1px solid var(--line);
  padding-top:24px}
.link-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px}
.about-link[hidden]{
  display:none}
.about-link{
  display:flex;
  flex-direction:column;
  gap:7px;
  border:1px solid var(--line);
  border-radius:7px;
  padding:15px;
  background:#fcfcfd}
.about-link b{
  font-size:13px;
  font-weight:550;
  color:#596579}
.about-link span{
  font-size:11px;
  color:#596579}
.model-preview{
  width:100%;
  height:420px;
  position:relative}
.model-preview canvas{
  display:block;
  max-width:100%;
  height:100%;
  touch-action:none}
.photo-card .section-head{
  flex-wrap:wrap}
.photo-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px}
.photo-strip figure{
  margin:0;
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
  background:#f8f9fb}
.photo-strip img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:contain}
.photo-card .badge{
  font-size:11px}
details.card>summary{
  display:flex;
  justify-content:space-between;
  cursor:pointer;
  list-style:none;
  align-items:center;
  font-size:14px;
  font-weight:600;
  gap:14px}
details.card[open]>summary{
  margin-bottom:22px}
dl{
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:10px;
  font-size:13px;
  margin:0 0 20px}
dt{
  color:#596579}
dd{
  margin:0;
  overflow-wrap:anywhere;
  color:#596579;
  font-variant-numeric:tabular-nums}
label[for=activation-input]{
  font-size:13px;
  color:#596579}
input[type=text]{
  width:100%;
  border:1px solid #dce3ed;
  border-radius:7px;
  padding:11px 12px;
  min-height:40px;
  color:#596579;
  font-size:14px;
  margin-top:7px}
dialog{
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  color:var(--ink);
  padding:0;
  max-width:min(440px,calc(100vw - 36px));
  box-shadow:0 22px 80px #24324a26}
dialog::backdrop{
  background:#17243b66;
  backdrop-filter:blur(2px)}
.dialog-body{
  padding:28px}
.dialog-body h2{
  font-size:18px;
  font-weight:620;
  letter-spacing:-.5px;
  margin:0 0 15px}
.dialog-body p{
  font-size:14px;
  color:#596579;
  line-height:1.9;
  margin:0 0 22px}
.dialog-body .actions{
  justify-content:flex-end}
.dialog-body .actions button{
  font-size:14px;
  min-height:40px}
.dialog-body .custom-field{
  font-size:14px}
summary::-webkit-details-marker{
  display:none}
@media(min-width:1600px){
  .workspace-content{
  padding-left:50px;
  padding-right:50px}
.connection-guide{
  min-height:270px}
.wallpaper-layout{
  grid-template-columns:minmax(0,1fr) 320px}
}
@media(min-width:721px) and (max-width:1140px){
  .app-shell{
  grid-template-columns:190px minmax(0,1fr)}
.app-sidebar{
  padding-left:12px;
  padding-right:12px}
.workspace-topbar{
  padding:0 27px}
.workspace-content{
  padding:28px 27px}
.connection-guide{
  padding:28px}



.guide-copy h2{
  font-size:21px}
.metric-card{
  padding:19px 17px}
.metric-card strong{
  font-size:32px}
.wallpaper-layout{
  grid-template-columns:minmax(0,1fr) minmax(0,255px);
  gap:17px}
.editor-pane-layers{
  padding:14px}
.settings-group{
  grid-template-columns:140px minmax(0,1fr);
  gap:20px}
.setting-field{
  gap:15px}
.setting-field .actions{
  flex-wrap:wrap;
  justify-content:flex-end}
.setting-field .hint{
  font-size:12px}
.shortcut-card{
  padding:17px 15px}
.shortcut-icon{
  width:34px;
  height:34px}
.shortcut-card small{
  font-size:11px}
.overview-footnote>a{
  display:none}
}
@media(max-width:720px){
  body{
  background:#f6f7f9}
.app-shell{
  display:block;
  min-width:0}
.app-sidebar{
  position:fixed;
  inset:auto 0 0;
  height:calc(var(--nav-height) + env(safe-area-inset-bottom));
  width:100%;
  padding:0 10px env(safe-area-inset-bottom);
  border:0;
  border-top:1px solid #e5e9f0;
  z-index:60;
  background:#fffffff5;
  backdrop-filter:blur(15px);
  display:block}
.brand,.nav-caption,.sidebar-device,.sidebar-foot{
  display:none}
.tabs{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;
  height:var(--nav-height);
  padding:6px 0}
.tabs .tab-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:0;
  min-height:52px;
  padding:6px 3px;
  border-radius:7px;
  font-size:11px;
  font-weight:500;
  color:#596579}
.tabs .tab-btn.active{
  background:none;
  color:var(--accent)}
.tabs .tab-btn .ui-icon{
  width:20px;
  height:20px;
  stroke-width:1.6}
.tabs .tab-btn.active .ui-icon{
  stroke-width:2}
.nav-label-long{
  display:none}
.nav-label-short{
  display:inline}
.workspace-topbar{
  height:67px;
  padding:0 19px;
  position:sticky;
  top:0;
  z-index:35;
  background:#fefefef5;
  backdrop-filter:blur(12px)}
.desktop-breadcrumb{
  display:none}
.mobile-brand{
  display:inline;
  font-size:19px;
  font-weight:750;
  letter-spacing:-.6px;
  color:#343d4f}
.mobile-brand>span{
  color:var(--accent)}
.topbar-actions{
  gap:8px}
.help-action{
  display:none}
.connect-button{
  min-width:103px;
  min-height:35px;
  font-size:13px;
  padding:8px 11px}
.connect-button .ui-icon{
  width:14px;
  height:14px}
.workspace-content{
  padding:25px 17px calc(36px + var(--nav-height) + env(safe-area-inset-bottom));
  max-width:none}
.page-heading{
  margin-bottom:23px;
  gap:12px;
  align-items:flex-start}
.page-heading h1{
  font-size:25px;
  letter-spacing:-.9px;
  margin-bottom:9px}
.eyebrow{
  font-size:11px;
  letter-spacing:1.5px;
  margin-bottom:9px}
.page-heading>div>p:last-child{
  font-size:13px;
  max-width:290px;
  line-height:1.8}
.display-spec{
  display:none}
.panel,.card{
  padding:20px 18px;
  border-radius:10px;
  margin-bottom:18px}
.connection-message{
  padding:11px 12px;
  margin-bottom:22px;
  font-size:13px;
  gap:8px}
.connection-message .build-information{
  display:none}
#status{
  min-width:0;
  font-size:13px;
  line-height:1.7}
.connection-message #reboot{
  display:none}
.connection-guide{
  min-height:0;
  padding:25px 22px;
  align-items:flex-start}

.section-kicker{
  font-size:11px;
  margin-bottom:15px}
.guide-copy h2{
  font-size:20px;
  line-height:1.6;
  max-width:245px;
  letter-spacing:-.7px}
.guide-copy>p{
  font-size:13px;
  line-height:1.9;
  margin-bottom:22px}
.guide-actions{
  gap:10px;
  justify-content:space-between}
.guide-actions button{
  font-size:12px;
  min-height:39px}
.guide-actions .primary{
  padding:10px 12px}
.guide-actions .text-button{
  font-size:11px;
  padding:6px 0;
  gap:3px}
.section-heading{
  margin:25px 0 12px}
.section-heading h2{
  font-size:14px}
.section-heading button{
  font-size:11px}
.metric-grid{
  gap:9px}
.metric-card{
  padding:17px 11px;
  border-radius:8px}
.metric-card>div{
  font-size:11px}
.metric-card .ui-icon{
  width:12px;
  height:12px}
.metric-card strong{
  font-size:27px;
  letter-spacing:-1px;
  margin:16px 0 9px}
.metric-card strong small{
  font-size:12px}
.metric-card p{
  font-size:11px;
  line-height:1.6}
.reading-time{
  font-size:11px;
  margin-top:11px}
.workspace-shortcuts{
  grid-template-columns:1fr;
  gap:10px;
  margin-top:24px}
.shortcut-card{
  padding:16px 17px;
  min-height:87px;
  border-radius:8px;
  gap:13px}
.shortcut-icon{
  width:36px;
  height:36px}
.shortcut-card b{
  font-size:13px;
  margin-bottom:5px}
.shortcut-card small{
  font-size:11px}
.shortcut-card>.ui-icon{
  width:14px;
  height:14px}
.overview-footnote{
  align-items:flex-start;
  font-size:11px;
  padding:19px 2px;
  gap:6px}
.overview-footnote>.ui-icon{
  margin-top:3px}
.overview-footnote>a{
  display:none}
.site-footer{
  font-size:11px;
  margin-top:24px;
  line-height:1.9;
  padding-top:16px}
.history-card{
  padding:20px 13px}
.section-head{
  align-items:flex-start;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px}
.section-head h2{
  font-size:14px}
.history-card .section-head>.actions{
  gap:6px}
.history-card .section-head button{
  min-height:35px;
  font-size:12px;
  padding:8px 10px}
.history-card .legend{
  font-size:11px;
  gap:14px;
  margin-top:22px}
#chart-source{
  font-size:11px;
  line-height:1.7;
  max-width:100%;
  padding:6px 8px;
  margin-bottom:10px}
#chart-main{
  height:285px}
#chart-mini{
  height:65px}
.mini-summary{
  font-size:11px;
  gap:5px}
.mini-summary>span:last-child{
  display:none}
.demo-insight{
  margin-top:20px;
  padding-top:16px}
.selection-info{
  flex-direction:column}
.history-import{
  padding-top:17px;
  margin-top:23px}
.history-import>summary{
  font-size:13px;
  gap:5px}
.history-import>summary>span{
  font-size:11px}
.history-import .hint{
  font-size:12px}
.history-import>.actions>label{
  width:100%;
  padding-top:0}
.history-import>.actions>input[type=file]{
  width:100%;
  font-size:12px}
.history-import button{
  min-height:40px}
.settings-group{
  display:block;
  padding:24px 0}
.settings-group-title{
  margin-bottom:24px}
.settings-group-title h3{
  font-size:14px}
.settings-group-title p{
  font-size:12px}
.settings-group-fields{
  gap:26px}
.setting-field{
  gap:16px;
  align-items:center}
.setting-field label{
  font-size:13px}
.setting-field .hint{
  font-size:12px;
  line-height:1.8}
.setting-field select{
  font-size:12px;
  max-width:145px;
  min-width:120px;
  min-height:42px;
  padding:10px 9px}
.setting-field.display-range{
  align-items:flex-start;
  flex-direction:column;
  gap:14px}
.display-range .actions{
  width:100%}
.display-range select{
  max-width:none;
  flex:1}
.display-range button{
  min-height:42px}
.setting-switch{
  width:37px;
  height:23px}
.setting-switch::after{
  width:17px;
  height:17px}
.setting-switch:checked::after{
  transform:translateX(14px)}
.settings-footer .hint{
  font-size:11px}
.wallpaper-intro{
  gap:10px;
  margin-bottom:19px}
.wallpaper-intro>p{
  font-size:11px;
  line-height:1.8;
  max-width:200px}
.local-draft-badge{
  font-size:11px;
  padding:5px 7px}
.slot-section{
  padding:19px 14px 12px;
  border-radius:10px;
  margin-bottom:25px}
.workflow-head{
  gap:9px;
  margin-bottom:16px;
  flex-wrap:wrap}
.step-index{
  height:24px;
  min-width:24px;
  font-size:11px;
  border-radius:5px}
.workflow-head h2{
  font-size:14px}
.workflow-head p{
  font-size:11px;
  margin-top:5px}
.slot-section .workflow-head p{
  display:none}
.workflow-head>button{
  font-size:11px;
  min-height:31px;
  padding:5px 0}
.slot-previews{
  gap:8px}
.slot-card{
  padding:8px;
  border-radius:6px}
.slot-number{
  font-size:11px;
  margin-bottom:7px}
.slot-check{
  width:13px;
  height:13px}
.slot-check>.ui-icon{
  width:8px;
  height:8px}
.slot-card canvas{
  max-height:64px;
  border-radius:3px}
.slot-caption{
  display:block;
  margin-top:7px}
.slot-caption>b{
  font-size:11px;
  display:block}
.slot-caption>span{
  font-size:11px;
  display:block;
  margin-top:4px}
.slot-full{
  font-size:11px;
  min-height:28px;
  margin:0}
.context-hint{
  font-size:11px;
  line-height:1.7}
.wallpaper-layout{
  display:block;
  margin:0}
.wallpaper-layout .editor-preview-column>.workflow-head{
  margin:0 0 18px}
.mobile-content-hint{
  display:block!important}
.simple-content-controls{
  margin-bottom:22px}
.mode-switch{
  gap:8px;
  margin-bottom:20px}
.mode-switch button{
  font-size:13px;
  min-height:44px}
.simple-content-controls .custom-field{
  font-size:13px}
.simple-content-controls .custom-field textarea{
  font-size:16px;
  min-height:100px;
  background:#fff;
  padding:14px;
  border-radius:8px;
  color:#57647b}
.simple-content-controls #image-simple-text{
  font-family:sans-serif}
.simple-content-controls .custom-field:has(#image-simple-font-size){
  margin-top:17px;
  display:flex;
  align-items:center;
  justify-content:space-between}
.simple-content-controls #image-simple-font-size{
  width:120px;
  min-height:44px;
  margin:0;
  background:#fff;
  font-size:16px}
.simple-content-controls .custom-hint{
  font-size:11px;
  margin:11px 0 0}
.image-dropzone{
  min-height:155px}
.image-dropzone>b{
  font-size:14px}
.image-dropzone>span{
  font-size:12px}
.paper-stage{
  background:#f1f3f7;
  border:1px solid var(--line);
  border-radius:10px;
  padding:17px 9px 15px}
.canvas-view-switch{
  display:none}
.mobile-preview-heading{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 3px 17px}
.mobile-preview-heading h2{
  font-size:13px;
  font-weight:600;
  margin:0;
  color:#596579}
.editor-pane-canvas{
  display:block!important;
  padding:0;
  background:transparent}
.custom-output-row>.custom-hint{
  font-size:11px;
  margin:0 3px 12px;
  line-height:1.7}
.editor-pane-canvas>#image-compression-state{
  font-size:11px;
  margin-top:12px}
.editor-pane-canvas>p:last-child{
  display:none}
.wallpaper-layout>.editor-pane-output{
  margin-top:18px}
#image-mono-panel{
  padding:16px;
  border-radius:9px}
#image-mono-panel>summary{
  font-size:13px;
  min-height:26px}
#image-mono-panel>summary>span{
  display:inline;
  font-size:11px;
  margin-left:auto}
.custom-controls{
  gap:21px}
.custom-field{
  font-size:12px}
.custom-controls select{
  font-size:13px;
  min-height:42px}
#image-mono-panel input[type=range]{
  height:5px;
  margin:18px 0 8px}
.custom-controls #image-invert{
  min-height:42px;
  font-size:13px}
.upload-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));
  z-index:45;
  background:#fffffff7;
  backdrop-filter:blur(15px);
  border:0;
  border-top:1px solid #e4e8f0;
  border-radius:0;
  padding:12px 17px;
  margin:0;
  display:flex;
  gap:10px;
  box-shadow:0 -5px 20px #35435e05}
.upload-context{
  gap:8px}
.upload-context>.ui-icon{
  display:none}
.upload-context b{
  font-size:12px}
.upload-context p{
  font-size:11px;
  margin-top:4px;
  max-width:175px;
  line-height:1.6}
.upload-context .upload-connect{
  display:none}
.upload-actions{
  gap:6px}
.upload-actions>button{
  min-height:39px;
  font-size:12px;
  padding:10px 14px}
.upload-actions #image-cancel{
  padding:9px 8px}
.custom-progress{
  height:8px}
.wallpaper-workspace{
  padding-bottom:96px}
.upload-result:not(:empty){
  font-size:11px;
  line-height:1.8;
  padding:12px}
.wallpaper-footnote{
  font-size:11px;
  margin:13px 0}
.help-intro{
  display:block}
.help-intro h2{
  font-size:16px;
  line-height:1.7}
.help-intro p{
  font-size:13px}
.help-intro .button-link{
  margin-top:20px;
  font-size:12px;
  min-height:41px}
.about-grid{
  grid-template-columns:1fr;
  gap:25px}
.about-card h2{
  font-size:14px}
.about-card h3{
  font-size:14px}
.about-card p,.about-card li{
  font-size:12px;
  line-height:1.9}
.about-card .about-email{
  font-size:12px}
.link-grid{
  grid-template-columns:1fr}
.about-link{
  padding:13px}
.about-link b{
  font-size:13px}
.about-link span{
  font-size:11px}



.model-preview{
  height:300px}
.photo-strip{
  grid-template-columns:minmax(0,1fr);
  gap:18px}
.photo-card .section-head h2{
  font-size:14px}
.photo-card .badge{
  font-size:11px}
dialog{
  max-width:calc(100vw - 32px);
  border-radius:12px}
.dialog-body{
  padding:25px 22px}
.dialog-body h2{
  font-size:17px}
.dialog-body p{
  font-size:14px}
.dialog-body .actions>button{
  min-height:44px}
.project-tools-menu{
  min-width:150px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
  scroll-behavior:auto!important;
  transition:none!important;
  animation:none!important}
}
body[data-connected=true] .connection-dot,body[data-connected=true] .status-dot{
  background:#5d9a80}
body[data-connected=true] .connection-badge{
  color:#5d9a80}
.tab-btn[data-busy=true]::after{
  content:"";
  height:5px;
  width:5px;
  border-radius:50%;
  background:var(--accent);
  margin-left:auto}
.site-footer{
  overflow-wrap:anywhere}
@media(min-width:721px){
  .wallpaper-layout .editor-preview-column{
  position:sticky;
  top:22px}
  #image-mono-panel .custom-controls{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px 14px}
  #image-mono-panel .custom-controls>.custom-field:first-child,
  #image-mono-panel .custom-controls>.custom-field:has(#image-preset),
  #image-invert{
  grid-column:1/-1}
  #image-mono-panel input[type=range]{
  width:100%;
  min-width:0}
  body[data-page=wallpaper] .upload-bar{
  position:fixed;
  left:266px;
  right:42px;
  bottom:18px;
  z-index:40;
  box-shadow:0 8px 30px #27355314;
  margin:0;
  max-width:1440px}
  body[data-page=wallpaper] .workspace-content{
  padding-bottom:120px}
}
@media(min-width:721px) and (max-width:1100px){
  .wallpaper-layout{
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:'preview' 'layers' 'output'}
  .wallpaper-layout .editor-preview-column{
  position:static}
  body[data-page=wallpaper] .upload-bar{
  left:217px;
  right:27px;
  padding:14px}
  .upload-context .upload-connect{
  display:none}
}
@media(max-width:720px){
  body[data-page=wallpaper] .workspace-content{
  padding-top:20px}
  body[data-page=wallpaper] .page-heading{
  margin-bottom:18px}
  .wallpaper-intro{
  display:none}
  .slot-section{
  padding:15px 13px 12px;
  margin-bottom:20px}
  .slot-section .workflow-head{
  margin-bottom:10px}
  .slot-section .workflow-head .step-index{
  display:none}
  .slot-card{
  padding:8px}
  .slot-card .slot-number{
  display:none}
  .slot-card canvas{
  width:100%;
  height:auto;
  max-height:none;
  margin:0 auto}
  .slot-card.selected{
  position:relative}
  .slot-card.selected::after{
  content:'✓';
  position:absolute;
  top:6px;
  right:6px;
  color:var(--accent);
  font-size:12px}
  .slot-caption{
  margin-top:7px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:3px 6px}
  .slot-caption>b{
  font-size:12px}
  .slot-caption>span{
  font-size:11px;
  margin:0}
  .slot-full{
  font-size:12px;
  min-height:44px}
  .slot-full:disabled{
  display:none}
  .context-hint{
  font-size:12px;
  margin-top:10px}
  .simple-content-controls .custom-hint{
  font-size:12px}
  .custom-controls .custom-field{
  font-size:14px}
  .custom-controls select{
  font-size:16px}
  .editor-pane-canvas>.custom-output-row>.custom-hint{
  font-size:12px}
  .history-card .section-head button{
  min-height:44px}
  .workflow-head>button{
  min-height:44px;
  font-size:12px}
  .upload-actions>button{
  min-height:44px;
  font-size:13px}
  .upload-context p{
  font-size:12px}
  .connect-button{
  min-height:44px}
  #image-mono-panel>summary{
  min-height:44px}
  #image-mono-panel>summary>span{
  font-size:12px}
  .settings-group-title p,.setting-field .hint{
  font-size:13px}
  .setting-field label{
  font-size:14px}
}
html{scroll-padding-top:85px;scroll-padding-bottom:175px}
.custom-canvas-wrap{padding:0;border:1px solid #d6dce6;border-radius:2px;box-shadow:0 3px 12px #27355308}

.settings-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}


body[data-page=wallpaper] .wallpaper-intro{display:none}
@media(max-width:720px){.settings-footer{align-items:flex-start;flex-direction:column}}

.history-card #cancel:disabled{display:none}

@media(max-width:720px){.metric-card strong{font-size:clamp(22px,6.9vw,27px);letter-spacing:-1.3px}.metric-card{padding-left:10px;padding-right:10px}}

@media(max-width:720px){#image-mono-panel input[type=range]{height:44px;margin:5px 0}}

.hero-model{flex:0 0 280px;width:280px;min-width:0;margin:0 0 0 26px;align-self:center}
.hero-model .model-preview{height:auto;aspect-ratio:1/1}
.hero-model figcaption{min-height:20px;margin-top:7px;color:var(--muted);text-align:center;font-size:12px;line-height:1.7}
.guide-actions{gap:12px}
.guide-actions .text-button{min-height:44px;padding:12px 16px;line-height:1.5;border-radius:8px;background:#f5f7fb;border:1px solid #e2e6ef}
.guide-actions .primary{min-height:44px;padding:12px 16px}
.photo-strip figcaption{padding:12px 14px;color:var(--ink);font-size:14px;line-height:1.6;border-top:1px solid var(--line);background:#fff}
@media(min-width:721px) and (max-width:1140px){.hero-model{flex-basis:210px;width:210px;margin-left:12px}.hero-model .model-preview{height:auto;aspect-ratio:1/1}}
@media(max-width:850px){.connection-guide{flex-direction:column;align-items:stretch;gap:22px}.hero-model{width:100%;flex:0 0 auto;margin:0}.hero-model .model-preview{height:auto;aspect-ratio:1/1}}
@media(max-width:720px){.guide-copy{max-width:none}.guide-copy h2{max-width:none}.guide-actions{justify-content:flex-start;gap:12px}.guide-actions .text-button,.guide-actions .primary{font-size:13px;padding:12px 16px}.hero-model{padding-top:10px;border-top:1px solid var(--line)}.photo-card .badge{font-size:12px}}

.slot-card{display:block;padding:12px;text-align:left}
.slot-card canvas{width:100%;height:auto;max-width:280px;max-height:none;aspect-ratio:4/3;margin:0 auto}
.slot-caption{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}
.slot-caption>b{font-size:13px}
.slot-caption>span{font-size:12px;margin:0}
#image-read-previews{padding:10px 14px;min-height:44px;line-height:1.5;font-size:13px;border:1px solid var(--line);border-radius:8px;background:#f7f9fd;flex-shrink:0}
@media(max-width:720px){.slot-previews{gap:10px}.slot-card{padding:10px}.slot-section .workflow-head{align-items:center;row-gap:12px}.slot-section .workflow-head>button{margin-left:auto}.slot-caption{justify-content:center;gap:5px 8px}.slot-full{min-height:44px;font-size:12px}}
@media(max-width:480px){.slot-previews{grid-template-columns:minmax(0,1fr);gap:14px}.slot-card{display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:16px;padding:12px}.slot-card canvas{width:100%;max-width:200px;margin:0 auto}.slot-caption{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0}.slot-card.selected::after{right:8px;top:8px}.slot-full{margin-top:3px}}
.settings-maintenance{display:block}
.settings-maintenance .setting-field{padding:0}
.settings-maintenance #reboot{min-height:44px;white-space:nowrap}
@media(max-width:720px){.mobile-brand{display:flex;flex-direction:column;gap:4px;letter-spacing:0}.mobile-brand>b{font-size:15px;line-height:1.2;font-weight:700;white-space:nowrap}.mobile-brand>small{font-size:11px;line-height:1.3;font-weight:400;color:var(--muted);white-space:nowrap}.workspace-topbar{padding-left:16px;padding-right:16px;gap:8px}.connect-button{min-width:100px;font-size:12px;padding:8px 10px}}
@media(max-width:380px){.mobile-brand>b{font-size:14px}}

.project-intro-action{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex-shrink:0}
.project-intro-action>span{font-size:12px;line-height:1.6;color:var(--muted)}
.project-intro-action .button-link:disabled{opacity:1;background:#f5f6f8;color:#7b8493;border-color:var(--line);box-shadow:none}
.showcase-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:64px 28px}
#page-eyebrow:empty,#page-description:empty,body[data-page=showcase] .display-spec{display:none}
.showcase-empty h2{margin:0;font-size:22px;line-height:1.5}
.showcase-empty p{max-width:100%;margin:16px 0 0;color:var(--muted);font-size:14px;line-height:1.9}
.showcase-empty .showcase-requirements{margin-top:10px}
.showcase-empty .button-link{margin-top:28px}
.showcase-empty .button-link:hover{background:#354fc2;border-color:#354fc2}
.showcase-email{margin-top:16px;max-width:100%;font-size:13px;overflow-wrap:anywhere;text-underline-offset:3px}
@media(max-width:720px){.showcase-empty{padding:40px 20px}.showcase-empty h2{font-size:18px}.showcase-empty p{font-size:13px}}
@media(max-width:720px){.project-intro-action{align-items:flex-start;margin-top:20px}.help-intro .project-intro-action .button-link{margin-top:0}}

.brand{padding:0 4px;gap:9px}
.brand-symbol{flex:0 0 28px;width:28px;height:34px;border-radius:7px}
.brand-symbol .ui-icon{width:20px;height:20px}
.brand b{display:block;font-size:15px;line-height:1.4;letter-spacing:-.4px;white-space:nowrap;font-weight:700}
.brand small{font-size:11px;letter-spacing:0;line-height:1.5;margin-top:5px}
.help-intro{display:block}
.help-intro-header{display:flex;align-items:center;justify-content:space-between;gap:28px}
.help-intro-summary{min-width:0;max-width:700px}
.replication-title{margin:26px 0 18px;padding-top:24px;border-top:1px solid var(--line);font-size:15px;font-weight:650}
.replication-steps{margin:0;padding-left:25px;display:grid;gap:17px}
.replication-steps li{padding-left:6px;line-height:1.75}
.replication-steps li::marker{color:var(--accent);font-weight:650}
.replication-steps strong{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.replication-steps p{font-size:14px;line-height:1.8}
.replication-steps a{text-underline-offset:3px;text-decoration-color:#b7c3ef}
@media(min-width:721px) and (max-width:1140px){.brand{padding:0;gap:8px}.brand b{font-size:13px}.brand-symbol{flex-basis:26px;width:26px}.brand small{font-size:11px}}
@media(max-width:720px){.help-intro-header{display:block}.replication-title{margin-top:23px;padding-top:21px;font-size:14px}.replication-steps{gap:18px;padding-left:22px}.replication-steps li{padding-left:4px}.replication-steps p{font-size:13px}}
/* ===== 产品说明书卡片：A4 缩略预览 + 新窗口入口 ===== */
.manual-card .section-head{align-items:center;margin-bottom:14px}
.manual-stage{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#f5f6f8}
.manual-stage iframe{display:block;width:794px;height:1122px;border:0;background:#fff}
.manual-card .manual-open{text-decoration:none;color:#596579;transition:background .18s ease,border-color .18s ease}
.manual-card .manual-open:hover{background:#eef1f6;border-color:#c7d1e0}
@media(max-width:720px){.manual-stage{border-radius:8px}}
