.etk-size-advisor{--orange:#E08326;--cyan:#26E0D0;--slate:#414F61;--brown:#615141;--cream:#FFF8F1;--ink:#20242B;--muted:#707783;--line:#EEE3D8;--white:#fff;max-width:1180px;margin:22px auto;padding:18px;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink);direction:rtl;text-align:right}.etk-size-advisor *{box-sizing:border-box}.etk-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:22px;align-items:center;padding:34px;border-radius:34px;background:radial-gradient(circle at 8% 8%,rgba(38,224,208,.32),transparent 32%),linear-gradient(135deg,#fff,var(--cream) 58%,#fff2e5);border:1px solid rgba(224,131,38,.18);box-shadow:0 26px 70px rgba(65,79,97,.13)}.etk-hero:before{content:"";position:absolute;inset:auto -70px -140px auto;width:280px;height:280px;border-radius:50%;background:rgba(224,131,38,.15)}.etk-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(65,79,97,.95);color:#fff;font-size:12px;font-weight:900;letter-spacing:.2px}.etk-hero h2{margin:18px 0 12px;font-size:clamp(31px,5.6vw,56px);line-height:1.05;color:var(--slate);letter-spacing:-1px}.etk-hero p{margin:0;max-width:690px;color:var(--muted);font-size:17px;line-height:1.9}.etk-hero-actions,.etk-form-actions,.etk-camera-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:22px}.etk-btn{height:48px;border:0;border-radius:16px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:950;cursor:pointer;transition:.22s ease;white-space:nowrap}.etk-btn:hover{transform:translateY(-2px)}.etk-btn:disabled{opacity:.52;cursor:not-allowed;transform:none}.etk-btn-primary{background:linear-gradient(135deg,var(--orange),#F0A15B);color:#fff;box-shadow:0 16px 32px rgba(224,131,38,.28)}.etk-btn-soft{background:#fff;color:var(--slate);border:1px solid var(--line);box-shadow:0 12px 28px rgba(65,79,97,.08)}.etk-btn-dark{background:var(--slate);color:#fff;box-shadow:0 13px 28px rgba(65,79,97,.2)}.etk-btn-ghost{background:transparent;color:var(--brown);border:1px solid rgba(97,81,65,.25)}.etk-trust-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.etk-trust-row span{display:inline-flex;padding:8px 11px;border-radius:999px;background:rgba(38,224,208,.15);border:1px solid rgba(38,224,208,.22);font-size:12px;font-weight:900;color:#227B76}.etk-hero-visual{position:relative;min-height:430px;display:grid;place-items:center}.etk-phone-card{position:relative;width:min(300px,88vw);height:410px;border-radius:38px;background:linear-gradient(180deg,#fff,#FFF8F1);border:8px solid #fff;box-shadow:0 30px 70px rgba(65,79,97,.22);overflow:hidden}.etk-phone-card:before{content:"";position:absolute;inset:48px 20px 86px;border-radius:30px;background:radial-gradient(circle at 50% 20%,rgba(38,224,208,.16),rgba(224,131,38,.08) 50%,rgba(65,79,97,.08));border:1px solid rgba(224,131,38,.12)}.etk-phone-top{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:78px;height:7px;border-radius:999px;background:#D8DCE2}.etk-child-silhouette{position:absolute;inset:80px 70px 120px}.etk-child-silhouette i{position:absolute;display:block;background:linear-gradient(135deg,var(--slate),#6C7A8D);box-shadow:0 12px 24px rgba(65,79,97,.16)}.etk-child-silhouette .head{width:54px;height:54px;border-radius:50%;top:0;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#FFD1A7,#F6B77F)}.etk-child-silhouette .body{width:88px;height:126px;border-radius:35px 35px 28px 28px;top:64px;left:50%;transform:translateX(-50%);background:linear-gradient(145deg,var(--orange),#F7B572)}.etk-child-silhouette .arm{width:24px;height:112px;border-radius:999px;top:82px}.etk-child-silhouette .arm.left{right:17px;transform:rotate(-12deg)}.etk-child-silhouette .arm.right{left:17px;transform:rotate(12deg)}.etk-child-silhouette .leg{width:27px;height:112px;border-radius:999px;top:180px;background:linear-gradient(180deg,var(--slate),#738092)}.etk-child-silhouette .leg.left{right:54px}.etk-child-silhouette .leg.right{left:54px}.etk-frame-corners i{position:absolute;width:50px;height:50px;border-color:var(--cyan);border-style:solid}.etk-frame-corners i:nth-child(1){top:62px;right:28px;border-width:4px 4px 0 0;border-radius:0 18px 0 0}.etk-frame-corners i:nth-child(2){top:62px;left:28px;border-width:4px 0 0 4px;border-radius:18px 0 0 0}.etk-frame-corners i:nth-child(3){bottom:96px;right:28px;border-width:0 4px 4px 0;border-radius:0 0 18px 0}.etk-frame-corners i:nth-child(4){bottom:96px;left:28px;border-width:0 0 4px 4px;border-radius:0 0 0 18px}.etk-phone-result{position:absolute;right:18px;left:18px;bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-radius:22px;background:rgba(255,255,255,.84);border:1px solid rgba(224,131,38,.18);backdrop-filter:blur(14px)}.etk-phone-result small,.etk-phone-result span{font-size:12px;color:var(--muted);font-weight:800}.etk-phone-result strong{font-size:30px;color:var(--orange)}.etk-floating-card{position:absolute;z-index:3;padding:14px 16px;border-radius:20px;background:#fff;border:1px solid rgba(238,227,216,.8);box-shadow:0 20px 42px rgba(65,79,97,.14);animation:etkFloat 4.8s ease-in-out infinite}.etk-floating-card b{display:block;color:var(--slate);font-size:13px}.etk-floating-card span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.etk-floating-card.one{right:2%;top:58px}.etk-floating-card.two{left:4%;bottom:90px;animation-delay:.7s}@keyframes etkFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}.etk-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.etk-progress div{display:flex;align-items:center;gap:10px;padding:14px;border-radius:20px;background:#fff;border:1px solid var(--line);color:var(--muted);box-shadow:0 10px 26px rgba(65,79,97,.055)}.etk-progress b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#F5EFE8;color:var(--brown)}.etk-progress div.active{border-color:rgba(224,131,38,.35);color:var(--slate)}.etk-progress div.active b{background:var(--orange);color:#fff}.etk-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(310px,.94fr);gap:16px;align-items:start}.etk-panel{background:#fff;border:1px solid var(--line);border-radius:30px;padding:22px;box-shadow:0 18px 45px rgba(65,79,97,.075)}.etk-section-title span{display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(224,131,38,.12);color:var(--orange);font-size:12px;font-weight:950}.etk-section-title h3{margin:12px 0 7px;font-size:26px;color:var(--slate);line-height:1.2}.etk-section-title p{margin:0;color:var(--muted);line-height:1.75}.etk-section-title.compact h3{font-size:22px}.etk-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:20px}.etk-form-grid label{display:flex;flex-direction:column;gap:7px;color:var(--slate);font-weight:900;font-size:13px}.etk-form-grid label.etk-wide{grid-column:1/-1}.etk-form-grid input,.etk-form-grid select{height:50px;border:1px solid var(--line);border-radius:16px;background:#FBFAF8;padding:0 14px;color:var(--ink);font-weight:800;outline:none;transition:.2s}.etk-form-grid input:focus,.etk-form-grid select:focus{border-color:rgba(224,131,38,.65);box-shadow:0 0 0 4px rgba(224,131,38,.1);background:#fff}.etk-inline-note{margin-top:18px;padding:14px;border-radius:18px;background:rgba(38,224,208,.1);border:1px solid rgba(38,224,208,.18);color:#2E6E70;line-height:1.75}.etk-camera-box{position:relative;overflow:hidden;margin-top:18px;min-height:430px;border-radius:28px;background:radial-gradient(circle at 50% 26%,#fff,#f4eee8 60%,#ece3dc);display:grid;place-items:center}.etk-camera-box video,.etk-camera-box canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.etk-camera-box canvas{z-index:2;pointer-events:none}.etk-camera-frame{position:absolute;z-index:3;inset:34px 40px 58px;border:1px dashed rgba(38,224,208,.55);border-radius:34px;display:grid;place-items:end center;padding:16px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.38);font-weight:950}.etk-camera-frame i{position:absolute;width:48px;height:48px;border-color:var(--cyan);border-style:solid}.etk-camera-frame i:nth-child(1){top:-2px;right:-2px;border-width:5px 5px 0 0;border-radius:0 20px 0 0}.etk-camera-frame i:nth-child(2){top:-2px;left:-2px;border-width:5px 0 0 5px;border-radius:20px 0 0 0}.etk-camera-frame i:nth-child(3){bottom:-2px;right:-2px;border-width:0 5px 5px 0;border-radius:0 0 20px 0}.etk-camera-frame i:nth-child(4){bottom:-2px;left:-2px;border-width:0 0 5px 5px;border-radius:0 0 0 20px}.etk-camera-status{position:absolute;z-index:4;right:16px;left:16px;bottom:14px;padding:12px 14px;border-radius:18px;background:rgba(65,79,97,.82);color:#fff;backdrop-filter:blur(12px);font-weight:850;line-height:1.55;text-align:center}.etk-privacy-mini{margin-top:12px;padding:12px;border-radius:16px;background:#F7FFF9;border:1px solid #CDEFD9;color:#247244;font-weight:850;line-height:1.6}.etk-result-panel,.etk-products-panel{margin-top:16px}.etk-result-grid{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:12px;margin-top:18px}.etk-size-card,.etk-confidence-card,.etk-reason-card{border-radius:24px;background:linear-gradient(135deg,#fff,#FFF9F3);border:1px solid rgba(224,131,38,.16);padding:20px;min-height:158px}.etk-size-card small,.etk-confidence-card small,.etk-reason-card small{display:block;color:var(--muted);font-weight:900}.etk-size-card strong{display:block;margin:8px 0 6px;font-size:54px;line-height:1;color:var(--orange)}.etk-size-card span{color:var(--slate);font-weight:900}.etk-ring{width:102px;height:102px;border-radius:50%;margin:10px 0;display:grid;place-items:center;background:conic-gradient(var(--cyan),var(--orange),#F1E8DE);box-shadow:inset 0 0 0 12px #fff}.etk-ring b{font-size:24px;color:var(--slate)}.etk-confidence-card span{font-weight:950;color:#237973}.etk-reason-card p{margin:8px 0 0;line-height:1.85;color:var(--slate)}.etk-warning{margin-top:12px;padding:13px 15px;border-radius:18px;background:#FFF7DB;border:1px solid #F6D983;color:#7A550B;font-weight:850;line-height:1.7}.etk-products{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.etk-product-card{position:relative;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 16px 34px rgba(65,79,97,.07);transition:.2s}.etk-product-card:hover{transform:translateY(-3px);box-shadow:0 22px 44px rgba(65,79,97,.11)}.etk-product-card a{display:block;color:inherit;text-decoration:none}.etk-product-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#F6F2EE}.etk-product-badge{position:absolute;z-index:2;top:12px;right:12px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.9);border:1px solid rgba(224,131,38,.25);color:var(--orange);font-size:11px;font-weight:950;backdrop-filter:blur(10px)}.etk-product-body{padding:14px}.etk-product-body h4{margin:0 0 8px;font-size:15px;line-height:1.45;color:var(--slate);min-height:43px}.etk-price{color:var(--orange);font-weight:950;margin-bottom:8px}.etk-product-body small{display:block;color:var(--muted);line-height:1.5;min-height:38px}.etk-product-body b{display:inline-flex;margin-top:12px;color:#fff;background:var(--slate);border-radius:999px;padding:8px 12px;font-size:12px}.etk-empty-products{grid-column:1/-1;padding:22px;border-radius:22px;background:#FBFAF8;border:1px dashed var(--line);color:var(--muted);font-weight:900;text-align:center}@media(max-width:1024px){.etk-hero,.etk-grid{grid-template-columns:1fr}.etk-hero-visual{min-height:380px}.etk-products{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.etk-size-advisor{padding:10px;margin:10px auto}.etk-hero{padding:22px 16px;border-radius:28px;gap:8px}.etk-hero h2{font-size:34px;letter-spacing:-.5px}.etk-hero p{font-size:15px;line-height:1.75}.etk-hero-actions{display:grid;grid-template-columns:1fr;gap:9px}.etk-btn{width:100%;height:48px}.etk-hero-visual{min-height:330px}.etk-phone-card{width:240px;height:326px;border-radius:32px}.etk-phone-card:before{inset:40px 16px 72px}.etk-child-silhouette{transform:scale(.74);transform-origin:center top;inset:62px 42px 92px}.etk-frame-corners i:nth-child(1){top:52px;right:22px}.etk-frame-corners i:nth-child(2){top:52px;left:22px}.etk-frame-corners i:nth-child(3){bottom:80px;right:22px}.etk-frame-corners i:nth-child(4){bottom:80px;left:22px}.etk-phone-result{right:12px;left:12px;bottom:12px;padding:11px 12px}.etk-phone-result strong{font-size:25px}.etk-floating-card{padding:10px 12px}.etk-floating-card.one{right:0;top:42px}.etk-floating-card.two{left:0;bottom:62px}.etk-progress{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:3px}.etk-progress div{min-width:190px;scroll-snap-align:start}.etk-panel{border-radius:26px;padding:16px}.etk-form-grid{grid-template-columns:1fr;gap:10px}.etk-section-title h3{font-size:23px}.etk-camera-box{min-height:390px}.etk-camera-frame{inset:24px 25px 58px}.etk-camera-actions,.etk-form-actions{display:grid;grid-template-columns:1fr}.etk-result-grid{grid-template-columns:1fr}.etk-size-card strong{font-size:48px}.etk-products{grid-template-columns:repeat(2,1fr);gap:10px}.etk-product-body h4{font-size:13px;min-height:39px}.etk-product-body{padding:11px}.etk-product-body small{font-size:11px}.etk-trust-row span{font-size:11px}}@media(max-width:390px){.etk-products{grid-template-columns:1fr}.etk-hero h2{font-size:30px}.etk-phone-card{width:220px;height:306px}.etk-floating-card{display:none}}

/* v4.0.3 — Mobile Compressed Banner Hero + One Line Size Action Buttons
   Keeps the plugin hero inside a short phone banner, inspired by the approved Skin Analyzer mobile hero direction. */
@media(max-width:760px){
  .etk-size-advisor{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:8px 10px 10px !important;
    overflow-x:hidden !important;
  }

  .etk-hero{
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
    min-height:172px !important;
    max-height:198px !important;
    margin-right:calc(50% - 50vw + 10px) !important;
    margin-left:calc(50% - 50vw + 10px) !important;
    padding:13px 13px 11px 76px !important;
    border-radius:24px !important;
    display:block !important;
    position:relative !important;
    text-align:right !important;
    overflow:hidden !important;
    box-shadow:0 16px 36px rgba(65,79,97,.10) !important;
  }

  .etk-hero:before{
    width:150px !important;
    height:150px !important;
    left:-58px !important;
    right:auto !important;
    bottom:-76px !important;
    background:rgba(224,131,38,.13) !important;
  }

  .etk-hero-copy{
    position:relative !important;
    z-index:6 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .etk-pill{
    height:23px !important;
    min-height:23px !important;
    max-width:100% !important;
    padding:0 10px !important;
    margin:0 0 5px auto !important;
    font-size:9.6px !important;
    line-height:1 !important;
    gap:5px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    background:rgba(65,79,97,.92) !important;
  }

  .etk-hero h2{
    margin:0 0 4px !important;
    max-width:100% !important;
    font-size:17.4px !important;
    line-height:1.18 !important;
    letter-spacing:-.01em !important;
    display:-webkit-box !important;
    -webkit-line-clamp:1 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .etk-hero p{
    margin:0 !important;
    max-width:100% !important;
    font-size:10.2px !important;
    line-height:1.48 !important;
    font-weight:820 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .etk-hero-actions{
    margin:7px 0 0 !important;
    padding:0 0 2px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    gap:6px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch !important;
  }

  .etk-hero-actions::-webkit-scrollbar{
    display:none !important;
  }

  .etk-hero-actions .etk-btn,
  .etk-hero .etk-btn{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:max-content !important;
    height:28px !important;
    min-height:28px !important;
    padding:0 10px !important;
    border-radius:999px !important;
    font-size:9.6px !important;
    line-height:1 !important;
    box-shadow:0 8px 16px rgba(65,79,97,.07) !important;
  }

  .etk-hero .etk-btn-primary{
    box-shadow:0 10px 18px rgba(224,131,38,.18) !important;
  }

  .etk-trust-row{
    margin:6px 0 0 !important;
    padding:0 0 2px !important;
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:5px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch !important;
  }

  .etk-trust-row::-webkit-scrollbar{
    display:none !important;
  }

  .etk-trust-row span{
    flex:0 0 auto !important;
    height:22px !important;
    min-height:22px !important;
    padding:0 8px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:8.8px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  .etk-hero-visual{
    position:absolute !important;
    z-index:4 !important;
    left:10px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:56px !important;
    height:92px !important;
    min-height:0 !important;
    display:block !important;
    pointer-events:none !important;
  }

  .etk-phone-card{
    position:absolute !important;
    left:0 !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:54px !important;
    height:88px !important;
    border-width:3px !important;
    border-radius:15px !important;
    box-shadow:0 11px 22px rgba(65,79,97,.16) !important;
  }

  .etk-phone-card:before{
    inset:13px 6px 18px !important;
    border-radius:12px !important;
  }

  .etk-phone-top{
    top:5px !important;
    width:22px !important;
    height:3px !important;
  }

  .etk-child-silhouette{
    inset:16px 8px 20px !important;
    transform:scale(.20) !important;
    transform-origin:center top !important;
  }

  .etk-frame-corners i{
    width:10px !important;
    height:10px !important;
    border-width:2px !important;
  }

  .etk-frame-corners i:nth-child(1){top:16px !important;right:7px !important;border-width:2px 2px 0 0 !important;border-radius:0 6px 0 0 !important;}
  .etk-frame-corners i:nth-child(2){top:16px !important;left:7px !important;border-width:2px 0 0 2px !important;border-radius:6px 0 0 0 !important;}
  .etk-frame-corners i:nth-child(3){bottom:20px !important;right:7px !important;border-width:0 2px 2px 0 !important;border-radius:0 0 6px 0 !important;}
  .etk-frame-corners i:nth-child(4){bottom:20px !important;left:7px !important;border-width:0 0 2px 2px !important;border-radius:0 0 0 6px !important;}

  .etk-phone-result{
    right:4px !important;
    left:4px !important;
    bottom:4px !important;
    padding:3px 4px !important;
    border-radius:8px !important;
    gap:2px !important;
  }

  .etk-phone-result small,
  .etk-phone-result span{
    font-size:5.8px !important;
    line-height:1 !important;
  }

  .etk-phone-result strong{
    font-size:10px !important;
    line-height:1 !important;
  }

  .etk-floating-card{
    display:none !important;
  }

  .etk-progress{
    margin:10px 0 !important;
  }
}

@media(max-width:430px){
  .etk-hero{
    min-height:160px !important;
    max-height:184px !important;
    padding:12px 12px 10px 68px !important;
    border-radius:22px !important;
  }

  .etk-pill{
    height:21px !important;
    min-height:21px !important;
    padding:0 9px !important;
    font-size:8.9px !important;
    margin-bottom:4px !important;
  }

  .etk-hero h2{
    font-size:15.9px !important;
    line-height:1.18 !important;
  }

  .etk-hero p{
    font-size:9.45px !important;
    line-height:1.43 !important;
  }

  .etk-hero-actions{
    margin-top:6px !important;
    gap:5px !important;
  }

  .etk-hero-actions .etk-btn,
  .etk-hero .etk-btn{
    height:26px !important;
    min-height:26px !important;
    padding:0 9px !important;
    font-size:9px !important;
  }

  .etk-trust-row{
    margin-top:5px !important;
    gap:4px !important;
  }

  .etk-trust-row span{
    height:20px !important;
    min-height:20px !important;
    padding:0 7px !important;
    font-size:8.2px !important;
  }

  .etk-hero-visual{
    left:9px !important;
    width:49px !important;
    height:82px !important;
  }

  .etk-phone-card{
    width:47px !important;
    height:78px !important;
    border-radius:14px !important;
  }

  .etk-child-silhouette{
    inset:14px 7px 18px !important;
    transform:scale(.18) !important;
  }
}

@media(max-width:360px){
  .etk-hero{
    min-height:152px !important;
    max-height:176px !important;
    padding-left:62px !important;
  }

  .etk-hero h2{
    font-size:14.8px !important;
  }

  .etk-hero p{
    font-size:8.9px !important;
    -webkit-line-clamp:2 !important;
  }

  .etk-hero-actions .etk-btn,
  .etk-hero .etk-btn{
    height:25px !important;
    min-height:25px !important;
    font-size:8.5px !important;
  }
}


/* v4.0.3 — requested action cleanup: keep the two main size buttons in one row */
.etk-form-actions{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  align-items:center !important;
}
.etk-form-actions .etk-btn{
  width:100% !important;
  min-width:0 !important;
  text-align:center !important;
  white-space:normal !important;
  line-height:1.25 !important;
}
@media(max-width:760px){
  .etk-form-actions{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
    margin-top:14px !important;
  }
  .etk-form-actions .etk-btn{
    width:100% !important;
    min-width:0 !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 8px !important;
    border-radius:14px !important;
    font-size:11.4px !important;
    line-height:1.25 !important;
    white-space:normal !important;
  }
}
@media(max-width:390px){
  .etk-form-actions{
    gap:6px !important;
  }
  .etk-form-actions .etk-btn{
    height:42px !important;
    min-height:42px !important;
    padding:0 6px !important;
    font-size:10.3px !important;
  }
}
@media(max-width:340px){
  .etk-form-actions .etk-btn{
    font-size:9.6px !important;
  }
}


/* v4.0.4 — automatic camera measurement controls */
.etk-camera-actions{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  align-items:center !important;
  margin-top:14px !important;
}
.etk-camera-actions .etk-btn{
  width:100% !important;
  min-width:0 !important;
  text-align:center !important;
  white-space:normal !important;
  line-height:1.25 !important;
}
.etk-camera-actions .etk-btn:disabled{
  opacity:.55 !important;
  cursor:not-allowed !important;
  transform:none !important;
}
@media(max-width:760px){
  .etk-camera-actions{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
  }
  .etk-camera-actions .etk-btn{
    height:42px !important;
    min-height:42px !important;
    padding:0 8px !important;
    border-radius:14px !important;
    font-size:11.2px !important;
  }
  .etk-camera-status{
    font-size:11.5px !important;
    line-height:1.55 !important;
  }
}
@media(max-width:390px){
  .etk-camera-actions{
    gap:6px !important;
  }
  .etk-camera-actions .etk-btn{
    height:40px !important;
    min-height:40px !important;
    padding:0 6px !important;
    font-size:10.4px !important;
  }
}


/* v4.0.5.1 — natural calculation button + friendly validation message */
.etk-natural-calc-actions{
  margin-top:16px;
  display:flex;
  justify-content:flex-start;
}
.etk-natural-calc-actions .etk-btn{
  min-width:210px;
}
.etk-friendly-alert{
  margin-top:12px;
  padding:13px 15px;
  border-radius:18px;
  background:#FFF7DB;
  border:1px solid #F6D983;
  color:#7A550B;
  font-weight:850;
  line-height:1.75;
}
@media(max-width:760px){
  .etk-natural-calc-actions{
    margin-top:14px;
  }
  .etk-natural-calc-actions .etk-btn{
    width:100%;
    min-width:0;
  }
}


/* v4.0.5.2 — AI CTA polish + manual product slider */
.etk-ai-cta-wrap{
  margin:14px auto 18px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
}
.etk-ai-main-cta{
  position:relative !important;
  isolation:isolate !important;
  width:min(100%,520px) !important;
  min-height:58px !important;
  height:auto !important;
  padding:0 24px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.78) !important;
  color:#fff !important;
  background:
    radial-gradient(circle at 18% 0%,rgba(255,255,255,.28),transparent 32%),
    linear-gradient(135deg,var(--orange),var(--cyan)) !important;
  box-shadow:
    0 18px 38px rgba(224,131,38,.22),
    0 14px 32px rgba(38,224,208,.16) !important;
  font-size:15px !important;
  font-weight:950 !important;
  line-height:1.25 !important;
  white-space:normal !important;
  overflow:hidden !important;
}
.etk-ai-main-cta:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:translateX(100%);
  transition:transform .55s ease;
}
.etk-ai-main-cta:hover:before{transform:translateX(-100%)}
.etk-ai-main-cta:hover{
  transform:translateY(-2px) !important;
  box-shadow:
    0 22px 44px rgba(224,131,38,.27),
    0 18px 38px rgba(38,224,208,.20) !important;
}
.etk-ai-main-cta-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20);
}
.etk-products-slider{
  position:relative;
  margin-top:18px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  gap:10px;
  align-items:center;
}
.etk-products-viewport{
  min-width:0;
  overflow:hidden;
  border-radius:26px;
}
.etk-products-slider .etk-products{
  margin-top:0 !important;
  display:flex !important;
  grid-template-columns:none !important;
  gap:14px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x mandatory !important;
  scroll-behavior:smooth !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:none !important;
  padding:4px 2px 12px !important;
}
.etk-products-slider .etk-products::-webkit-scrollbar{display:none !important}
.etk-products-slider .etk-product-card{
  flex:0 0 clamp(190px,24vw,250px) !important;
  scroll-snap-align:start !important;
}
.etk-products-nav{
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  cursor:pointer;
  background:#fff;
  color:var(--slate);
  border:1px solid rgba(238,227,216,.95);
  box-shadow:0 12px 28px rgba(65,79,97,.10);
  font-size:30px;
  font-weight:900;
  line-height:1;
  transition:.22s ease;
}
.etk-products-nav:hover{
  transform:translateY(-2px);
  color:#fff;
  background:linear-gradient(135deg,var(--orange),var(--cyan));
  box-shadow:0 16px 34px rgba(224,131,38,.18);
}
.etk-products-hint{
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
  font-weight:850;
  text-align:center;
}
@media(max-width:760px){
  .etk-ai-cta-wrap{
    margin:10px auto 12px !important;
  }
  .etk-ai-main-cta{
    width:100% !important;
    min-height:50px !important;
    padding:0 14px !important;
    border-radius:18px !important;
    font-size:13px !important;
  }
  .etk-ai-main-cta-icon{
    width:28px;
    height:28px;
    flex-basis:28px;
  }
  .etk-products-slider{
    grid-template-columns:34px minmax(0,1fr) 34px;
    gap:6px;
    margin-top:14px;
  }
  .etk-products-nav{
    width:34px;
    height:34px;
    font-size:24px;
  }
  .etk-products-slider .etk-product-card{
    flex:0 0 74% !important;
    max-width:260px !important;
  }
  .etk-products-hint{
    font-size:11px;
  }
}
@media(max-width:390px){
  .etk-ai-main-cta{
    min-height:48px !important;
    font-size:12.2px !important;
    padding:0 12px !important;
  }
  .etk-products-slider .etk-product-card{
    flex-basis:82% !important;
  }
}


/* v4.0.5.3 — hide camera panel until AI measurement button is clicked */
.etk-camera-panel[hidden]{
  display:none !important;
}


/* v4.0.5.4 — Better mobile product slider + controls below */
@media(max-width:760px){
  .etk-products-panel{
    padding:16px 12px 18px !important;
    border-radius:26px !important;
    overflow:hidden !important;
  }

  .etk-products-panel .etk-section-title h3{
    font-size:20px !important;
    line-height:1.28 !important;
    margin-bottom:6px !important;
  }

  .etk-products-panel .etk-section-title p{
    font-size:12px !important;
    line-height:1.65 !important;
  }

  .etk-products-slider{
    margin-top:12px !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    grid-template-areas:
      "viewport viewport"
      "prev next" !important;
    gap:10px 8px !important;
    align-items:center !important;
  }

  .etk-products-viewport{
    grid-area:viewport !important;
    width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
    border-radius:24px !important;
    background:linear-gradient(180deg,rgba(255,248,241,.72),rgba(255,255,255,.96)) !important;
    border:1px solid rgba(238,227,216,.70) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85) !important;
  }

  .etk-products-prev{grid-area:prev !important;}
  .etk-products-next{grid-area:next !important;}

  .etk-products-slider .etk-products{
    width:100% !important;
    padding:8px 10px 14px !important;
    gap:12px !important;
    scroll-snap-type:x mandatory !important;
    scroll-padding-inline:10px !important;
    overscroll-behavior-x:contain !important;
    touch-action:pan-x !important;
  }

  .etk-products-slider .etk-product-card{
    flex:0 0 min(78vw,286px) !important;
    max-width:min(78vw,286px) !important;
    scroll-snap-align:center !important;
    border-radius:22px !important;
    box-shadow:0 12px 28px rgba(65,79,97,.085) !important;
  }

  .etk-products-slider .etk-product-card:hover{
    transform:none !important;
  }

  .etk-products-slider .etk-product-card img{
    aspect-ratio:1/1 !important;
    border-radius:0 !important;
  }

  .etk-products-slider .etk-product-body{
    padding:12px !important;
  }

  .etk-products-slider .etk-product-body h4{
    font-size:13px !important;
    line-height:1.45 !important;
    min-height:38px !important;
    margin-bottom:7px !important;
  }

  .etk-products-slider .etk-price{
    font-size:12px !important;
    margin-bottom:7px !important;
  }

  .etk-products-slider .etk-product-body small{
    font-size:10.8px !important;
    line-height:1.45 !important;
    min-height:32px !important;
  }

  .etk-products-slider .etk-product-body b{
    width:100% !important;
    min-height:34px !important;
    margin-top:10px !important;
    justify-content:center !important;
    padding:0 12px !important;
    font-size:11.5px !important;
    background:linear-gradient(135deg,var(--slate),#536277) !important;
  }

  .etk-products-nav{
    width:min(138px,42vw) !important;
    height:38px !important;
    margin:0 auto !important;
    border-radius:999px !important;
    font-size:24px !important;
    background:#fff !important;
    color:var(--slate) !important;
    border:1px solid rgba(224,131,38,.14) !important;
    box-shadow:0 10px 22px rgba(65,79,97,.08) !important;
  }

  .etk-products-nav:hover,
  .etk-products-nav:focus{
    transform:none !important;
    color:#fff !important;
    background:linear-gradient(135deg,var(--orange),var(--cyan)) !important;
    box-shadow:0 12px 26px rgba(224,131,38,.16) !important;
    outline:none !important;
  }

  .etk-products-hint{
    margin-top:6px !important;
    font-size:10.8px !important;
    color:rgba(97,81,65,.72) !important;
  }
}

@media(max-width:390px){
  .etk-products-slider .etk-product-card{
    flex-basis:84vw !important;
    max-width:84vw !important;
  }

  .etk-products-nav{
    width:min(126px,41vw) !important;
    height:36px !important;
    font-size:22px !important;
  }
}


/* v4.0.5.5 — Replace confidence sphere with smart why-card */
.etk-result-grid{
  grid-template-columns:minmax(220px,.82fr) minmax(0,1.68fr) !important;
  align-items:stretch !important;
}

.etk-confidence-card,
.etk-ring,
.etk-reason-card{
  display:none !important;
}

.etk-why-card{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:
    radial-gradient(circle at 0 0,rgba(38,224,208,.12),transparent 34%),
    linear-gradient(135deg,#fff,#FFF9F3);
  border:1px solid rgba(224,131,38,.16);
  padding:20px;
  min-height:158px;
  box-shadow:0 14px 34px rgba(65,79,97,.055);
}

.etk-why-card:before{
  content:"";
  position:absolute;
  left:-42px;
  bottom:-54px;
  width:132px;
  height:132px;
  border-radius:50%;
  background:rgba(38,224,208,.11);
  pointer-events:none;
}

.etk-why-head{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.etk-why-head small{
  display:block;
  color:var(--muted);
  font-weight:950;
}

.etk-why-head span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(38,224,208,.14);
  border:1px solid rgba(38,224,208,.22);
  color:#237973;
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}

.etk-trust-meter{
  position:relative;
  z-index:2;
  width:100%;
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:#F1E8DE;
  box-shadow:inset 0 1px 2px rgba(65,79,97,.055);
}

.etk-trust-meter i{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--cyan),var(--orange));
  transition:width .55s ease;
}

