:root{--green:#173b36;--green2:#245d54;--cream:#f4f4ef;--card:#fff;--text:#18221f;--muted:#6b7773;--line:#dde4e1;--red:#b42318}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--cream);color:var(--text)}button,input,select{font:inherit}.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.bar{max-width:1180px;margin:auto;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{font-weight:800;font-size:22px}.brand b{color:var(--green2)}.sub{font-size:12px;color:var(--muted)}.wrap{max-width:1180px;margin:auto;padding:28px 22px 60px}.grid{display:grid;gap:16px}.g4{grid-template-columns:repeat(4,1fr)}.g2{grid-template-columns:repeat(2,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 4px 18px rgba(20,45,40,.035)}.stat{font-size:30px;font-weight:800}.muted{color:var(--muted)}.row{display:flex;align-items:center;justify-content:space-between;gap:14px}.btn{border:0;border-radius:10px;padding:10px 14px;cursor:pointer;background:var(--green);color:#fff;font-weight:650}.btn.alt{background:#fff;color:var(--text);border:1px solid var(--line)}.btn.ghost{background:transparent;color:var(--muted)}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 14px}.tab{padding:9px 13px;border-radius:999px;border:1px solid var(--line);background:#fff;cursor:pointer}.tab.active{background:var(--green);color:#fff;border-color:var(--green)}.list .item{padding:15px 0;border-bottom:1px solid var(--line)}.list .item:last-child{border-bottom:0}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef5f2;color:var(--green2);font-size:12px}.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#eff3ee,#f9f7f1)}.loginbox{width:min(430px,100%)}.logo{width:64px;height:64px;border-radius:18px;background:var(--green);display:grid;place-items:center;color:white;font-size:30px;margin:0 auto 16px}.field{display:flex;flex-direction:column;gap:6px;margin:12px 0}.field input,.field select{border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff}.modalback{position:fixed;inset:0;background:#0006;display:grid;place-items:center;padding:20px;z-index:10}.modal{background:#fff;border-radius:16px;padding:22px;width:min(520px,100%);max-height:90vh;overflow:auto}.hero{padding:8px 0 18px}.hero h1{font-size:34px;margin:0 0 6px}.empty{text-align:center;padding:50px 20px}.cabin{cursor:pointer;transition:.15s}.cabin:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000000d}.status{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tile{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fbfcfb}.tile strong{display:block;font-size:23px;margin-top:5px}.error{color:var(--red);font-size:13px;margin-top:8px}.ok{color:#087443}.divider{height:1px;background:var(--line);margin:18px 0}@media(max-width:800px){.g4,.g2,.status{grid-template-columns:1fr}.bar{align-items:flex-start}.actions{display:flex;gap:6px}.hide-sm{display:none}}
.tablewrap{overflow:auto;margin-top:14px}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:var(--muted);font-weight:650;border-bottom:1px solid var(--line);padding:11px 10px}td{padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top}.click{cursor:pointer}.click:hover{background:#fafcfb}.mini{margin-top:5px;font-size:13px;color:var(--green2);font-weight:650}.inner{box-shadow:none}.price{font-size:24px;font-weight:800}.price small{font-size:12px;font-weight:500;color:var(--muted)}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.formgrid .grow{grid-column:span 2}.field textarea{border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff;min-height:90px;resize:vertical;font:inherit}.check{display:flex;align-items:center;gap:8px;margin:13px 0}.wide{width:min(720px,100%)}.headrow{margin:12px 0 18px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions.right{justify-content:flex-end;margin-top:20px}.btn.danger{background:#a7342b}.miniBtn{padding:6px 9px;font-size:12px}.invoiceTotals{margin:18px 0 0 auto;width:min(360px,100%)}.invoiceTotals>div{display:flex;justify-content:space-between;padding:5px 0}.invoiceTotals .grand{font-size:18px;border-top:1px solid var(--line);margin-top:6px;padding-top:10px}@media(max-width:800px){.formgrid{grid-template-columns:1fr}.formgrid .grow{grid-column:auto}.row.headrow{align-items:flex-start}}

.featuregrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.featurecard{display:flex;align-items:center;gap:14px}.featureicon{width:48px;height:48px;border-radius:14px;background:#eef5f2;display:grid;place-items:center;font-size:24px;flex:none}.growtext{min-width:0;flex:1}.growtext h3{margin:0 0 5px}.growtext p{margin:0}.rightText{text-align:right}.entityState{font-weight:700;text-transform:none}.weatherNow{display:flex;align-items:center;gap:20px;padding:10px 0 20px}.bigtemp{font-size:54px;font-weight:800}.forecast{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.forecast .tile strong{font-size:17px}.featurechecks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 16px;margin-top:12px}.featurecheck{padding:10px;border:1px solid var(--line);border-radius:10px}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}.cabinhero h2{margin:0 0 6px}@media(max-width:900px){.featuregrid,.featurechecks{grid-template-columns:repeat(2,1fr)}.forecast{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.featuregrid,.featurechecks,.forecast{grid-template-columns:1fr}.rightText{text-align:left}.cabinhero>.row{align-items:flex-start;flex-direction:column}}
.verifyBox{border:1px solid var(--line);background:#f8fbf9;border-radius:14px;padding:16px}.checklist{display:grid;gap:7px;margin:14px 0;color:#087443}.hash{display:block;overflow-wrap:anywhere;background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px}.updateRow{border-bottom:1px solid var(--line)}.updateRow:last-child{border-bottom:0}.updateRow summary{cursor:pointer;display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:12px;align-items:center;padding:14px 0}.updateDetails{padding:0 0 16px 18px;display:grid;gap:7px}.updateLog{border-left:2px solid var(--line);padding-left:10px;margin:6px 0;display:grid;gap:5px}.badge.warn{background:#fff3cd;color:#7a5b00}@media(max-width:800px){.updateRow summary{grid-template-columns:1fr}.updateDetails{padding-left:0}}
.hubstatus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.hubstatus>div{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fbfcfb;min-width:0}.hubstatus span,.hubstatus b{display:block}.hubstatus b{margin-top:3px;overflow-wrap:anywhere}.authcodeRow{display:flex;align-items:center;gap:10px}.authcode{font:700 20px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;background:#f5f8f7;border:1px solid var(--line);border-radius:10px;padding:10px 12px}.hubhelp{margin-top:16px;padding:13px;border-radius:10px;background:#f8fbf9;border:1px solid var(--line);display:grid;gap:7px}.hubhelp code{display:block;overflow-wrap:anywhere;font-size:12px}.hubcard h3,.hubcard h4{margin-top:0}@media(max-width:600px){.hubstatus{grid-template-columns:1fr}.authcodeRow{align-items:stretch;flex-direction:column}.authcode{font-size:17px}}

.cameraStage{position:relative;min-height:280px;background:#090b10;border-radius:14px;display:flex;align-items:center;justify-content:center;overflow:hidden}.cameraStage img{width:100%;max-height:68vh;object-fit:contain;display:block}.cameraMsg{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,.65);color:#fff;padding:7px 10px;border-radius:8px;font-size:13px}.cameraLive{min-width:min(760px,80vw)}

/* 0.5.0 refreshed customer portal + HQ CMS */
:root{--brand:#176b4a;--brand-dark:#153c31;--brand-soft:#edf5f0;--surface:#ffffff;--canvas:#f7f7f3;--shadow:0 10px 30px rgba(22,55,43,.07)}
.portalPage{min-height:100vh;background:var(--canvas);padding-bottom:56px;color:var(--brand-dark)}.portalPage>div{max-width:1280px;margin:auto}.portalTop{height:96px;padding:0 26px;background:#fff;border-bottom:1px solid #dbe7df;display:flex;align-items:center;justify-content:space-between;gap:20px}.brandHome{display:flex;align-items:center;gap:14px;border:0;background:none;color:var(--brand-dark);cursor:pointer;text-align:left}.brandLogo,.logoMark{width:48px;height:48px;border-radius:13px;background:linear-gradient(145deg,#176b4a,#205c45);color:#fff;display:grid;place-items:center;font-size:27px;box-shadow:0 6px 14px rgba(23,107,74,.18)}.brandHome b{display:block;font-size:23px}.brandHome small{display:block;color:#628174;font-size:14px;margin-top:2px}.portalTopActions{display:flex;align-items:center;gap:13px}.connection{display:flex;align-items:center;gap:7px;color:#73847d;font-size:14px}.connection i{width:8px;height:8px;border-radius:50%;background:#aab6b0}.connection.on i{background:#79b85c}.iconBtn{border:0;background:transparent;font-size:21px;color:var(--brand-dark);cursor:pointer;padding:8px}.previewBadge{font-size:12px;background:#fff3cd;color:#7a5b00;border-radius:999px;padding:5px 9px}.quickCard,.activityCard{margin:24px 26px;background:#fff;border:1px solid #e5ece8;border-radius:18px;padding:24px 28px;box-shadow:var(--shadow)}.quickTitle{display:flex;align-items:center;gap:10px;margin-bottom:22px}.quickTitle span{font-size:22px;color:var(--brand)}.quickTitle h2{margin:0;font-size:21px}.quickGrid{display:grid;grid-template-columns:repeat(4,1fr)}.quickMetric{display:flex;align-items:center;justify-content:center;gap:15px;padding:8px 24px;border-right:1px solid #e6ece8}.quickMetric:last-child{border-right:0}.metricIcon,.smartIcon{background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;border-radius:50%}.metricIcon{width:58px;height:58px;font-size:25px}.quickMetric strong{display:block;font-size:31px;line-height:1;color:var(--brand-dark)}.quickMetric small{display:block;color:#68877b;margin-top:8px;font-size:14px}.smartGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:0 26px}.smartCard{border:1px solid #e8eeea;background:#fff;border-radius:17px;padding:20px;text-align:left;color:var(--brand-dark);box-shadow:0 6px 20px rgba(23,59,54,.055);cursor:pointer;min-height:160px;display:flex;flex-direction:column;justify-content:space-between;transition:.18s}.smartCard:hover{transform:translateY(-2px);box-shadow:0 11px 26px rgba(23,59,54,.09);border-color:#d4e4db}.smartHead{display:flex;align-items:flex-start;gap:13px}.smartIcon{width:48px;height:48px;border-radius:13px;font-size:22px;flex:none}.smartTitle{min-width:0;flex:1}.smartTitle b{display:block;font-size:17px;margin:2px 0 5px}.smartTitle small{display:block;color:#648276;font-size:14px}.smartValue{font-size:22px;font-weight:800;color:var(--brand);white-space:nowrap}.smartDots{font-size:11px;letter-spacing:5px;color:var(--brand)}.smartFoot{display:flex;justify-content:space-between;align-items:center;margin-top:22px;color:#658579;font-size:14px}.activityCard{margin-top:26px}.sectionTitle{display:flex;justify-content:space-between;align-items:center;gap:16px}.sectionTitle h2{margin:2px 0 0}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;color:#729083}.activityList{margin-top:14px}.activityItem{display:grid;grid-template-columns:12px 1fr auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0ee}.activityItem:last-child{border-bottom:0}.activityDot{width:7px;height:7px;background:var(--brand);border-radius:50%}.activityItem b,.activityItem small{display:block}.activityItem small,.activityItem time{color:#74877f;font-size:12px}.portalCabins{padding-top:5px}.portalCabinGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.portalCabinCard{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:left;cursor:pointer;color:var(--text)}.cabinIcon{width:50px;height:50px;border-radius:14px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:24px}.portalCabinCard b,.portalCabinCard span{display:block}.portalCabinCard>div:nth-child(2)>span{color:var(--muted);margin-top:4px}.portalCabinMeta{display:flex;align-items:center;gap:8px;color:var(--muted)}.onlineDot{width:8px;height:8px;border-radius:50%;background:#75b85a}.portalCabinMeta strong{font-size:24px}.accessDenied{max-width:640px;margin:50px auto;padding:36px}
.cmsToolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:5px 0 18px}.cmsToolbar h2{font-size:29px;margin:3px 0}.cmsToolbar p{margin:0}.cmsSearch{min-width:270px;border:1px solid var(--line);border-radius:10px;padding:10px 12px}.customerCards{display:grid;gap:10px}.customerCard{display:grid;grid-template-columns:auto 1fr auto auto;gap:16px;align-items:center;width:100%;border:1px solid var(--line);background:#fff;border-radius:15px;padding:15px 17px;text-align:left;color:var(--text);cursor:pointer;box-shadow:0 3px 12px rgba(20,45,40,.025)}.customerCard:hover{border-color:#cbdcd3;box-shadow:0 7px 18px rgba(20,45,40,.06)}.customerAvatar,.profileAvatar{overflow:hidden;background:linear-gradient(145deg,#e3f0e9,#f4f8f5);color:var(--brand);font-weight:800;display:grid;place-items:center}.customerAvatar{width:50px;height:50px;border-radius:50%;font-size:17px}.customerAvatar img,.profileAvatar img{width:100%;height:100%;object-fit:cover}.customerMain{display:grid;gap:3px}.customerName{display:flex;gap:9px;align-items:center}.customerStats{display:flex;gap:22px;text-align:right}.customerStats span{display:grid}.customerStats b{font-size:14px}.customerStats small{color:var(--muted);font-size:11px}.chevron{font-size:23px}.statusPill,.tag{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:11px;background:#eef2f0;color:#61726b}.statusPill.active{background:#e8f5ed;color:#167247}.tag{background:#f1f4f2}.customerHero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:15px 0 18px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow)}.customerProfile{display:flex;align-items:center;gap:18px}.profileAvatar{width:86px;height:86px;border-radius:22px;border:0;position:relative;cursor:pointer;font-size:24px}.profileAvatar span{position:absolute;inset:auto 0 0;background:#173b36cc;color:#fff;font-size:9px;padding:4px}.customerProfile h1{margin:4px 0;font-size:29px}.customerProfile p{margin:0 0 8px;color:var(--muted)}.customerKpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.customerKpis>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.customerKpis small,.customerKpis strong{display:block}.customerKpis small{color:var(--muted);font-size:12px}.customerKpis strong{font-size:21px;margin-top:6px}.cmsColumns{display:grid;grid-template-columns:1.35fr .85fr;gap:16px}.cmsStack{display:grid;gap:16px;align-content:start}.cmsSection{padding:20px}.infoGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:17px}.infoGrid>div{display:grid;gap:3px}.infoGrid small{color:var(--muted)}.wideInfo{grid-column:span 2}.wideInfo span{color:var(--muted);font-size:13px}.cmsListRow{width:100%;display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;background:transparent;border:0;border-top:1px solid var(--line);padding:14px 0;text-align:left;color:var(--text);cursor:pointer}.cmsListRow:first-of-type{margin-top:10px}.cmsListRow span:nth-child(2){display:grid;gap:3px}.cmsListRow small{color:var(--muted)}.listIcon{width:38px;height:38px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}.listEnd{text-align:right;display:grid}.paymentMethodBig{display:flex;gap:13px;align-items:center;background:#f6faf7;border:1px solid #e1ece5;border-radius:13px;padding:14px;margin:14px 0}.paymentMethodBig>span{width:42px;height:42px;border-radius:11px;background:#e6f2eb;display:grid;place-items:center;color:var(--brand)}.paymentMethodBig div{display:grid}.paymentMethodBig small{color:var(--muted);margin-top:2px}.notesText{white-space:pre-wrap;line-height:1.5}
@media(max-width:850px){.portalTop{height:auto;padding:15px 18px}.brandHome b{font-size:19px}.portalTopActions .connection{font-size:12px}.quickCard,.activityCard{margin:18px 15px;padding:20px}.quickGrid{grid-template-columns:repeat(2,1fr)}.quickMetric{justify-content:flex-start;border-right:0;border-bottom:1px solid #e6ece8;padding:17px 9px}.quickMetric:nth-child(3),.quickMetric:nth-child(4){border-bottom:0}.smartGrid{grid-template-columns:1fr;padding:0 15px}.smartCard{min-height:145px}.portalCabinGrid{grid-template-columns:1fr}.cmsToolbar{align-items:stretch;flex-direction:column}.cmsToolbar .actions{width:100%}.cmsSearch{min-width:0;flex:1}.customerCard{grid-template-columns:auto 1fr auto}.customerStats{grid-column:2/4;text-align:left}.customerHero{align-items:flex-start;flex-direction:column}.customerKpis{grid-template-columns:repeat(2,1fr)}.cmsColumns{grid-template-columns:1fr}.infoGrid{grid-template-columns:1fr}.wideInfo{grid-column:auto}.portalTopActions .previewBadge{display:none}}

/* 0.5.1 portal landing + cabin settings */
.portalLanding{display:grid;gap:22px}.welcomePanel{position:relative;overflow:hidden;min-height:235px;border-radius:24px;padding:34px 38px;background:linear-gradient(125deg,#173b36 0%,#176b4a 62%,#2b805e 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 18px 42px rgba(20,63,49,.16)}.welcomePanel:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-130px;top:-150px;background:rgba(255,255,255,.07)}.welcomePanel>div:first-child{position:relative;z-index:1;max-width:650px}.welcomePanel .eyebrow{color:#bcdcc9}.welcomePanel h1{font-size:38px;margin:8px 0 10px}.welcomePanel p{max-width:610px;color:#d8e9df;line-height:1.55;margin:0}.welcomeHouse{position:relative;z-index:1;width:116px;height:116px;border-radius:30px;background:#ffffff1a;border:1px solid #ffffff2c;display:grid;place-items:center;font-size:63px;color:#fff;flex:none}.landingStats{display:flex;gap:12px;margin-top:25px;flex-wrap:wrap}.landingStats span{min-width:118px;padding:11px 14px;border:1px solid #ffffff25;border-radius:13px;background:#ffffff0d;display:grid}.landingStats b{font-size:19px}.landingStats small{color:#c9ddd1;margin-top:2px}.landingTitle{margin-top:3px}.landingCabins{grid-template-columns:repeat(2,minmax(0,1fr))}.premiumCabin{padding:23px;box-shadow:0 7px 22px rgba(20,55,43,.05);transition:.18s;border-color:#e0e9e4}.premiumCabin:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(20,55,43,.09);border-color:#c9ddd2}.premiumCabinMain{min-width:0}.premiumCabinTitle{display:flex!important;align-items:center;gap:9px}.premiumCabinTitle b{font-size:19px}.cabinStatus{display:inline-flex!important;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;background:#f2f4f3;color:#718078;font-size:11px;font-weight:700;white-space:nowrap}.cabinStatus i{width:7px;height:7px;border-radius:50%;background:#98a59f}.cabinStatus.online{background:#e8f5ed;color:#176b4a}.cabinStatus.online i{background:#4fa56f}.cabinStatus.offline{background:#f6f1ed;color:#936344}.premiumCabinTags{display:flex!important;gap:7px;margin-top:11px;flex-wrap:wrap}.premiumCabinTags em{font-style:normal;font-size:11px;background:#f2f6f3;color:#5f776c;padding:4px 7px;border-radius:999px}.premiumCabinPrice{text-align:right!important;display:grid!important;grid-template-columns:auto auto;align-items:end;justify-content:end;column-gap:3px;color:var(--brand)}.premiumCabinPrice b{font-size:18px}.premiumCabinPrice small{font-size:11px;color:var(--muted)}.premiumCabinPrice strong{grid-column:1/3;font-size:28px;line-height:1;margin-top:10px}.settingsGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:18px}.settingsStack{display:grid;gap:18px;align-content:start}.settingsCard{padding:24px}.settingsHeading{display:flex;align-items:center;gap:13px;margin-bottom:18px}.settingsHeading h2{margin:0;font-size:21px}.settingsHeading p{margin:3px 0 0;color:var(--muted);font-size:13px}.settingsGlyph{width:44px;height:44px;border-radius:13px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:21px;flex:none}.settingsCabinHero{display:flex;align-items:center;gap:17px;background:#fff;border:1px solid var(--line);border-radius:19px;padding:21px 24px;margin-top:18px;box-shadow:var(--shadow)}.settingsCabinHero>div:nth-child(2){flex:1}.settingsCabinHero h1{margin:2px 0;font-size:27px}.settingsCabinHero p{margin:0;color:var(--muted)}.settingsCabinIcon{width:62px;height:62px;border-radius:18px;background:linear-gradient(145deg,#176b4a,#205c45);color:#fff;display:grid;place-items:center;font-size:34px}.cabinInfoGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cabinInfoGrid>div{display:grid;gap:4px;padding-bottom:12px;border-bottom:1px solid #edf1ee}.cabinInfoGrid small{color:var(--muted);font-size:12px}.cabinInfoGrid b{overflow-wrap:anywhere}.cabinInfoGrid .full{grid-column:span 2}.subscriptionRows{display:grid;gap:0}.subscriptionRows>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #edf1ee}.subscriptionRows>div:last-child{border-bottom:0}.subscriptionRows span{color:#648276}.settingsNote{background:#f5f8f6;border-radius:11px;padding:12px;color:#678076;font-size:13px;margin:15px 0 0}
@media(max-width:850px){.welcomePanel{padding:26px 24px;min-height:215px}.welcomePanel h1{font-size:31px}.welcomeHouse{width:86px;height:86px;font-size:46px}.landingCabins,.settingsGrid{grid-template-columns:1fr}.settingsCabinHero{align-items:flex-start;flex-wrap:wrap}.settingsCabinHero .cabinStatus{margin-left:79px}.cabinInfoGrid{grid-template-columns:1fr}.cabinInfoGrid .full{grid-column:auto}}
@media(max-width:560px){.welcomePanel{align-items:flex-start}.welcomeHouse{display:none}.landingStats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.landingStats span{min-width:0;padding:9px}.landingStats b{font-size:15px}.landingStats small{font-size:10px}.premiumCabin{grid-template-columns:auto 1fr}.premiumCabinPrice{grid-column:2;text-align:left!important;justify-content:start;margin-top:9px}.premiumCabinPrice strong{display:none}.premiumCabinTitle{align-items:flex-start;flex-direction:column}.settingsCabinHero .cabinStatus{margin-left:0}.settingsCard{padding:19px}}
/* 0.6.0 - calmer portal, branding, store */
.brandImg{height:38px;max-width:240px;object-fit:contain;display:block}.logo img{max-width:300px;max-height:82px;object-fit:contain}.smartCard{background:#fff;border:1px solid #e3ebe6;box-shadow:0 5px 18px rgba(20,55,42,.055);transform:none!important}.smartCard:hover{box-shadow:0 7px 22px rgba(20,55,42,.08);border-color:#ccdcd3}.smartIcon{background:#f4f7f5!important;color:#176b4a}.smartDots{color:#7e9d8e;letter-spacing:1px}.quickCard{box-shadow:0 5px 22px rgba(20,55,42,.05);border:1px solid #e8eeea}.welcomePanel{background:linear-gradient(135deg,#164b38,#1d654a)!important;box-shadow:0 8px 26px rgba(20,55,42,.12)!important}.widgetPrefs{display:grid;gap:8px;margin:12px 0 18px}.widgetPrefRow{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid #e1e9e4;border-radius:12px;background:#fafcfb}.hubMiniStatus{display:grid;grid-template-columns:auto 1fr 1fr;gap:12px;align-items:center;margin:14px 0}.hubMiniStatus div{display:flex;flex-direction:column;gap:3px}.weatherCompare{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.weatherProviderCard{padding:18px;border:1px solid #e2ebe6;border-radius:15px;background:#fbfcfb;display:flex;flex-direction:column;gap:7px}.weatherProviderCard strong{font-size:32px;color:#176b4a}.storePage{max-width:1240px;margin:auto;padding:34px}.storeHero{padding:50px;border-radius:24px;background:#f6f8f6;margin-bottom:28px}.storeHero h1{font-size:46px;margin:8px 0 10px}.storeHero p{max-width:700px;color:#627b6e;font-size:18px}.storeGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.storeCard{border:1px solid #e1e9e4;border-radius:20px;background:#fff;padding:18px;display:flex;flex-direction:column;gap:16px;box-shadow:0 6px 22px rgba(20,55,42,.05)}.storeCard img,.storePlaceholder{height:190px;width:100%;object-fit:contain;border-radius:14px;background:#f5f7f5}.storePlaceholder{display:grid;place-items:center;font-size:58px;color:#176b4a}.storeCard h3{margin:5px 0}.storeCard p{color:#6b8176;min-height:44px}.storeCard strong{font-size:22px;color:#173b2e}.storeCart{margin-top:25px}.brandingAdmin{border-color:#d9e6df}
@media(max-width:800px){.storePage{padding:18px}.storeHero{padding:28px}.storeHero h1{font-size:34px}.storeGrid,.weatherCompare{grid-template-columns:1fr}.hubMiniStatus{grid-template-columns:1fr}.brandImg{max-width:180px}}

/* 0.6.1 - function-first portal */
.calmWelcome{min-height:0!important;padding:28px 32px!important;background:#fff!important;color:var(--text)!important;border:1px solid #e4ebe7!important;box-shadow:0 4px 18px rgba(20,55,42,.045)!important}.calmWelcome:after{display:none!important}.calmWelcome .eyebrow{color:#6d887b!important}.calmWelcome h1{font-size:32px!important;margin:5px 0 7px!important}.calmWelcome p{color:var(--muted)!important}.calmWelcome .landingStats{margin-top:18px}.calmWelcome .landingStats span{background:#f7faf8!important;border:1px solid #e3ebe6!important;color:var(--text)!important}.calmWelcome .landingStats small{color:var(--muted)!important}.premiumCabinOpen{margin-left:auto;display:grid;place-items:center;color:var(--brand)}.premiumCabinOpen strong{font-size:31px;line-height:1}.weatherChoice{appearance:none;text-align:left;cursor:pointer;color:var(--text);font:inherit}.weatherChoice:hover{border-color:#bad2c4;background:#f8fbf9}.weatherChoice.selected{border-color:#176b4a;box-shadow:0 0 0 2px rgba(23,107,74,.08);background:#f7fbf8}.weatherProviderTop{display:flex;align-items:center;justify-content:space-between;gap:10px}.weatherProviderTop span{font-size:11px;color:#6f847a;background:#eef3f0;border-radius:999px;padding:4px 8px}.weatherChoice.selected .weatherProviderTop span{background:#e2f2e8;color:#176b4a;font-weight:700}.weatherHint{margin-top:14px}.smartCard .smartDots{opacity:.6}.smartCard .smartTitle small{min-height:18px}
@media(max-width:850px){.calmWelcome{padding:22px 20px!important}.calmWelcome h1{font-size:28px!important}}
/* 0.6.2 header cleanup */
.brandCluster{display:flex;align-items:center;gap:16px;min-width:0}.brandCluster .brand{display:flex;align-items:center;min-width:0}.brandMeta{display:flex;flex-direction:column;justify-content:center;line-height:1.15;padding-left:15px;border-left:1px solid var(--line)}.brandMeta b{font-size:22px;color:var(--green);letter-spacing:.01em}.brandMeta span{font-size:12px;color:var(--muted);margin-top:4px;white-space:nowrap}.brandCluster .brandImg{max-width:270px}@media(max-width:800px){.brandCluster{gap:10px}.brandMeta{padding-left:10px}.brandMeta b{font-size:18px}.brandMeta span{font-size:11px;white-space:normal}.brandCluster .brandImg{max-width:175px}}
/* 0.7.0 Plats, väder & energi */
.weatherLocationBar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 16px;margin-bottom:14px;border:1px solid #e4ebe7;border-radius:14px;background:#fafcfb}.weatherLocationBar>div{display:grid;gap:2px}.weatherLocationBar small{font-size:10px;letter-spacing:.12em;color:#718078}.weatherLocationBar b{font-size:16px}.placeSearch{padding:14px;margin-bottom:16px;border:1px solid #e2e9e5;border-radius:14px;background:#f8faf9}.placeSearch .row{gap:8px}.placeSearch input{flex:1;min-width:180px;padding:10px 12px;border:1px solid #ccd8d1;border-radius:9px}.placeResult{width:100%;display:flex;flex-direction:column;gap:2px;text-align:left;padding:10px 12px;margin-top:7px;border:1px solid #e1e9e4;background:#fff;border-radius:9px;cursor:pointer}.placeResult.selected{border-color:#2e765a;box-shadow:0 0 0 2px #dcece5}.placeResult small{color:#708078}.osmMap{margin-top:10px}.osmMap iframe{display:block;width:100%;height:245px;border:1px solid #dce6e0;border-radius:12px}.osmAttribution{font-size:10px;color:#77847d;margin:5px 0 8px}.weatherLoading{margin-top:10px;font-size:12px}.energyPriceHero{display:flex;flex-direction:column;gap:2px;padding:4px 0 16px}.energyPriceHero strong{font-size:34px;color:#164d39}.priceStats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 0 18px}.priceStats span{background:#f7faf8;border:1px solid #e4ebe7;border-radius:12px;padding:12px;display:flex;flex-direction:column}.priceStats small{color:#748078}.priceTimeline{display:flex;align-items:flex-end;gap:3px;min-height:125px;overflow-x:auto;padding:10px 2px 2px;margin-bottom:16px}.priceBarWrap{min-width:22px;text-align:center}.priceBar{width:13px;margin:auto;background:#4b9274;border-radius:5px 5px 2px 2px}.priceBarWrap small{font-size:8px;color:#7d8882;writing-mode:vertical-rl;transform:rotate(180deg);margin-top:4px}.gridLoad{display:flex;flex-direction:column;gap:5px}.gridLoad strong{font-size:23px;color:#174d3a}@media(max-width:650px){.weatherLocationBar{flex-direction:column}.priceStats{grid-template-columns:1fr}.osmMap iframe{height:200px}}

/* 0.7.1 konto & stuginställningar */
.accountOnly,.cabinSettingsOnly{align-items:start}.subscriptionList{display:grid;gap:10px}.subscriptionCabin{width:100%;border:1px solid var(--line);background:#fff;border-radius:15px;padding:16px;display:grid;grid-template-columns:1fr auto auto;gap:18px;text-align:left;align-items:center;color:inherit}.subscriptionCabin span,.subscriptionCabin small{display:block;color:var(--muted);margin-top:4px}.subscriptionCabin strong{white-space:nowrap}.subscriptionCabin i{font-style:normal;font-size:26px;color:var(--green)}.placeSettingsRow input{flex:1;min-width:220px}.cabinSettingsOnly .osmMap{margin-top:14px}.cabinSettingsOnly .osmMap iframe{width:100%;height:260px;border:0;border-radius:14px}.cabinSettingsOnly .placeResult{width:100%;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:8px}.cabinSettingsOnly .placeResult small{display:block;color:var(--muted);margin-top:3px}@media(max-width:700px){.subscriptionCabin{grid-template-columns:1fr auto}.subscriptionCabin>i{display:none}.placeSettingsRow{display:grid}.placeSettingsRow input{min-width:0;width:100%}}

.brandingDetails>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px}.brandingDetails>summary::-webkit-details-marker{display:none}.brandingDetails>summary h2{margin:0 0 3px}.brandingBody{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.nextInvoice{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:14px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fbfcfb}.nextInvoice div{display:flex;flex-direction:column;gap:4px}.nextInvoice small,.invoiceHistoryRow small{color:var(--muted)}.nextInvoice strong{font-size:20px;color:var(--green)}.invoiceHistory{display:grid;gap:0}.invoiceHistoryRow{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}.invoiceHistoryRow:last-child{border-bottom:0}.invoiceHistoryRow>div{display:flex;flex-direction:column;gap:4px}.invoiceHistoryRow>div:last-child{align-items:flex-end}.billingCard{overflow:hidden}@media(max-width:800px){.nextInvoice{grid-template-columns:1fr 1fr}.invoiceHistoryRow{align-items:flex-start}}

.cabinOverviewBtn{white-space:nowrap;padding:9px 13px;font-size:13px}
@media(max-width:720px){.cabinOverviewBtn{font-size:0;width:40px;height:40px;padding:0}.cabinOverviewBtn:after{content:"←";font-size:18px}.portalTopActions{gap:7px}}

/* 0.7.6 Robotgräsklippare + butik */
.robotTop{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.robotTop h3{font-size:25px;margin:4px 0}.robotTop p{margin:0}.robotBattery{width:84px;height:74px;border-radius:16px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;align-content:center}.robotBattery strong{font-size:22px}.robotBattery small{font-size:11px}.robotStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.robotStats span{background:#f7faf8;border:1px solid #e2ebe5;border-radius:12px;padding:12px;display:grid}.robotStats small{color:var(--muted);font-size:11px}.robotStats b{font-size:18px;margin-top:3px}.robotMapWrap{position:relative;background:#f3f7f4;border:1px solid #dfe9e3;border-radius:16px;overflow:hidden}.robotMapWrap canvas{width:100%;height:auto;max-height:58vh;display:block}.mapLegend{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.94);border:1px solid #dfe9e3;border-radius:10px;padding:7px 9px;display:flex;gap:10px;flex-wrap:wrap;font-size:10px;color:#5f7169}.mapLegend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.lgPath:before{background:#42a36c}.lgBoundary:before{border:2px solid #176b4a;background:transparent}.lgZone:before{background:#9bc9ad}.lgNoGo:before{background:#c86f5a}.lgRobot:before{background:#173b36}.robotControls{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.robotHistory{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.robotHistory h3{margin:0}.historyChips{display:flex;gap:7px;overflow:auto;padding:10px 0 3px}.historyChips .tab{white-space:nowrap}.robotDiagnostics{margin-top:14px;color:var(--muted);font-size:12px}.robotDiagnostics summary{cursor:pointer}.robotLoading{min-height:330px;display:grid;place-items:center;color:var(--muted)}
.storeTop{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.storeBrand{display:flex;align-items:center;gap:12px}.storeBrand img{max-height:40px;max-width:220px}.storeBrand span{padding-left:12px;border-left:1px solid var(--line);font-weight:700;color:var(--muted)}.storeCategories{display:flex;gap:8px;overflow:auto;padding:0 0 18px}.storeCategory{border:1px solid #dce7e1;background:#fff;color:#315446;border-radius:999px;padding:9px 14px;white-space:nowrap;cursor:pointer;font:inherit}.storeCategory.active{background:#174d3a;color:#fff;border-color:#174d3a}.storeProductBody{display:flex;flex-direction:column;flex:1}.storeProductMeta{display:flex;justify-content:space-between;gap:8px;align-items:center}.storeProductMeta small{letter-spacing:.06em;text-transform:uppercase;color:#75857d}.storePrice{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:auto;padding-top:10px}.storePrice small{color:var(--muted)}.storeCartTotal{padding:15px 0;border-top:1px solid var(--line);margin-top:8px}.storeCartTotal strong{font-size:23px;color:#174d3a}.storeLoginHint{margin-top:25px;padding:22px;border:1px solid #dfe9e3;border-radius:18px;background:#f8fbf9;display:flex;gap:14px;align-items:center}.storeLoginHint span{color:var(--muted);flex:1}.orderHead{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.orderHead h2{margin:4px 0}.orderHead strong{font-size:25px;color:var(--green)}
@media(max-width:700px){.robotStats{grid-template-columns:1fr 1fr}.robotTop h3{font-size:21px}.robotBattery{width:68px;height:64px}.mapLegend{position:static;border:0;border-top:1px solid #dfe9e3;border-radius:0}.robotMapWrap canvas{min-height:300px;object-fit:contain}.storeTop,.storeLoginHint{align-items:flex-start;flex-direction:column}.storeBrand img{max-width:180px}}

.robotWidgetMeta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 2px;padding-top:12px;border-top:1px solid #edf1ee}.robotWidgetMeta span{min-width:0}.robotWidgetMeta small,.robotWidgetMeta b{display:block}.robotWidgetMeta small{font-size:11px;color:#7a8d84;margin-bottom:3px}.robotWidgetMeta b{font-size:12px;color:#29483d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smartCard[data-feature=robots]{min-height:205px}@media(max-width:850px){.robotWidgetMeta{grid-template-columns:1fr 1fr}.robotWidgetMeta span:last-child{grid-column:1/3}.smartCard[data-feature=robots]{min-height:190px}}
.robotMapDeferred{margin-top:14px;min-height:260px}.robotMapPending{min-height:260px;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;color:var(--muted);padding:24px}.robotMapPending strong{color:var(--text);font-size:18px}.robotMapPending small{max-width:440px;line-height:1.5}.robotMapWrap[aria-busy="true"]{opacity:.9}

/* 0.8.0 Elförbrukning & stugnamn */
.renameCabinRow{display:flex;gap:8px;align-items:center;margin-top:5px}.renameCabinRow input{flex:1;min-width:160px}.cabinInfoGrid select{width:100%;max-width:220px;margin-top:4px}.electricityHero{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.electricityHero>div,.electricityPhases>div{padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8faf9;display:flex;flex-direction:column;gap:4px}.electricityHero strong{font-size:26px;color:var(--green)}.electricityHero small,.electricityPhases small{color:var(--muted)}.electricityPhases{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.electricityPhases b{font-size:20px}.energyExplain{padding:14px 16px;border-radius:14px;background:#f2f7f4;border:1px solid #dfe9e3;margin-bottom:20px}.energyExplain p{margin:5px 0 0;color:var(--muted);line-height:1.5}.electricityHistory{border-top:1px solid var(--line);padding-top:18px}.electricityHistory h3{margin:3px 0}.energyTabs{display:flex;gap:6px;flex-wrap:wrap}.energyChart{min-height:230px;border:1px solid var(--line);border-radius:14px;background:#fbfcfb;padding:8px;display:grid;align-items:center}.energyChart svg{width:100%;height:auto;display:block}.energyAxis{stroke:#d8e3dd;stroke-width:1}.energyLine{fill:none;stroke:#176b4a;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.energyText{font:11px system-ui,sans-serif;fill:#718078}.entityDetails{margin-top:16px}.entityDetails summary{cursor:pointer;color:var(--muted);font-weight:700}.entityDetails .entitylist{margin-top:10px}@media(max-width:650px){.electricityHero{grid-template-columns:1fr}.electricityPhases{grid-template-columns:1fr}.electricityHistory>.row{align-items:flex-start;flex-direction:column}.renameCabinRow{align-items:stretch;flex-direction:column}}

/* 0.8.1 Robot history, vacuum UI, product images */
.robotHistoryList{display:grid;gap:8px;margin-top:12px}.robotHistoryRow{border:1px solid var(--line);border-radius:13px;background:#fbfcfb;overflow:hidden}.robotHistoryRow>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px}.robotHistoryRow>summary::-webkit-details-marker{display:none}.robotHistoryRow summary span:first-child{min-width:0}.robotHistoryRow summary b,.robotHistoryRow summary small{display:block}.robotHistoryRow summary small{color:var(--muted);margin-top:3px}.historyChevron{font-size:20px;color:var(--muted);transition:.15s}.robotHistoryRow[open] .historyChevron{transform:rotate(180deg)}.robotHistoryDetail{padding:0 15px 14px;display:flex;gap:10px;flex-wrap:wrap;align-items:end}.robotHistoryDetail>span{padding:8px 10px;border-radius:10px;background:#fff;border:1px solid var(--line);min-width:90px}.robotHistoryDetail small,.robotHistoryDetail b{display:block}.robotHistoryDetail small{color:var(--muted);font-size:10px}.robotPicker{display:grid;gap:10px}.robotPick{width:100%;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit;cursor:pointer}.robotPick:hover{background:#f7faf8}.robotPickIcon{width:42px;height:42px;border-radius:12px;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand);font-size:22px}.robotPick b,.robotPick small{display:block}.robotPick small{color:var(--muted);margin-top:3px}.robotPick strong{font-size:25px;color:var(--brand)}.productImageEditor{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center}.productImagePreview{width:110px;height:90px;border:1px dashed var(--line);border-radius:12px;background:#f8faf9;display:grid;place-items:center;overflow:hidden;color:var(--muted);font-size:12px}.productImagePreview img{width:100%;height:100%;object-fit:cover}.productImageEditor input[type=file]{min-width:0;width:100%}.productImageEditor small{grid-column:2}@media(max-width:600px){.productImageEditor{grid-template-columns:1fr}.productImagePreview{width:100%;height:180px}.productImageEditor small{grid-column:auto}}


/* 0.8.3 Unified headers, electricity phases and price area */
.portalTop{width:100vw;margin-left:calc(50% - 50vw);padding-left:max(26px,calc((100vw - 1280px)/2 + 26px));padding-right:max(26px,calc((100vw - 1280px)/2 + 26px));box-shadow:0 1px 0 rgba(23,59,54,.02)}
.portalBrandCluster{gap:16px}.portalBrandMain{display:flex;align-items:center}.portalBrandImg{display:block;max-width:245px;max-height:46px;object-fit:contain}.portalBrandText{font-size:22px;color:var(--brand-dark)}.portalCabinMetaHead{padding-left:16px;border-left:1px solid var(--line)}.portalCabinMetaHead b{font-size:20px}.portalCabinMetaHead small{font-size:12px!important}
.electricityWidgetMeta{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0 2px;padding-top:12px;border-top:1px solid #edf1ee}.electricityWidgetMeta span{min-width:0}.electricityWidgetMeta small,.electricityWidgetMeta b{display:block}.electricityWidgetMeta small{font-size:11px;color:#7a8d84;margin-bottom:3px}.electricityWidgetMeta b{font-size:13px;color:#29483d;white-space:nowrap}.smartCard[data-feature=electricity]{min-height:205px}
.electricityAreaEditor{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}.electricityAreaEditor select{margin-top:0!important}.areaHint{display:block;font-size:11px;margin-top:5px;max-width:330px}
.storeTop{width:100vw;margin-left:calc(50% - 50vw);background:#fff;border-bottom:1px solid var(--line);padding:0;margin-bottom:28px;position:sticky;top:0;z-index:5}.storeTopInner{width:min(1240px,calc(100% - 44px));margin:auto;padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:18px}.storeBrand span{display:flex;flex-direction:column;gap:3px}.storeBrand span b{color:var(--green);font-size:19px}.storeBrand span small{font-size:11px;color:var(--muted);font-weight:500}.storeBrand>span{padding-left:14px}
@media(max-width:850px){.portalTop{padding-left:18px;padding-right:18px}.portalBrandImg{max-width:170px}.portalCabinMetaHead{padding-left:10px}.portalCabinMetaHead b{font-size:16px}.portalCabinMetaHead small{display:none!important}.electricityWidgetMeta{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.portalBrandImg{max-width:140px}.portalCabinMetaHead{display:none}.storeTopInner{width:calc(100% - 30px)}.storeBrand span small{display:none}}

/* 0.8.4 store + robot alert */
.storePage{padding-top:0!important}
.storeTop{margin-top:0!important}
.storeIntro{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:26px 0 18px}
.storeIntro h1{margin:3px 0 0;font-size:34px}
.storeIntro p{margin:0;max-width:620px;color:var(--muted);line-height:1.5}
.storeHeaderActions{display:flex;align-items:center;gap:10px}
.storeCartBtn{display:flex;align-items:center;gap:8px}
.storeCartBtn b{min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:#eaf3ee;color:var(--green);display:inline-grid;place-items:center;font-size:12px}
.storeCheckoutLogin{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.storeCheckoutLogin p{margin:0}
.storeCartLine{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}
.storeCartLine>div:first-child{display:flex;flex-direction:column;gap:3px}.storeCartLine small{color:var(--muted)}
.cartQty{display:flex;align-items:center;gap:9px}.cartQtyBtn{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:18px;line-height:1}
.smartCard{position:relative}.robotAlertBadge{position:absolute;top:13px;right:13px;width:24px;height:24px;border-radius:50%;background:#c7352b;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:900;box-shadow:0 3px 10px rgba(180,35,24,.22);z-index:2}.smartCard:has(.robotAlertBadge) .smartDots{margin-right:30px}
@media(max-width:700px){.storeIntro{align-items:flex-start;flex-direction:column;padding:20px 0 14px}.storeHeaderActions{gap:6px}.storeHeaderActions .btn{padding:9px 10px}.storeCheckoutLogin{align-items:flex-start;flex-direction:column}.storeCartLine{grid-template-columns:1fr auto}.storeCartLine>b{grid-column:2}.storeCartLine .cartQty{grid-row:1/3;grid-column:2}.storeBrand span{display:none}}

/* 0.8.5 robot lazy map / collapsible history / error list */
.robotHistory{border-top:1px solid var(--line);padding-top:0}.robotHistory>summary.robotHistorySummary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 2px}.robotHistory>summary::-webkit-details-marker{display:none}.robotHistorySummary b,.robotHistorySummary small{display:block}.robotHistorySummary small{color:var(--muted);margin-top:2px;font-size:11px}.robotErrors{margin:10px 0 14px;border:1px solid #f0c4bf;background:#fff7f5;border-radius:13px;overflow:hidden}.robotErrors>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:11px 13px}.robotErrors>summary::-webkit-details-marker{display:none}.robotErrorDot{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#c7352b;color:#fff;font-weight:900}.robotErrors>summary .muted{margin-left:auto}.robotErrorList{border-top:1px solid #f0d7d3;display:grid}.robotErrorItem{padding:10px 13px;display:grid;gap:2px}.robotErrorItem+.robotErrorItem{border-top:1px solid #f4dfdc}.robotErrorItem small,.robotErrorItem time{color:var(--muted);font-size:11px}.robotMapWrap[hidden]{display:none!important}

/* 0.8.7 electricity cost + price guidance */
.energyAdvice{margin:18px 0;padding:16px 18px;border:1px solid var(--line,#d9e3dd);border-radius:18px;background:#f7faf8;display:grid;gap:12px}.energyAdvice>div:first-child{display:flex;gap:10px;align-items:flex-start}.energyAdvice p{margin:3px 0 0}.adviceDot{width:11px;height:11px;border-radius:50%;background:#87988f;display:inline-block;margin-top:5px}.energyAdvice.good{background:#edf8f1;border-color:#b8dfc6}.energyAdvice.good .adviceDot{background:#20815a}.energyAdvice.high{background:#fff4ef;border-color:#edc1ae}.energyAdvice.high .adviceDot{background:#c95f42}.adviceWindows{display:flex;flex-wrap:wrap;gap:10px}.adviceWindows span{display:flex;flex-direction:column;padding:9px 12px;border-radius:12px;background:#fff;border:1px solid var(--line,#d9e3dd)}.adviceWindows small{font-size:11px}.electricityCostSection{margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#d9e3dd)}.dailyCostList{display:grid;gap:8px;margin:14px 0}.dailyCostRow{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;border:1px solid var(--line,#d9e3dd);border-radius:14px;background:#fff}.dailyCostRow>div{display:flex;flex-direction:column}.dailyCostRow>div:last-child{text-align:right}.costSettings{margin-top:16px;padding:12px 14px;border:1px solid var(--line,#d9e3dd);border-radius:14px;background:#fafcfb}.costSettings summary{font-weight:700;cursor:pointer}.formgrid.compact{margin:12px 0;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.formgrid.compact .field small{display:block;margin-top:3px;color:#6d7a74}

.weatherGlyph{width:26px;height:26px;display:block;color:var(--brand)}.dashboardWeatherGlyph{width:25px;height:25px}.quickWeatherGlyph{width:29px;height:29px}.weatherProviderMain{display:flex;align-items:center;gap:12px}.weatherProviderIcon{width:46px;height:46px;border-radius:13px;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand)}.weatherProviderIcon .providerWeatherGlyph{width:28px;height:28px}.weatherProviderCard .weatherProviderMain strong{margin:0}.weatherChoice.selected .weatherProviderIcon{background:#e2f2e8}

/* 0.9.0 – Integrationskatalog & portalens enhetsflöde */
.integrationSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.integrationSummary>span{background:var(--card-background,#fff);border:1px solid var(--line,#e4e8e4);border-radius:16px;padding:16px;display:flex;flex-direction:column}.integrationSummary b{font-size:1.55rem}.integrationSummary small{color:var(--muted,#687269);margin-top:4px}.integrationAdminGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.integrationAdminCard{background:#fff;border:1px solid #e5e9e5;border-radius:18px;padding:18px;box-shadow:0 8px 30px rgba(18,44,28,.04)}.integrationAdminHead{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center}.integrationAdminHead h3{margin:2px 0}.integrationAdminHead small,.integrationAdminHead span{color:var(--muted)}.integrationGlyph,.deviceCatalogIcon{width:46px;height:46px;border-radius:14px;background:#eef5ef;display:grid;place-items:center;font-size:22px;color:#1f5a37}.integrationAdminCard>p{color:var(--muted);min-height:42px}.integrationTags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.integrationTags span{background:#f3f6f3;border-radius:999px;padding:5px 8px;font-size:12px;color:#496052}.integrationMeta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.integrationMeta span{display:flex;flex-direction:column;min-width:0}.integrationMeta small{color:var(--muted)}.integrationMeta b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.integrationAdminCard code{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%}.portalIntegrationMiniList{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.portalIntegrationMiniList>div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;border:1px solid #e6ebe6;border-radius:12px;padding:10px}.portalIntegrationMiniList>div>span{width:34px;height:34px;border-radius:10px;background:#eef5ef;display:grid;place-items:center;color:#1f5a37}.portalIntegrationMiniList b,.portalIntegrationMiniList small{display:block}.portalIntegrationMiniList small{color:var(--muted);margin-top:2px}.integrationPicker{min-width:min(820px,82vw)}.integrationPickerTop{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.integrationPickerTop h2{margin:4px 0 6px}.integrationSearchWide{width:100%;box-sizing:border-box;margin:16px 0 10px}.deviceCategoryChips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.deviceCategoryChips button{border:1px solid #dfe6df;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer}.deviceCategoryChips button.active{background:#1f5a37;color:#fff;border-color:#1f5a37}.deviceCatalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:58vh;overflow:auto;padding:2px}.deviceCatalogCard{display:grid;grid-template-columns:48px 1fr;gap:12px;border:1px solid #e4e9e4;border-radius:16px;padding:14px;background:#fff}.deviceCatalogCard h3{margin:2px 0}.deviceCatalogCard p{color:var(--muted);font-size:14px}.deviceInstalled{background:#f4f7f4;border-radius:12px;padding:9px 11px;margin-top:10px}.deviceInstalled b,.deviceInstalled small{display:block}.deviceInstalled small{color:var(--muted);margin-top:3px}
@media(max-width:850px){.integrationAdminGrid,.deviceCatalog{grid-template-columns:1fr}.integrationSummary{grid-template-columns:repeat(2,1fr)}.integrationMeta{grid-template-columns:repeat(2,1fr)}.integrationPicker{min-width:0}.integrationPickerTop{flex-direction:column}}
