/* qlvin HOST / emerald premium unit detail — visual only.
   Keep operational truth: disabled buttons stay disabled, offline is not "online". */
html:not([data-qlvin-theme="light"]) #page-detail{
  --detail-emerald:#2f9c68;
  --detail-mint:#98eac0;
  --detail-line:rgba(115,221,169,.27);
  --detail-ink:#07090d;
}
html:not([data-qlvin-theme="light"]) #page-detail .sec-lbl{
  font-size:11px;letter-spacing:1.6px;
  color:#afc7bb;margin:22px 2px 14px;
}
html:not([data-qlvin-theme="light"]) #page-detail .sec-lbl .hico{
  color:#83ddb0;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;margin-bottom:20px;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt{
  position:relative;overflow:hidden;isolation:isolate;
  min-width:0;min-height:132px;
  padding:18px 15px;border-radius:23px;
  justify-content:flex-start;align-items:flex-start;gap:12px;
  border:1px solid var(--detail-line);
  background:
    radial-gradient(ellipse at 5% 115%,rgba(26,140,87,.21),transparent 70%),
    linear-gradient(145deg,#0d2a1e,#091610 64%,#090d0d);
  box-shadow:inset 0 1px rgba(203,255,223,.09),0 11px 24px rgba(0,0,0,.18);
  transform:none;
  transition:border-color .17s ease,box-shadow .17s ease,background-color .17s ease;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt::after{
  content:"";position:absolute;inset:auto 8% 0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(104,237,163,.56),transparent);
  pointer-events:none;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-icon{
  width:46px;height:46px;border-radius:15px;
  border:1px solid rgba(104,219,162,.32);
  color:#7be7b2;
  background:linear-gradient(150deg,rgba(25,181,112,.25),rgba(10,66,44,.19));
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 5px 12px rgba(0,0,0,.18);
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-icon svg{
  width:23px;height:23px;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-icon.gold{
  color:#eac77a;border-color:rgba(226,192,110,.32);
  background:rgba(181,129,48,.15);
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-icon.purple{
  color:#c5a0fb;border-color:rgba(181,132,242,.3);
  background:rgba(118,65,191,.19);
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-icon.danger{
  color:#ffaca8;border-color:rgba(236,98,92,.35);
  background:rgba(173,52,53,.21);
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-text{
  min-width:0;flex:1;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-text strong{
  font-size:15px;line-height:1.45;color:#f3fbf6;
  white-space:normal;overflow-wrap:anywhere;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-text span{
  color:#adbcaf;font-size:11px;line-height:1.65;
  white-space:normal;overflow-wrap:anywhere;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list #act-card{
  grid-column:1/-1;min-height:103px;
  align-items:center;flex-direction:row;justify-content:flex-start;gap:15px;
  border-color:rgba(112,233,164,.55);
  background:
    radial-gradient(ellipse at 0% 110%,rgba(40,206,128,.32),transparent 71%),
    linear-gradient(110deg,#0c5b3a 0%,#0c3326 45%,#081812 100%);
  box-shadow:inset 0 1px rgba(202,255,221,.16),0 12px 27px rgba(5,60,32,.24);
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list #act-card .ao-icon{
  width:50px;height:50px;flex:0 0 auto;border-radius:17px;
  color:#7effbd;border-color:rgba(140,255,193,.44);
  background:linear-gradient(145deg,rgba(0,147,84,.54),rgba(1,45,33,.63));
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list #act-card .ao-text strong{
  font-size:17px;
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list #act-checkout{
  border-color:rgba(230,99,100,.33);
  background:radial-gradient(ellipse at 2% 100%,rgba(165,47,48,.19),transparent 65%),
    linear-gradient(145deg,#1c1718,#0c1411 90%);
}
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt:disabled,
html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt[aria-disabled="true"]{
  opacity:.50;cursor:not-allowed;filter:saturate(.45);
}
html:not([data-qlvin-theme="light"]) #page-detail .access-log-shell{
  border:1px solid rgba(106,220,162,.26);
  border-radius:22px;
  background:radial-gradient(ellipse at 100% -35%,rgba(28,136,86,.18),transparent 70%),
    linear-gradient(145deg,#0c2118,#0a1010);
  box-shadow:inset 0 1px rgba(213,255,227,.06);
}
html:not([data-qlvin-theme="light"]) #page-detail .access-log-shell > summary{
  min-height:70px;padding:14px 16px;
}
html:not([data-qlvin-theme="light"]) #page-detail .access-log-head-icon{
  width:43px;height:43px;border-radius:14px;
  background:rgba(37,147,92,.22);
  border:1px solid rgba(118,223,168,.26);
  color:#94eac0;
}
html:not([data-qlvin-theme="light"]) #page-detail .access-log-head-copy b{font-size:14px;}
html:not([data-qlvin-theme="light"]) #page-detail .access-log-head-copy small{
  font-size:11px;line-height:1.5;
}
html:not([data-qlvin-theme="light"]) #page-detail .unit-settings-entry{
  border-radius:21px;border-color:rgba(102,210,155,.32);
  background:linear-gradient(145deg,#112d20,#0b1913);
}
html:not([data-qlvin-theme="light"]) #page-detail .climate-shell,
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel{
  border:1px solid rgba(98,212,148,.34);
  border-radius:25px;
  background:radial-gradient(ellipse at 100% 0%,rgba(32,143,90,.24),transparent 64%),
    linear-gradient(150deg,#0c281c,#081611 73%,#080f0d);
  box-shadow:inset 0 1px rgba(213,255,227,.09),0 15px 38px rgba(0,0,0,.22);
}
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel .qc-card{
  border-color:rgba(130,231,178,.16);
}
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel .qc-controls button:not(:disabled),
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel .qc-rooms button:not(:disabled){
  border:1px solid rgba(112,223,161,.48);
  background:linear-gradient(145deg,rgba(17,94,61,.82),rgba(10,45,34,.95));
  color:#e5fff1;
  border-radius:17px;
  min-height:51px;
}
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel .qc-controls button:disabled,
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel .qc-rooms button:disabled,
html:not([data-qlvin-theme="light"]) #page-detail .climate-btn:disabled,
html:not([data-qlvin-theme="light"]) #page-detail .climate-chip:disabled{
  opacity:.49;filter:saturate(.35);cursor:not-allowed;
  background:rgba(119,139,125,.07);
  border-color:rgba(145,166,151,.23);
  color:#afc0b4;
  box-shadow:none;
}
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel .qc-card p,
html:not([data-qlvin-theme="light"]) #page-detail .climate-truth{
  color:#c2d4c8;line-height:1.7;
}
html:not([data-qlvin-theme="light"]) #page-detail #room-climate-panel button:focus-visible,
html:not([data-qlvin-theme="light"]) #page-detail .action-opt:focus-visible,
html:not([data-qlvin-theme="light"]) #page-detail .access-log-shell summary:focus-visible{
  outline:2px solid #a2f5c5;outline-offset:3px;
}
@media (hover:hover){
  html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt:hover:not(:disabled){
    border-color:rgba(151,246,194,.68);
    box-shadow:inset 0 1px rgba(203,255,223,.12),0 15px 30px rgba(2,42,20,.26);
  }
}
@media (max-width:355px){
  html:not([data-qlvin-theme="light"]) #page-detail > .action-list{gap:8px;}
  html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt{
    min-height:122px;padding:13px 10px;
  }
  html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-text strong{font-size:13px;}
  html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt .ao-text span{font-size:10px;}
}
@media (prefers-reduced-motion:reduce){
  html:not([data-qlvin-theme="light"]) #page-detail > .action-list .action-opt{
    transition:none;
  }
}