.etk-trust-meta{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:9px;
  color:var(--slate);
}

.etk-trust-meta strong{
  font-size:12px;
  font-weight:950;
  color:var(--slate);
}

.etk-trust-meta b{
  font-size:13px;
  font-weight:950;
  color:var(--orange);
}

.etk-why-card p{
  position:relative;
  z-index:2;
  margin:12px 0 0;
  line-height:1.85;
  color:var(--slate);
  font-weight:800;
}

@media(max-width:760px){
  .etk-result-grid{
    grid-template-columns:1fr !important;
  }

  .etk-why-card{
    border-radius:22px !important;
    padding:16px !important;
    min-height:auto !important;
  }

  .etk-why-head{
    margin-bottom:10px !important;
  }

  .etk-why-head span{
    min-height:26px !important;
    padding:0 10px !important;
    font-size:11px !important;
  }

  .etk-why-card p{
    font-size:12.5px !important;
    line-height:1.75 !important;
  }
}


/* v4.0.5.6 — Smart virtual measurement guide inside camera */
.etk-camera-box{
  isolation:isolate;
}
.etk-smart-measure-guide{
  position:absolute;
  z-index:3;
  inset:18px 20px 62px;
  pointer-events:none;
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:14px;
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.42);
}
.etk-guide-ruler{
  position:relative;
  height:100%;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(65,79,97,.48),rgba(65,79,97,.22));
  border:1px solid rgba(255,255,255,.28);
  box-shadow:inset 0 0 0 1px rgba(38,224,208,.16), 0 14px 30px rgba(0,0,0,.12);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  overflow:hidden;
  backdrop-filter:blur(8px);
}
.etk-guide-ruler:before{
  content:"";
  position:absolute;
  top:36px;
  bottom:36px;
  left:50%;
  width:2px;
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(180deg,var(--cyan),rgba(255,255,255,.75),var(--orange));
}
.etk-guide-ruler span{
  position:relative;
  z-index:2;
  min-width:34px;
  min-height:22px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.22);
  font-size:10px;
  font-weight:950;
}
.etk-guide-ruler i{
  position:relative;
  z-index:2;
  width:22px;
  height:2px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  box-shadow:0 38px 0 rgba(255,255,255,.48),0 -38px 0 rgba(255,255,255,.48);
}
.etk-guide-lane{
  position:relative;
  height:100%;
  border-radius:34px;
  border:1px dashed rgba(255,255,255,.42);
  background:radial-gradient(circle at 50% 30%,rgba(38,224,208,.12),transparent 36%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.03));
  overflow:hidden;
}
.etk-guide-lane:before,
.etk-guide-lane:after{
  content:"";
  position:absolute;
  right:10%;
  left:10%;
  height:2px;
  border-radius:999px;
  background:rgba(255,255,255,.66);
  box-shadow:0 0 0 1px rgba(38,224,208,.22);
}
.etk-guide-lane:before{top:10%;}
.etk-guide-lane:after{bottom:8%;}
.etk-guide-head-line,
.etk-guide-foot-line{
  position:absolute;
  z-index:4;
  right:12px;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(65,79,97,.62);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  font-size:11px;
  font-style:normal;
  font-weight:950;
  backdrop-filter:blur(6px);
}
.etk-guide-head-line{top:calc(10% - 12px);}
.etk-guide-foot-line{bottom:calc(8% - 12px);}
.etk-guide-center-line{
  position:absolute;
  z-index:1;
  top:8%;
  bottom:8%;
  left:50%;
  width:2px;
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(180deg,transparent,rgba(38,224,208,.72),transparent);
}
.etk-guide-child-ghost{
  position:absolute;
  z-index:2;
  top:14%;
  bottom:11%;
  left:50%;
  width:min(34%,132px);
  transform:translateX(-50%);
  opacity:.42;
}
.etk-guide-child-ghost:before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:38px;
  height:38px;
  transform:translateX(-50%);
  border-radius:50%;
  border:2px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.08);
}
.etk-guide-child-ghost:after{
  content:"";
  position:absolute;
  top:46px;
  bottom:0;
  left:50%;
  width:72px;
  transform:translateX(-50%);
  border-radius:34px 34px 20px 20px;
  border:2px solid rgba(255,255,255,.58);
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
}
.etk-guide-live{
  position:absolute;
  z-index:5;
  right:72px;
  left:18px;
  top:12px;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:rgba(65,79,97,.66);
  border:1px solid rgba(255,255,255,.20);
  color:#fff;
  font-size:12px;
  font-weight:950;
  line-height:1.35;
  backdrop-filter:blur(10px);
}
.etk-smart-measure-guide[data-guide-state="good"] .etk-guide-lane{
  border-color:rgba(38,224,208,.95);
  box-shadow:0 0 0 2px rgba(38,224,208,.14), inset 0 0 40px rgba(38,224,208,.14);
}
.etk-smart-measure-guide[data-guide-state="good"] .etk-guide-live{background:rgba(32,133,112,.76);}
.etk-smart-measure-guide[data-guide-state="too-far"] .etk-guide-lane,
.etk-smart-measure-guide[data-guide-state="too-close"] .etk-guide-lane,
.etk-smart-measure-guide[data-guide-state="off-center"] .etk-guide-lane,
.etk-smart-measure-guide[data-guide-state="head"] .etk-guide-lane,
.etk-smart-measure-guide[data-guide-state="feet"] .etk-guide-lane,
.etk-smart-measure-guide[data-guide-state="weak"] .etk-guide-lane{
  border-color:rgba(224,131,38,.9);
  box-shadow:0 0 0 2px rgba(224,131,38,.12), inset 0 0 38px rgba(224,131,38,.10);
}
.etk-smart-measure-guide[data-guide-state="too-far"] .etk-guide-live,
.etk-smart-measure-guide[data-guide-state="too-close"] .etk-guide-live,
.etk-smart-measure-guide[data-guide-state="off-center"] .etk-guide-live,
.etk-smart-measure-guide[data-guide-state="head"] .etk-guide-live,
.etk-smart-measure-guide[data-guide-state="feet"] .etk-guide-live,
.etk-smart-measure-guide[data-guide-state="weak"] .etk-guide-live{
  background:rgba(224,131,38,.76);
}
.etk-camera-frame{
  z-index:4;
}
.etk-camera-status{
  z-index:6;
}

