/* ==========================================================================
   CannaGrow 0.5.0 – Room Systems
   ========================================================================== */

.room-scene{
  min-height:500px;
  background:
    radial-gradient(circle at 50% 18%,rgba(54,111,76,.10),transparent 38%),
    linear-gradient(180deg,#081811,#050b08);
}

.slot-equipment-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}

.equipment-card{
  border-radius:19px;
  padding:14px;
  min-width:0;
}

.equipment-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding-bottom:11px;
  margin-bottom:4px;
  border-bottom:1px solid rgba(255,255,255,.055);
}

.equipment-card-head span{
  display:block;
  font-size:9px;
  color:var(--muted);
  letter-spacing:.08em;
}

.equipment-card-head strong{
  display:block;
  margin-top:3px;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:150px;
}

.equipment-state{
  padding:5px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.045);
  color:var(--muted)!important;
  font-size:8px!important;
  font-weight:800;
}

.equipment-state.occupied{
  color:var(--green)!important;
  background:rgba(92,240,142,.08);
}

.equipment-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:11px 0 7px;
}

.equipment-info{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.equipment-info b{
  display:block;
  font-size:12px;
}

.equipment-info small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:9px;
}

.equipment-symbol{
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:rgba(165,104,255,.09);
  color:#cba7ff;
  font-size:14px;
  flex:0 0 auto;
}

.equipment-controls{
  display:flex;
  align-items:center;
  gap:3px;
}

.equip-mode{
  border:1px solid rgba(191,163,231,.12);
  background:rgba(255,255,255,.035);
  color:#9b9eaa;
  height:29px;
  min-width:29px;
  padding:0 7px;
  border-radius:9px;
  cursor:pointer;
  font-size:9px;
  font-weight:800;
}

.equip-mode.active{
  border-color:rgba(190,131,255,.36);
  background:rgba(161,91,238,.18);
  color:#eadcff;
  box-shadow:0 0 18px rgba(150,82,232,.08);
}

.compact-btn{
  padding:7px 9px!important;
  font-size:9px;
  white-space:nowrap;
}

.equipment-upgrade{
  width:100%;
  border:0;
  border-radius:10px;
  padding:7px 9px;
  background:rgba(255,255,255,.025);
  color:#9da9a1;
  font-size:9px;
  cursor:pointer;
  text-align:left;
}

.equipment-upgrade:hover{
  background:rgba(92,240,142,.055);
  color:#bceccb;
}

.room-system-panel{
  margin-top:12px;
  border-radius:20px;
  padding:15px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}

.room-system-main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.room-system-main > div:last-child{
  min-width:0;
}

.room-system-main span{
  color:var(--muted);
  font-size:9px;
  letter-spacing:.08em;
}

.room-system-main h3{
  margin:3px 0 3px;
  font-size:16px;
}

.room-system-main p{
  margin:0;
  color:var(--muted);
  font-size:10px;
  line-height:1.45;
}

.room-system-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:#829089;
  font-size:20px;
}

.room-system-icon.active{
  color:#bcecff;
  background:rgba(107,201,236,.09);
  box-shadow:0 0 24px rgba(107,201,236,.08);
}

.room-system-controls{
  display:flex;
  gap:4px;
  justify-content:flex-end;
}

.filter-status{
  grid-column:1 / -1;
  padding:10px 11px;
  border-radius:13px;
  background:rgba(255,255,255,.025);
}

.filter-status > div:first-child{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}

.filter-status span{
  color:var(--muted);
  font-size:9px;
}

.filter-status strong{
  font-size:11px;
}

.filter-meter{
  height:6px;
  margin-top:7px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.055);
}

.filter-meter i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6fc98a,#b8e889);
}

.room-system-actions{
  grid-column:1 / -1;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}

.environment-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}

.environment-summary > div{
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,.025);
}

.environment-summary span{
  display:block;
  color:var(--muted);
  font-size:9px;
}

.environment-summary strong{
  display:block;
  margin-top:4px;
  font-size:10px;
}

.room-stats{
  grid-template-columns:repeat(4,1fr)!important;
  margin-top:12px;
}

@media(max-width:960px){
  .slot-equipment-grid{
    grid-template-columns:1fr;
  }
  .room-stats{
    grid-template-columns:repeat(2,1fr)!important;
  }
}

