/* ============================================================
   Hero slideshow — live HTML recreations of the app screenshots
   so the text inside is real, selectable & copyable.
   Each screen is designed on a fixed 1613×1110 canvas and scaled
   to fill its .img-shadow frame via JS (see hero-screens scaler).
   ============================================================ */

.hero-screen{position:absolute;inset:0;overflow:hidden;background:#F4F6F9;border-radius:14px;container-type:inline-size}
.hero-screen *{box-sizing:border-box}
.hero-screen-inner{position:absolute;top:0;left:0;width:1613px;height:1110px;transform-origin:top left;transform:scale(calc(100cqw / 1613px));
  font-family:'Inter',system-ui,sans-serif;color:#0C1117;-webkit-font-smoothing:antialiased}

/* text in these screens must stay selectable */
.hero-screen, .hero-screen *{-webkit-user-select:text;user-select:text}

/* ---- shared app chrome ---- */
.hs-top{display:flex;align-items:center;gap:26px;height:96px;padding:0 40px;background:#fff;border-bottom:1px solid #ECEFF3}
.hs-logo{font-family:'Sora',sans-serif;font-weight:800;font-size:30px;letter-spacing:-.01em;color:#0C1117;display:flex;align-items:center;gap:0}
.hs-logo .id{background:#0C1117;color:#fff;border-radius:7px;padding:2px 9px;margin-left:3px}
.hs-nav{display:flex;align-items:center;gap:30px;margin-left:14px}
.hs-nav-item{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:600;color:#8A95A3}
.hs-nav-item.active{color:#2F73FF}
.hs-nav-item svg{width:26px;height:26px}
.hs-nav-ico{display:flex;align-items:center;gap:24px;margin-left:8px;color:#5A6473}
.hs-nav-ico svg{width:25px;height:25px}
.hs-top-right{margin-left:auto;display:flex;align-items:center;gap:22px}
.hs-lang{display:flex;align-items:center;gap:7px;font-size:21px;color:#3A4452;font-weight:500}
.hs-lang svg{width:18px;height:18px}
.hs-ava{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:19px;color:#fff}
.hs-ava.j{background:#2F73FF}
.hs-ava.m{background:#11151C;color:#E8B84B;font-family:'Sora',sans-serif}
.hs-bell{position:relative;color:#5A6473}
.hs-bell svg{width:27px;height:27px}
.hs-bell .dot{position:absolute;top:-6px;right:-6px;background:#E11D48;color:#fff;font-size:14px;font-weight:700;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center}

.hs-body{position:relative;height:calc(1110px - 96px);padding:34px 40px;overflow:hidden}

/* ---- machine list ---- */
.hs-addbtn{position:absolute;top:34px;right:40px;background:#2F73FF;color:#fff;font-size:23px;font-weight:700;
  border-radius:12px;padding:18px 30px;display:inline-flex;align-items:center;gap:12px;box-shadow:0 10px 22px -8px rgba(47,115,255,.5)}
.hs-addbtn .plus{font-size:30px;font-weight:600;line-height:1}

/* list header toolbar (tabs / manage groups / view toggles) */
.hs-lhead{position:relative;height:140px}
.hero-screen-list .hs-addbtn{top:0;right:0}
.hs-ltools{position:absolute;top:74px;right:0;display:flex;align-items:center;gap:16px}
.hs-manage{display:inline-flex;align-items:center;gap:11px;background:#fff;border:1.5px solid #E2E8F0;border-radius:12px;padding:13px 24px;font-size:22px;font-weight:600;color:#2F73FF;box-shadow:0 1px 3px rgba(15,33,89,.05)}
.hs-manage svg{width:22px;height:22px}
.hs-views{display:inline-flex;gap:4px;background:#fff;border:1.5px solid #E2E8F0;border-radius:12px;padding:7px}
.hs-views span{width:46px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#AEB7C2}
.hs-views span.on{background:#EAF1FB;color:#2F73FF}
.hs-views span svg{width:24px;height:24px}
.hs-ltabs{position:absolute;top:82px;left:0;right:470px;display:flex;gap:22px;align-items:center;overflow:hidden}
.hs-ltab{font-size:23px;font-weight:600;color:#7A8493;display:flex;align-items:center;gap:9px;white-space:nowrap}
.hs-ltab .n{background:#EDF0F4;color:#8A95A3;border-radius:20px;padding:3px 13px;font-size:19px;font-weight:700}
.hs-ltab.act{color:#2F73FF}
.hs-ltab.act .n{background:#EAF1FB;color:#2F73FF}
.hs-ltab.on{background:#2F73FF;color:#fff;border-radius:26px;padding:11px 24px}
.hs-ltab.on svg{width:21px;height:21px}

.hs-group{margin-bottom:22px}
.hs-group-head{display:flex;align-items:center;gap:16px;background:#fff;border-radius:14px;padding:20px 24px;
  box-shadow:0 1px 3px rgba(15,33,89,.05);position:relative;overflow:hidden}
.hs-group-head::before{content:'';position:absolute;left:0;top:0;bottom:0;width:7px;border-radius:14px 0 0 14px}
.hs-group.g1 .hs-group-head::before{background:#2F73FF}
.hs-group.g2 .hs-group-head::before{background:#22B07D}
.hs-group.g3 .hs-group-head::before{background:#E0464B}
.hs-chev{color:#7A8493;font-size:22px}
.hs-chev svg{width:24px;height:24px}
.hs-group-name{font-size:25px;font-weight:700;color:#0C1117}
.hs-group-count{margin-left:auto;background:#EAF1FB;color:#2F73FF;font-size:20px;font-weight:700;border-radius:50%;
  width:42px;height:42px;display:flex;align-items:center;justify-content:center}
.hs-group.g2 .hs-group-count{background:#E4F6EE;color:#22B07D}
.hs-group.g3 .hs-group-count{background:#FBE9E9;color:#E0464B}

.hs-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:16px}
.hs-card{display:flex;align-items:center;gap:20px;background:#fff;border-radius:14px;padding:20px 24px;
  box-shadow:0 1px 3px rgba(15,33,89,.05);border:1.5px solid transparent}
.hs-card.sel{border-color:#2F73FF;box-shadow:0 0 0 2px rgba(47,115,255,.18),0 10px 26px -10px rgba(47,115,255,.3)}
.hs-card-thumb{width:74px;height:74px;border-radius:12px;background:#EEF1F5 center/cover no-repeat;flex:none;
  display:flex;align-items:center;justify-content:center;color:#9AA4B2;overflow:hidden}
.hs-card-thumb img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.hs-card-tx{min-width:0}
.hs-card-t{font-size:25px;font-weight:700;color:#0C1117;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-card-d{font-size:20px;color:#8A95A3;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-status{margin-left:auto;width:20px;height:20px;border-radius:50%;flex:none}
.hs-status.amber{background:#F5A623}
.hs-status.green{background:#22B07D}
.hs-status.red{background:#E0464B}
.hs-card-thumb.multi{position:relative}
.hs-card-thumb .plus1{position:absolute;right:-2px;bottom:-2px;background:#2A3340;color:#fff;font-size:14px;font-weight:700;
  border-radius:7px;padding:2px 6px}

.hs-midas{position:absolute;right:0;top:46%;background:#1A1E26;color:#E8B84B;border-radius:14px 0 0 14px;
  padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:18px;font-weight:700;
  letter-spacing:.12em;writing-mode:vertical-rl}
.hs-midas .m-ic{font-family:'Sora',sans-serif;font-size:22px;writing-mode:horizontal-tb;margin-bottom:6px}
.hs-scroll{position:absolute;right:14px;top:120px;bottom:60px;width:8px;border-radius:4px;background:#E2E7EE}
.hs-scroll::after{content:'';position:absolute;top:30%;left:0;right:0;height:30%;border-radius:4px;background:#C2CAD4}

/* ---- machine detail / actions page (slide 5) ---- */
.hs-detail .hs-body{padding:26px 40px}
.hs-crumb{display:flex;align-items:center;gap:13px;font-size:22px;font-weight:600;margin-bottom:18px}
.hs-crumb .c0{color:#2F73FF}
.hs-crumb .sep{color:#AEB7C2}
.hs-crumb .cur{color:#3A4452}
.hs-detail-card{background:#fff;border-radius:20px;padding:34px;display:grid;grid-template-columns:560px minmax(0,1fr) 470px;gap:38px;box-shadow:0 2px 6px rgba(15,33,89,.05)}
.hs-photo{position:relative;background:#EDEFF2;border-radius:16px;height:430px;overflow:hidden}
.hs-photo img{width:100%;height:100%;object-fit:contain;object-position:center}
.hs-photo .hi{position:absolute;left:14%;top:30%;width:20%;height:34%;border:3px solid #E0464B;border-radius:6px}
.hs-photo .qr{position:absolute;right:26px;bottom:26px;width:150px;height:150px;background:#fff;border-radius:10px;padding:9px;box-shadow:0 8px 20px rgba(15,33,89,.18)}
.hs-photo .qr svg,.hs-photo .qr img{width:100%;height:100%;display:block;border-radius:3px}
.hs-photo-cap{display:flex;align-items:center;justify-content:center;gap:8px;color:#8A95A3;font-size:19px;margin-top:12px}
.hs-photo-cap svg{width:18px;height:18px}
.hs-askai{margin-top:26px;border:1.5px solid #C9B6F2;border-radius:16px;padding:24px 26px;display:flex;align-items:center;gap:18px}
.hs-askai .spk{color:#7C45E0;flex:none}
.hs-askai .spk svg{width:34px;height:34px}
.hs-askai-tx b{display:block;color:#7C45E0;font-size:26px;font-weight:700;margin-bottom:5px}
.hs-askai-tx span{color:#6B7280;font-size:21px;line-height:1.3}
.hs-askai .go{margin-left:auto;color:#7C45E0}
.hs-askai .go svg{width:26px;height:26px}
.hs-dtitle{font-family:'Sora',sans-serif;font-size:54px;font-weight:800;letter-spacing:-.01em;color:#0C1117;line-height:1.05}
.hs-dsn{font-size:34px;color:#5A6473;font-weight:600;margin-top:18px}
.hs-pill{display:inline-block;margin-top:24px;background:#EAF1FB;color:#2F73FF;font-size:24px;font-weight:600;border-radius:24px;padding:11px 26px}
.hs-actions{display:flex;flex-direction:column;gap:18px}
.hs-act{display:flex;align-items:center;gap:18px;background:#fff;border:1.5px solid #E4E9F0;border-radius:14px;padding:20px 24px;font-size:25px;font-weight:600;color:#2A3340;box-shadow:0 1px 2px rgba(15,33,89,.04)}
.hs-act .ic{width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:none}
.hs-act .ic svg{width:28px;height:28px}
.hs-act .nfo{margin-left:auto;color:#AEB7C2}
.hs-act .nfo svg{width:24px;height:24px}
.hs-act.red{border-left:5px solid #E0464B}
.hs-act.red .ic{color:#E0464B}
.hs-act.orange{border-left:5px solid #F08C2E}
.hs-act.orange .ic{color:#F08C2E}
.hs-act.blue{border-left:5px solid #2F73FF}
.hs-act.blue .ic{color:#2F73FF}
.hs-act.plain .ic{color:#5A6473}

/* ---- the floating ZOOM detail card (callout) ---- */
.hero-screen-card{background:#fff;border-radius:6px;position:relative;inset:auto;width:100%;overflow:visible}
.hero-screen-card .hero-screen-inner{width:520px;height:auto;min-height:920px;padding:26px 26px 30px;background:#fff;border-radius:6px;transform:scale(calc(100cqw / 520px))}
.hsc-status{position:absolute;top:20px;right:22px;width:22px;height:22px;border-radius:50%;background:#F5A623}
.hsc-photo{background:#F1F3F6;border-radius:14px;height:330px;margin:6px 10px 0;overflow:hidden}
.hsc-photo img{width:100%;height:100%;object-fit:contain}
.hsc-title{text-align:center;font-family:'Sora',sans-serif;font-size:40px;font-weight:800;color:#0C1117;margin-top:26px}
.hsc-sub{text-align:center;font-size:30px;color:#5A6473;font-weight:600;margin-top:10px}
.hsc-brand{text-align:center;font-size:28px;color:#0C1117;font-weight:700;margin-top:8px}
.hsc-div{border-top:1.5px dashed #DBE1E9;margin:26px 6px}
.hsc-row{display:flex;align-items:center;justify-content:space-between;padding:14px 8px;font-size:27px}
.hsc-row .k{color:#8A95A3}
.hsc-row .v{color:#0C1117;font-weight:700}
.hsc-row.loc{background:#EAF1FB;border-left:5px solid #2F73FF;border-radius:8px;padding-left:14px;padding-right:12px;margin:0 6px;gap:8px;overflow:hidden;max-width:none;box-sizing:border-box}
.hsc-row.loc .k{flex:none}
.hsc-row.loc .v{display:flex;align-items:center;gap:7px;color:#2A3340;min-width:0;justify-content:flex-end;font-size:19px}
.hsc-row.loc .v span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.hsc-row.loc .v svg{width:19px;height:19px;color:#2F73FF;flex:none}
.hsc-hala{display:block;width:max-content;margin:22px auto 0;background:#F1E9FB;color:#7C45E0;font-size:26px;font-weight:700;border-radius:22px;padding:9px 28px}

/* ---- machine catalog (slide 3, scrolls) ---- */
.hero-screen-catalog .hero-screen-inner{height:auto;min-height:1110px}
.hero-screen-catalog .hs-body{height:auto;overflow:visible;padding-bottom:48px}
.hs-cat-title{font-family:'Sora',sans-serif;font-size:46px;font-weight:800;color:#0C1117;position:relative;padding-bottom:12px;margin-bottom:8px}
.hs-cat-title::after{content:'';position:absolute;left:0;bottom:0;width:90px;height:5px;border-radius:3px;background:linear-gradient(90deg,#2F73FF,#7C45E0)}
.hs-tabs{display:flex;gap:18px;margin:26px 0 28px;overflow:hidden}
.hs-tab{flex:none;border:1.5px solid #E2E8F0;background:#fff;border-radius:30px;padding:16px 28px;font-size:24px;font-weight:600;color:#3A4452;display:flex;align-items:center;gap:8px;white-space:nowrap}
.hs-tab .ct{color:#9AA4B2;font-weight:600}
.hs-tab.all{color:#AEB7C2;border-color:transparent}
.hs-catgrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.hs-cc{background:#fff;border-radius:16px;padding:26px 28px;box-shadow:0 1px 3px rgba(15,33,89,.05)}
.hs-cc-tag{font-size:20px;font-weight:700;letter-spacing:.08em;border-radius:8px;padding:6px 14px;display:inline-block}
.hs-cc-tag.turning{background:#F3E9FB;color:#9544D8}
.hs-cc-tag.milling{background:#E7F0FF;color:#2F73FF}
.hs-cc-units{float:right;background:#E4F6EE;color:#22B07D;font-size:20px;font-weight:700;border-radius:20px;padding:6px 18px}
.hs-cc-main{display:flex;align-items:center;gap:22px;margin-top:20px}
.hs-cc-thumb{width:96px;height:96px;border-radius:12px;background:#EEF1F5;flex:none;display:flex;align-items:center;justify-content:center;color:#9AA4B2;overflow:hidden}
.hs-cc-thumb img{width:100%;height:100%;object-fit:cover}
.hs-cc-thumb svg{width:40px;height:40px}
.hs-cc-name{font-size:30px;font-weight:700;color:#0C1117}
.hs-cc-brand{font-size:24px;color:#5A6473;margin-top:4px}
.hs-cc-type{font-size:23px;color:#8A95A3;margin-top:2px}
.hs-cc-specs{display:flex;gap:26px;margin-top:20px;font-size:24px;color:#8A95A3}
.hs-cc-specs b{color:#0C1117;font-weight:700}
.hs-cc-foot{display:flex;align-items:center;justify-content:space-between;border-top:1.5px solid #EEF1F5;margin-top:20px;padding-top:18px;font-size:23px}
.hs-cc-foot .nw{color:#8A95A3}
.hs-cc-foot .nw.units{color:#22B07D;font-weight:700}
.hs-cc-foot .add{color:#2F73FF;font-weight:700}
.hs-cat-pager{display:flex;align-items:center;justify-content:flex-end;gap:24px;margin-top:30px;font-size:24px;color:#5A6473}
.hs-cat-pager .pg{display:flex;gap:14px;align-items:center}
.hs-cat-pager .pg b{color:#0C1117}

/* ---- Add machine dialog (slide, zoom) ---- */
.hero-screen-add .hs-body{position:relative}
.hs-add-bg{position:absolute;inset:0;padding:34px 40px;opacity:.5}
.hs-add-tabs{display:flex;gap:26px;align-items:center;font-size:23px;color:#8A95A3;font-weight:600;margin-bottom:26px}
.hs-add-tabs .t{display:flex;align-items:center;gap:8px}
.hs-add-tabs .t .n{color:#AEB7C2}
.hs-add-tabs .t.on{background:#2F73FF;color:#fff;border-radius:24px;padding:10px 22px}
.hs-add-cols{display:grid;grid-template-columns:380px 1fr;gap:30px}
.hs-add-filter{background:#fff;border-radius:16px;padding:26px;box-shadow:0 1px 3px rgba(15,33,89,.05)}
.hs-add-search{display:flex;align-items:center;gap:12px;background:#F4F6F9;border-radius:12px;padding:18px 20px;color:#9AA4B2;font-size:22px;margin-bottom:22px}
.hs-add-search svg{width:24px;height:24px}
.hs-add-lbl{font-size:20px;font-weight:700;letter-spacing:.06em;color:#8A95A3;margin:18px 0 12px}
.hs-add-fitem{display:flex;align-items:center;justify-content:space-between;font-size:23px;color:#3A4452;padding:12px 14px;border-radius:10px}
.hs-add-fitem.on{background:#EAF1FB;color:#2F73FF;font-weight:700;border-left:4px solid #2F73FF}
.hs-add-fitem .n{color:#AEB7C2;font-weight:600}
.hs-add-right{display:flex;flex-direction:column;gap:16px}
.hs-add-ghead{display:flex;align-items:center;gap:14px;background:#fff;border-radius:14px;padding:18px 22px;box-shadow:0 1px 3px rgba(15,33,89,.05);border-left:7px solid #2F73FF}
.hs-scrim{position:absolute;inset:0;background:rgba(22,30,44,.42);z-index:5}
.hs-modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:1080px;background:#fff;border-radius:22px;padding:48px 56px;z-index:6;box-shadow:0 50px 120px rgba(10,20,40,.45)}
.hs-modal-h{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:34px}
.hs-modal-h .ic{width:64px;height:64px;border-radius:50%;background:#E7F0FF;display:flex;align-items:center;justify-content:center;color:#2F73FF}
.hs-modal-h .ic svg{width:34px;height:34px}
.hs-modal-h b{font-family:'Sora',sans-serif;font-size:42px;font-weight:800;color:#0C1117}
.hs-modal-search{display:flex;align-items:center;gap:14px;background:#F4F6F9;border:1.5px solid #EAEEF3;border-radius:14px;padding:24px 26px;color:#9AA4B2;font-size:26px}
.hs-modal-search svg{width:28px;height:28px}
.hs-modal-or{text-align:center;color:#AEB7C2;font-size:22px;font-weight:700;letter-spacing:.1em;margin:30px 0}
.hs-modal-cards{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.hs-mc{border:1.5px solid #EAEEF3;border-radius:16px;padding:40px 30px;text-align:center}
.hs-mc .ic{width:84px;height:84px;border-radius:18px;display:flex;align-items:center;justify-content:center;margin:0 auto 22px}
.hs-mc .ic svg{width:40px;height:40px}
.hs-mc.green .ic{background:#E4F6EE;color:#22B07D}
.hs-mc.purple .ic{background:#F3E9FB;color:#9544D8}
.hs-mc b{display:block;font-size:30px;font-weight:700;color:#0C1117;margin-bottom:14px}
.hs-mc span{font-size:22px;color:#8A95A3;line-height:1.4}
.hs-modal-cancel{text-align:center;color:#2F73FF;font-size:26px;font-weight:600;margin-top:36px}

/* ---- machine specs page (slide, click + loading) ---- */
.hs-spec .hs-body{padding:24px 40px}
.hs-back{display:flex;align-items:center;gap:12px;color:#2F73FF;font-size:23px;font-weight:600;margin-bottom:14px}
.hs-back svg{width:24px;height:24px}
.hs-spec-grid{display:grid;grid-template-columns:560px minmax(0,1fr);gap:44px;margin-top:14px}
.hs-spec-photo{background:#EDEFF2;border-radius:16px;height:430px;overflow:hidden}
.hs-spec-photo img{width:100%;height:100%;object-fit:contain}
.hs-spec-name{font-family:'Sora',sans-serif;font-size:50px;font-weight:800;color:#0C1117;margin-top:26px}
.hs-spec-brand{font-size:30px;color:#8A95A3;margin-top:8px}
.hs-spec-pills{display:flex;gap:14px;margin-top:20px}
.hs-spec-pills .p{font-size:23px;font-weight:600;border-radius:22px;padding:9px 22px}
.hs-spec-pills .p.turn{background:#F3E9FB;color:#9544D8}
.hs-spec-pills .p.ax{background:#EEF1F5;color:#5A6473}
.hs-spec-units{color:#22B07D;font-size:25px;font-weight:700;margin-top:22px}
.hs-spec-addbtn{display:inline-block;margin-top:26px;background:#2F73FF;color:#fff;font-size:28px;font-weight:700;border-radius:14px;padding:22px 40px;box-shadow:0 12px 26px -10px rgba(47,115,255,.55)}
.hs-spec-h{display:flex;align-items:center;gap:18px;margin-bottom:8px}
.hs-spec-h b{font-family:'Sora',sans-serif;font-size:42px;font-weight:800}
.hs-spec-h .tools{margin-left:auto;display:flex;gap:14px;font-size:22px;color:#5A6473;align-items:center}
.hs-spec-h .tools .metric{background:#2F73FF;color:#fff;border-radius:10px;padding:8px 18px;font-weight:600}
.hs-spec-line{width:90px;height:5px;border-radius:3px;background:linear-gradient(90deg,#2F73FF,#7C45E0);margin-bottom:26px}
.hs-sec{border-radius:12px;overflow:hidden;margin-bottom:16px;border:1px solid #EAEEF3}
.hs-sec-h{display:flex;align-items:center;gap:14px;padding:22px 26px;font-size:25px;font-weight:700;color:#2A3340;background:#F4F8FE;border-left:5px solid #2F73FF}
.hs-sec-h.core{color:#2F73FF}
.hs-sec-h .cnt{margin-left:auto;color:#9AA4B2;font-size:22px;font-weight:600}
.hs-sec-h svg{width:24px;height:24px;color:#2F73FF}
.hs-spec-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:20px 26px;font-size:24px;border-top:1px solid #F1F4F8;background:#fff}
.hs-spec-row .k{color:#5A6473}
.hs-spec-row .v{color:#0C1117;font-weight:700;text-align:right;max-width:50%}
.hs-spec-row .v.dim{color:#AEB7C2;font-weight:600}