@media(max-width:760px){
  .etk-smart-measure-guide{
    inset:12px 12px 58px;
    grid-template-columns:42px minmax(0,1fr);
    gap:8px;
  }
  .etk-guide-ruler span{
    min-width:28px;
    min-height:18px;
    font-size:8.5px;
  }
  .etk-guide-ruler i{
    width:17px;
  }
  .etk-guide-lane{
    border-radius:24px;
  }
  .etk-guide-head-line,
  .etk-guide-foot-line{
    right:8px;
    min-height:20px;
    padding:0 8px;
    font-size:9px;
  }
  .etk-guide-child-ghost:before{
    width:28px;
    height:28px;
  }
  .etk-guide-child-ghost:after{
    top:34px;
    width:52px;
  }
  .etk-guide-live{
    right:52px;
    left:10px;
    top:8px;
    min-height:28px;
    padding:6px 9px;
    font-size:10px;
    border-radius:18px;
  }
}


/* v4.0.5.8 — more realistic smart measure ruler */
.etk-smart-measure-guide .etk-guide-ruler{
  width:58px;
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.93),rgba(255,248,241,.82)),
    linear-gradient(90deg,rgba(255,255,255,.70),rgba(224,131,38,.10),rgba(38,224,208,.10));
  border:1px solid rgba(255,255,255,.78);
  box-shadow:
    inset 0 0 0 1px rgba(65,79,97,.08),
    inset 10px 0 18px rgba(255,255,255,.45),
    0 16px 34px rgba(0,0,0,.16);
  padding:0;
  overflow:hidden;
  backdrop-filter:blur(10px);
}
.etk-smart-measure-guide .etk-guide-ruler:before{
  content:"";
  position:absolute;
  top:34px;
  bottom:34px;
  right:12px;
  left:auto;
  width:3px;
  transform:none;
  border-radius:999px;
  background:linear-gradient(180deg,#414F61,#E08326 52%,#26E0D0);
  box-shadow:0 0 0 1px rgba(255,255,255,.72),0 0 16px rgba(38,224,208,.22);
}
.etk-smart-measure-guide .etk-guide-ruler:after{
  content:"";
  position:absolute;
  inset:34px 10px 34px 10px;
  border-radius:12px;
  border:1px solid rgba(65,79,97,.06);
  background:
    repeating-linear-gradient(to bottom,transparent 0 8px,rgba(65,79,97,.24) 8px 9px),
    linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.02));
  opacity:.78;
}
.etk-smart-measure-guide .etk-guide-ruler span{
  position:absolute;
  z-index:5;
  min-width:0;
  min-height:0;
  padding:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
  color:#414F61;
  text-shadow:none;
  line-height:1;
}
.etk-ruler-title{
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:31px;
  height:20px;
  border-radius:999px !important;
  display:grid !important;
  place-items:center;
  background:rgba(65,79,97,.92) !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:950 !important;
  letter-spacing:.02em;
}
.etk-smart-measure-guide .etk-ruler-label{
  left:8px;
  width:22px;
  text-align:left;
  color:#414F61;
  font-size:9px;
  font-weight:950;
  opacity:.92;
}
.etk-ruler-label-140{top:13%;}
.etk-ruler-label-120{top:30%;}
.etk-ruler-label-100{top:47%;}
.etk-ruler-label-80{top:64%;}
.etk-ruler-label-60{top:81%;}
.etk-ruler-spine{
  position:absolute;
  z-index:4;
  top:34px;
  bottom:34px;
  right:12px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,#414F61,#E08326 54%,#26E0D0);
  box-shadow:0 0 0 1px rgba(255,255,255,.72),0 0 14px rgba(38,224,208,.16);
}
.etk-ruler-tick{
  position:absolute;
  z-index:6;
  right:13px;
  height:2px;
  border-radius:999px;
  background:#414F61;
  box-shadow:0 0 0 1px rgba(255,255,255,.38);
}
.etk-ruler-tick-major{width:27px;opacity:.90;}
.etk-ruler-tick-mid{width:21px;opacity:.74;}
.etk-ruler-tick-minor{width:14px;opacity:.48;}
.etk-ruler-tick-0{top:14%;}.etk-ruler-tick-1{top:19%;}.etk-ruler-tick-2{top:24%;}.etk-ruler-tick-3{top:29%;}.etk-ruler-tick-4{top:34%;}.etk-ruler-tick-5{top:39%;}.etk-ruler-tick-6{top:44%;}.etk-ruler-tick-7{top:49%;}.etk-ruler-tick-8{top:54%;}.etk-ruler-tick-9{top:59%;}.etk-ruler-tick-10{top:64%;}.etk-ruler-tick-11{top:69%;}.etk-ruler-tick-12{top:74%;}.etk-ruler-tick-13{top:79%;}.etk-ruler-tick-14{top:84%;}.etk-ruler-tick-15{top:89%;}
.etk-ruler-note{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:9px;
  transform:translateX(-50%);
  width:38px;
  height:18px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(224,131,38,.13);
  border:1px solid rgba(224,131,38,.22);
  color:#615141;
  text-shadow:none;
  font-size:8px;
  font-style:normal;
  font-weight:950;
}
.etk-smart-measure-guide[data-guide-state="good"] .etk-ruler-title{
  background:linear-gradient(135deg,#208570,#26E0D0) !important;
}
.etk-smart-measure-guide[data-guide-state="good"] .etk-ruler-spine,
.etk-smart-measure-guide[data-guide-state="good"] .etk-guide-ruler:before{
  background:linear-gradient(180deg,#208570,#26E0D0);
  box-shadow:0 0 0 1px rgba(255,255,255,.72),0 0 18px rgba(38,224,208,.35);
}
.etk-smart-measure-guide[data-guide-state="too-far"] .etk-ruler-title,
.etk-smart-measure-guide[data-guide-state="too-close"] .etk-ruler-title,
.etk-smart-measure-guide[data-guide-state="off-center"] .etk-ruler-title,
.etk-smart-measure-guide[data-guide-state="head"] .etk-ruler-title,
.etk-smart-measure-guide[data-guide-state="feet"] .etk-ruler-title,
.etk-smart-measure-guide[data-guide-state="weak"] .etk-ruler-title{
  background:linear-gradient(135deg,#E08326,#F0A15B) !important;
}
@media(max-width:760px){
  .etk-smart-measure-guide .etk-guide-ruler{
    width:46px;
    border-radius:15px;
  }
  .etk-smart-measure-guide .etk-guide-ruler:before,
  .etk-ruler-spine{
    right:9px;
    top:30px;
    bottom:30px;
    width:2px;
  }
  .etk-smart-measure-guide .etk-guide-ruler:after{
    inset:30px 7px 30px 7px;
  }
  .etk-ruler-title{
    top:8px;
    width:25px;
    height:17px;
    font-size:8px !important;
  }
  .etk-smart-measure-guide .etk-ruler-label{
    left:5px;
    width:18px;
    font-size:7.5px;
  }
  .etk-ruler-tick{right:9px;height:1.5px;}
  .etk-ruler-tick-major{width:20px;}
  .etk-ruler-tick-mid{width:16px;}
  .etk-ruler-tick-minor{width:10px;}
  .etk-ruler-note{
    bottom:7px;
    width:30px;
    height:15px;
    font-size:6.8px;
  }
}


/* v4.0.5.8 — camera measurement flow fix + reduced overlay text */
.etk-camera-frame span{display:none !important;}
.etk-guide-head-line,.etk-guide-foot-line{
  min-height:20px !important;
  padding:0 8px !important;
  font-size:9px !important;
  background:rgba(65,79,97,.48) !important;
  opacity:.86;
}
.etk-guide-live{
  right:auto !important;
  left:16px !important;
  top:12px !important;
  max-width:180px !important;
  min-height:28px !important;
  padding:6px 10px !important;
  font-size:10px !important;
  line-height:1.25 !important;
  background:rgba(65,79,97,.54) !important;
  opacity:.88;
}
.etk-camera-status{
  right:18px !important;
  left:18px !important;
  bottom:12px !important;
  min-height:0 !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  font-size:11px !important;
  line-height:1.35 !important;
  background:rgba(32,36,43,.62) !important;
  opacity:.92;
}
@media(max-width:760px){
  .etk-guide-live{
    left:10px !important;
    top:8px !important;
    max-width:136px !important;
    min-height:24px !important;
    padding:5px 8px !important;
    font-size:8.6px !important;
    border-radius:999px !important;
  }
  .etk-guide-head-line,.etk-guide-foot-line{
    right:8px !important;
    min-height:16px !important;
    padding:0 6px !important;
    font-size:7.8px !important;
  }
  .etk-camera-status{
    right:12px !important;
    left:12px !important;
    bottom:10px !important;
    padding:6px 9px !important;
    font-size:9px !important;
    line-height:1.25 !important;
  }
}

/* v4.0.5.10 — relaxed step guide + green alignment indicators */
.etk-smart-measure-guide .etk-guide-head-line,
.etk-smart-measure-guide .etk-guide-foot-line{
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.etk-smart-measure-guide[data-head-ok="1"] .etk-guide-head-line,
.etk-smart-measure-guide[data-feet-ok="1"] .etk-guide-foot-line{
  background:rgba(32,133,112,.84) !important;
  border-color:rgba(38,224,208,.92) !important;
  color:#fff !important;
  box-shadow:0 0 0 2px rgba(38,224,208,.18),0 8px 18px rgba(32,133,112,.20) !important;
}
.etk-smart-measure-guide[data-head-ok="1"] .etk-guide-head-line::after,
.etk-smart-measure-guide[data-feet-ok="1"] .etk-guide-foot-line::after{
  content:" ✓";
  font-weight:950;
}
.etk-smart-measure-guide[data-center-ok="1"] .etk-guide-center-line{
  background:linear-gradient(180deg,transparent,rgba(38,224,208,.96),transparent) !important;
  box-shadow:0 0 18px rgba(38,224,208,.34);
}
.etk-smart-measure-guide[data-ready-ok="1"] .etk-guide-lane{
  border-color:rgba(38,224,208,.95) !important;
  box-shadow:0 0 0 2px rgba(38,224,208,.18), inset 0 0 44px rgba(38,224,208,.15) !important;
}
.etk-smart-measure-guide[data-ready-ok="1"] .etk-guide-live,
.etk-smart-measure-guide[data-guide-state="good"] .etk-guide-live{
  background:rgba(32,133,112,.82) !important;
}
.etk-smart-measure-guide[data-size-ok="1"] .etk-guide-child-ghost:before,
.etk-smart-measure-guide[data-size-ok="1"] .etk-guide-child-ghost:after{
  border-color:rgba(38,224,208,.80) !important;
  box-shadow:0 0 22px rgba(38,224,208,.16);
}

/* v4.0.5.11 — assisted camera confirmation gate */
.etk-camera-actions{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.etk-camera-confirm{
  grid-column:1/-1 !important;
  min-height:50px !important;
  background:linear-gradient(135deg,var(--orange),var(--cyan)) !important;
  color:#fff !important;
  box-shadow:0 14px 30px rgba(224,131,38,.20),0 10px 24px rgba(38,224,208,.15) !important;
}
.etk-camera-confirm:disabled{
  background:linear-gradient(135deg,#d8dce2,#eef0f3) !important;
  color:#707783 !important;
  box-shadow:none !important;
}
.etk-smart-measure-guide[data-guide-state="guide"] .etk-guide-lane{
  border-color:rgba(255,255,255,.76) !important;
  box-shadow:inset 0 0 36px rgba(255,255,255,.10) !important;
}
.etk-smart-measure-guide[data-guide-state="guide"] .etk-guide-live{
  background:rgba(65,79,97,.68) !important;
}
@media(max-width:760px){
  .etk-camera-confirm{
    min-height:44px !important;
    font-size:11.6px !important;
  }
}