@media(max-width:700px){
  .room-system-panel{
    grid-template-columns:1fr;
  }
  .room-system-controls{
    justify-content:flex-start;
  }
  .environment-summary{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .room-stats{
    grid-template-columns:1fr!important;
  }
  .equipment-row{
    grid-template-columns:1fr;
  }
  .equipment-controls{
    justify-content:flex-start;
  }
}


/* ==========================================================================
   CannaGrow 0.5.1 – Wasser & Nährstoffe
   ========================================================================== */

.resource-metrics{
  grid-template-columns:repeat(3,1fr);
}

.resource-action{
  border-color:rgba(92,190,240,.10);
}

.resource-action:hover{
  border-color:rgba(92,190,240,.22);
  background:rgba(92,190,240,.045);
}

@media(max-width:720px){
  .resource-metrics{
    grid-template-columns:repeat(2,1fr);
  }
}


/* ==========================================================================
   CannaGrow 0.5.2 – Pflanzenvorschau
   ========================================================================== */

.seed-option{
  grid-template-columns:74px minmax(0,1fr) auto;
  min-height:88px;
  padding:10px 13px;
}

.seed-option .seed-icon{
  width:68px;
  height:72px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:visible;
}

.seed-option .seed-icon > img.plant-preview-image{
  display:block !important;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.28));
  user-select:none;
  -webkit-user-drag:none;
}

.seed-option:disabled .plant-preview-image{
  opacity:.34;
  filter:grayscale(.45) drop-shadow(0 5px 8px rgba(0,0,0,.18));
}

@media(max-width:560px){
  .seed-option{
    grid-template-columns:62px minmax(0,1fr) auto;
  }
  .seed-option .seed-icon{
    width:58px;
    height:64px;
  }
}


/* ==========================================================================
   CannaGrow 0.5.3 – Versorgungsmanagement
   ========================================================================== */

.speed-panel{
  position:relative;
}

.test-badge{
  align-self:center;
  margin-right:4px;
  padding:4px 6px;
  border-radius:7px;
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
  color:#efca82;
  background:rgba(229,166,61,.09);
  border:1px solid rgba(229,166,61,.14);
}

.hidden-test-controls{
  display:none!important;
}

.supply-panel{
  margin-top:12px;
  border-radius:20px;
  padding:15px;
}

.supply-panel-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}

.supply-panel-head h3{
  margin:3px 0 3px;
  font-size:17px;
}

.supply-panel-head p{
  margin:0;
  color:var(--muted);
  font-size:10px;
}

.supply-cost-summary{
  text-align:right;
  flex:0 0 auto;
}

.supply-cost-summary span,
.supply-cost-summary small{
  display:block;
  color:var(--muted);
  font-size:9px;
}

.supply-cost-summary strong{
  display:block;
  margin:2px 0;
  font-size:17px;
}

.supply-warning-strip{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}

.supply-warning-strip span{
  padding:6px 8px;
  border-radius:9px;
  font-size:9px;
  color:#f4d69b;
  background:rgba(217,152,45,.08);
  border:1px solid rgba(217,152,45,.13);
}

.supply-stock-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}

.supply-stock-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.024);
  border:1px solid rgba(255,255,255,.048);
}

.supply-stock-icon{
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:rgba(87,174,218,.075);
  font-size:18px;
}

.supply-stock-copy span{
  display:block;
  color:var(--muted);
  font-size:9px;
}

.supply-stock-copy strong{
  display:block;
  font-size:17px;
  margin:1px 0;
}

.supply-stock-copy small{
  display:block;
  color:var(--muted);
  font-size:8px;
}

.supply-stock-actions{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.supply-usage-stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin-top:11px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.05);
  color:var(--muted);
  font-size:9px;
}

.supply-usage-stats b{
  color:var(--text);
}

.mini-supply-row{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:7px;
}

.mini-supply-row span{
  padding:3px 6px;
  border-radius:7px;
  background:rgba(255,255,255,.027);
  color:#9fac9f;
  font-size:8px;
}

.supply-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:10px;
}

.supply-detail-grid > div{
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,.026);
}

.supply-detail-grid span{
  display:block;
  color:var(--muted);
  font-size:9px;
}

.supply-detail-grid strong{
  display:block;
  margin-top:4px;
  font-size:10px;
}

.plant-warning-list{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin:0 0 12px;
}

.plant-warning-list span{
  padding:6px 8px;
  border-radius:9px;
  font-size:9px;
}

.plant-warning-list .warn{
  color:#efcf91;
  background:rgba(214,157,52,.08);
  border:1px solid rgba(214,157,52,.13);
}

.plant-warning-list .danger{
  color:#ffb0a6;
  background:rgba(220,82,67,.08);
  border:1px solid rgba(220,82,67,.14);
}

.plant-history{
  display:grid;
  gap:7px;
}

.history-row{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:9px;
  align-items:start;
  padding:8px 10px;
  border-radius:11px;
  background:rgba(255,255,255,.023);
}

.history-dot{
  width:8px;
  height:8px;
  margin-top:4px;
  border-radius:50%;
  background:#73837a;
}

.history-water .history-dot{
  background:#69b8e8;
}

.history-fertilizer .history-dot{
  background:#7dc889;
}

.history-start .history-dot{
  background:#b389ef;
}

.history-row strong{
  display:block;
  font-size:9px;
}

.history-row small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:8px;
}

.history-empty{
  color:var(--muted);
  font-size:9px;
  padding:8px 0;
}

@media(max-width:780px){
  .supply-panel-head{
    flex-direction:column;
  }

  .supply-cost-summary{
    text-align:left;
  }

  .supply-stock-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .supply-stock-card{
    grid-template-columns:auto 1fr;
  }

  .supply-stock-actions{
    grid-column:1 / -1;
    flex-direction:row;
  }

  .supply-detail-grid{
    grid-template-columns:1fr;
  }
}


/* ==========================================================================
   CannaGrow 0.5.4 – Wasser, Drainage & Spülen
   ========================================================================== */

.drainage-row{
  margin-top:4px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.045);
}

.equipment-max-note{
  padding:7px 9px;
  border-radius:10px;
  font-size:9px;
  color:#8f9d95;
  background:rgba(255,255,255,.02);
}

.flush-action{
  border-color:rgba(99,177,220,.13);
  background:rgba(74,144,184,.035);
}

.flush-action:not(:disabled):hover{
  border-color:rgba(99,177,220,.28);
  background:rgba(74,144,184,.075);
}

.flush-action:disabled{
  opacity:.45;
}

.history-flush .history-dot{
  background:#7ccbe8;
}

.environment-summary{
  grid-template-columns:repeat(5,minmax(0,1fr));
}

@media(max-width:850px){
  .environment-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px){
  .environment-summary{
    grid-template-columns:1fr;
  }
}


/* ==========================================================================
   CannaGrow 0.6.0 – Accounts
   ========================================================================== */

.auth-locked{
  display:none!important;
}

.auth-gate{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:22px;
  background:
    radial-gradient(circle at 50% 12%,rgba(58,123,82,.15),transparent 34%),
    linear-gradient(180deg,#07100b,#030705);
}

.auth-gate.hidden{
  display:none!important;
}

.auth-card{
  width:min(460px,100%);
  border-radius:24px;
  padding:22px;
}

.auth-brand{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:16px;
  margin-bottom:15px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.auth-logo{
  width:52px;
  height:52px;
  object-fit:contain;
  flex:0 0 auto;
}

.auth-brand h1{
  margin:2px 0 3px;
  font-size:24px;
}

.auth-brand p,
.auth-form-head p{
  margin:0;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}

.auth-server-message{
  margin-bottom:14px;
  padding:10px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.028);
  border:1px solid rgba(255,255,255,.05);
}

.auth-server-message strong,
.auth-server-message span{
  display:block;
}

.auth-server-message strong{
  font-size:10px;
}

.auth-server-message span{
  margin-top:2px;
  color:var(--muted);
  font-size:9px;
}

.auth-form{
  display:grid;
  gap:11px;
}

.auth-form.hidden{
  display:none!important;
}

.auth-form-head{
  margin-bottom:2px;
}

.auth-form-head h2{
  margin:0 0 3px;
  font-size:18px;
}

.auth-form label:not(.legacy-claim){
  display:grid;
  gap:5px;
}

.auth-form label > span{
  font-size:9px;
  color:#b5c0b9;
  font-weight:700;
}

.auth-form label > small{
  color:var(--muted);
  font-size:8px;
  line-height:1.35;
}

.auth-form input[type="text"],
.auth-form input[type="password"]{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(255,255,255,.075);
  background:rgba(255,255,255,.035);
  color:var(--text);
  outline:none;
  border-radius:12px;
  padding:11px 12px;
  font:inherit;
  font-size:13px;
}

.auth-form input:focus{
  border-color:rgba(98,229,137,.35);
  box-shadow:0 0 0 3px rgba(98,229,137,.055);
}

.auth-primary{
  width:100%;
  justify-content:center;
  min-height:42px;
}

.auth-switch{
  justify-self:center;
}

.auth-error{
  padding:9px 10px;
  border-radius:10px;
  color:#ffb2a8;
  background:rgba(217,73,62,.08);
  border:1px solid rgba(217,73,62,.13);
  font-size:9px;
}

.auth-error.hidden{
  display:none!important;
}

.legacy-claim{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:10px;
  border-radius:12px;
  background:rgba(99,221,137,.055);
  border:1px solid rgba(99,221,137,.10);
  cursor:pointer;
}

.legacy-claim.hidden{
  display:none!important;
}

.legacy-claim input{
  margin-top:2px;
  accent-color:#68d987;
}

.legacy-claim span{
  min-width:0;
}

.legacy-claim b,
.legacy-claim small{
  display:block;
}

.legacy-claim b{
  font-size:9px;
}

.legacy-claim small{
  margin-top:2px;
  color:var(--muted);
  font-size:8px;
  line-height:1.4;
}

.account-setting-row{
  background:rgba(90,216,128,.025);
}

@media(max-width:560px){
  .auth-gate{
    padding:12px;
    place-items:start center;
  }

  .auth-card{
    margin-top:18px;
    padding:17px;
    border-radius:19px;
  }

  .auth-brand{
    align-items:flex-start;
  }
}


/* ==========================================================================
   CannaGrow 0.6.1 – Einstellbares Gießen
   ========================================================================== */

.watering-control{
  padding:12px;
  margin-bottom:10px;
  border-radius:14px;
  border:1px solid rgba(92,184,228,.10);
  background:rgba(69,141,177,.035);
}

.watering-control-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.watering-control-head span,
.watering-material-preview span{
  display:block;
  color:var(--muted);
  font-size:9px;
}

.watering-control-head strong{
  display:block;
  margin-top:3px;
  font-size:17px;
}

.watering-material-preview{
  text-align:right;
}

.watering-material-preview strong{
  font-size:13px;
  color:#b7dff2;
}

.watering-slider{
  width:100%;
  margin:14px 0 5px;
  accent-color:#6ebde2;
  cursor:pointer;
}

.watering-scale{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:8px;
}

.watering-preview{
  margin:10px 0;
  padding:8px 9px;
  border-radius:10px;
  background:rgba(255,255,255,.025);
  color:#aab8b1;
  font-size:9px;
}

.watering-confirm{
  width:100%;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.watering-confirm span{
  text-align:right;
}

@media(max-width:520px){
  .watering-confirm{
    align-items:flex-start;
    flex-direction:column;
  }

  .watering-confirm span{
    text-align:left;
  }
}


/* ==========================================================================
   CannaGrow 0.6.2 – Pflanzen-Technik & Qualitätsanalyse
   ========================================================================== */

.detail-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.detail-section-head h3{
  margin-bottom:3px;
}

.detail-section-head p{
  margin:0;
  color:var(--muted);
  font-size:9px;
}

.plant-tech-controls{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:10px;
}

.plant-tech-card{
  padding:11px;
  border-radius:13px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.05);
}

.plant-tech-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:9px;
}

.plant-tech-card-head span:first-child{
  display:block;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.08em;
}

.plant-tech-card-head strong{
  display:block;
  margin-top:3px;
  font-size:11px;
}

.plant-tech-card > small{
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:8px;
}

.tech-live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  flex:0 0 auto;
  margin-top:2px;
  background:#6f7772;
}

.tech-live-dot.on{
  background:#65da8b;
  box-shadow:0 0 10px rgba(101,218,139,.34);
}

.detail-tech-buttons{
  display:flex;
  gap:4px;
  margin-top:10px;
  flex-wrap:wrap;
}

.detail-tech-buttons .equip-mode{
  flex:1 1 34px;
}

.detail-tech-buy{
  margin-top:10px;
  width:100%;
}

.plant-env-summary{
  margin-top:9px;
  grid-template-columns:repeat(3,1fr)!important;
}

.quality-analysis-section{
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.008));
}

.quality-analysis-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}

.quality-analysis-head h3{
  margin:3px 0 2px;
  font-size:14px;
}

.quality-analysis-head p{
  margin:0;
  color:var(--muted);
  font-size:8px;
}

.quality-score-box{
  min-width:78px;
  padding:9px 11px;
  text-align:right;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.025);
}

.quality-score-box span,
.quality-score-box small{
  display:block;
  color:var(--muted);
  font-size:8px;
}

.quality-score-box strong{
  display:block;
  margin:1px 0;
  font-size:18px;
}

.quality-score-box.good{
  border-color:rgba(86,206,123,.16);
}

.quality-score-box.warn{
  border-color:rgba(224,166,62,.18);
}

.quality-score-box.bad{
  border-color:rgba(224,88,72,.19);
}

.quality-factor-list{
  display:grid;
  gap:6px;
  margin-top:12px;
}

.quality-factor{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  padding:8px 9px;
  border-radius:11px;
  background:rgba(255,255,255,.022);
  border:1px solid rgba(255,255,255,.04);
}

.quality-factor-icon{
  width:21px;
  height:21px;
  display:grid;
  place-items:center;
  border-radius:7px;
  font-size:10px;
  font-weight:900;
  background:rgba(255,255,255,.04);
}

.quality-factor.good .quality-factor-icon{
  color:#7fe39c;
  background:rgba(84,202,120,.08);
}

.quality-factor.warn .quality-factor-icon{
  color:#ecc676;
  background:rgba(220,163,57,.08);
}

.quality-factor.bad .quality-factor-icon{
  color:#ff9b8f;
  background:rgba(218,79,64,.08);
}

.quality-factor strong{
  display:block;
  font-size:9px;
}

.quality-factor small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:8px;
  line-height:1.35;
}

.quality-impact{
  min-width:28px;
  text-align:right;
  font-size:9px;
  font-weight:850;
}

.quality-impact.positive,
.quality-tech-modifier.positive strong{
  color:#7ddd98;
}

.quality-impact.negative,
.quality-tech-modifier.negative strong{
  color:#ef9b8f;
}

.quality-impact.neutral,
.quality-tech-modifier.neutral strong{
  color:var(--muted);
}

.quality-tech-modifier{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:9px;
  padding:8px 9px;
  border-radius:10px;
  background:rgba(255,255,255,.025);
  font-size:9px;
}

.quality-tech-modifier span{
  color:var(--muted);
}

@media(max-width:620px){
  .plant-tech-controls{
    grid-template-columns:1fr;
  }

  .plant-env-summary{
    grid-template-columns:1fr!important;
  }

  .quality-analysis-head{
    grid-template-columns:1fr;
  }

  .quality-score-box{
    text-align:left;
  }
}


/* ==========================================================================
   CannaGrow 0.6.7 – Responsive UI
   Das bestehende 0.6.3-Design bleibt erhalten. Diese Regeln passen nur
   Layout, Skalierung, Lesbarkeit und Touch-Bedienung an den Browser an.
   ========================================================================== */

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

.app-shell{
  width:min(96vw,1480px);
  max-width:none;
  padding-left:clamp(12px,1.6vw,26px);
  padding-right:clamp(12px,1.6vw,26px);
}

.topbar,
.section-head,
.panel,
.settings-card,
.room-system-panel,
.supply-panel,
.slot-equipment-grid,
.plant-list,
.shop-grid,
.mission-grid{
  min-width:0;
}

.topbar > *,
.section-head > *,
.panel-head > *,
.setting-row > *,
.supply-panel-head > *,
.quality-analysis-head > *{
  min-width:0;
}

