/* ===== native-app feel on phones ===== */
.tabbar,.qa{display:none}
@media(max-width:700px){
  html{font-size:15px}body{font-size:15px;line-height:1.5;padding-bottom:calc(74px + env(safe-area-inset-bottom))}body.has-mbar{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  h1,h2,h3{letter-spacing:-.02em}.wrap{padding:0 16px}
  .hd{height:54px}.hd .wrap{gap:8px}.hd-search{display:none!important}.menubtn{display:inline-grid!important}.hd .brand{font-size:19px}.hd .brand svg{width:30px;height:30px}.iconbtn{width:38px;height:38px;border-radius:11px}
  .tabbar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:90;padding:6px;border-radius:22px;background:color-mix(in srgb,var(--card) 90%,transparent);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);border:1px solid var(--line);box-shadow:0 14px 40px -12px rgba(30,20,100,.35)}
  .tabbar a,.tabbar button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px 7px;border:0;background:none;border-radius:16px;color:var(--dim);font:700 11px var(--font)}.tabbar .ic{width:23px;height:23px}.tabbar .on{color:var(--brand);background:color-mix(in srgb,var(--brand) 11%,transparent)}
  body.has-mbar .tabbar{display:none}
  .hhead{padding:22px 0 0;text-align:left}.hhead h1{font-size:26px;line-height:1.15;margin:0 0 8px;max-width:none}.hhead .lead{font-size:14px;margin:0;color:var(--mut);max-width:none}
  .qa{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 4px}.qa button,.qa a{display:flex;align-items:center;gap:10px;padding:14px;border-radius:18px;border:0;font:800 14.5px var(--font);color:#fff;text-align:left}.qa .a{background:linear-gradient(135deg,#6d5dfc,#a45cf0)}.qa .b{background:linear-gradient(135deg,#2f9bff,#2fd0c0)}.qa .ic{width:24px;height:24px}.qa small{display:block;font-weight:600;font-size:11.5px;opacity:.85}
  .hhead .cats{margin:16px -16px 0;padding:2px 16px 6px;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;justify-content:flex-start}.hhead .cats::-webkit-scrollbar{display:none}.cats button{padding:8px 15px;font-size:13.5px;flex:none}.cats .sch{order:-1;flex:1 0 100%;height:46px;border-radius:14px;margin-bottom:6px}.cats .sch input{font-size:15px}
  #tools{padding:12px 0 6px}.tools{grid-template-columns:1fr 1fr;gap:10px}
  .tool{flex-direction:column;align-items:flex-start;padding:14px 13px 13px;min-height:132px;border-radius:18px;gap:6px;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 9%,var(--card)),var(--card) 65%);box-shadow:none}.tool .chip-ic{width:42px;height:42px;border-radius:13px}.tool .chip-ic .ic{width:23px;height:23px}.tool h3{font-size:15px;margin:4px 0 0;line-height:1.2}.tool p{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.4;color:var(--mut)}.tool:active{transform:scale(.98)}.tool .tag{right:10px;top:10px}
  .sec{padding:30px 0}.sec h2{font-size:22px;text-align:left}.sec .sub{text-align:left;font-size:14px;margin-bottom:18px}.feats,.steps{grid-template-columns:1fr;gap:10px}.feat,.step{padding:18px;border-radius:18px}.faq summary{font-size:15px;padding:15px 0}.cta-band{border-radius:22px;padding:24px 20px;text-align:left}
  .thero{padding:16px 0 0;text-align:center}.crumbs{display:none}.thead{margin:0}.thead h1{font-size:22px;line-height:1.2}.thead p{font-size:13.5px;line-height:1.45;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .app{padding:12px 0 8px}
  .dz{min-height:0;padding:30px 18px 24px;border-radius:26px;border:1.5px dashed var(--line2);background:linear-gradient(180deg,color-mix(in srgb,var(--c,var(--brand)) 8%,var(--card)),var(--card));gap:12px}.dz:before{display:none}.dz .big{display:grid;width:78px;height:78px;border-radius:24px}.dz .big .ic{width:36px;height:36px}.dz .btn.pri{min-width:0;width:100%;padding:18px 20px;font-size:17px;border-radius:16px}.dz .row{width:100%;flex-direction:column}.dz .row .btn:not(.pri){width:100%}.dz p{font-size:12.5px;order:3}.dz .priv{display:none}
  .trust{gap:6px 14px;font-size:12px;margin-top:14px}.trust span{gap:5px}
  .work{gap:14px}.side{gap:12px}.panel{padding:16px;border-radius:20px}.panel h3{font-size:15px;margin-bottom:12px}.fld{margin-bottom:12px}.in{height:48px;font-size:16px;border-radius:13px}.seg button{padding:11px 6px;font-size:13px}
  .file{padding:10px;gap:10px;border-radius:16px}.file .th{width:44px;height:58px;border-radius:8px}.file .meta b{font-size:14px}.file .meta span{font-size:11.5px}.file .grip{padding:10px 8px}.file .mini .m-up,.file .mini .m-dn{display:none}.mini button{width:40px;height:40px;border-radius:12px}.addmore{padding:14px;border-radius:16px;font-size:14px}
  .pages{grid-template-columns:repeat(2,1fr);gap:10px}.pg{padding:6px 6px 8px;border-radius:14px}.pg .tb button{width:36px;height:36px}
  .shots{grid-template-columns:repeat(2,1fr);gap:10px}
  .mbar{padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--card) 92%,transparent);border-top:1px solid var(--line);box-shadow:0 -10px 30px -16px rgba(30,20,100,.3)}.mbar .btn{padding:16px;font-size:16.5px;border-radius:16px;box-shadow:0 10px 24px -10px rgba(109,93,252,.7)}
  .done{padding:24px 16px;border-radius:24px;margin:4px 0}.done .ok{width:70px;height:70px}.done h2{font-size:22px}.out{flex-wrap:wrap}.next .grid{grid-template-columns:1fr 1fr}
  .stage{padding:10px;border-radius:18px}.sigpad{height:150px}.txt{min-height:240px}
  .sheet .sp2{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 14px calc(18px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;max-height:82vh}.sheet .grab{grid-column:1/-1;margin:0 auto 6px}.sheet h4,.sheet .h4{grid-column:1/-1;margin:14px 2px 2px}.sheet a{flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--card);font-size:13.5px;line-height:1.2}.sheet a:first-of-type{grid-column:1/-1;flex-direction:row;align-items:center;background:var(--brand);color:#fff;border:0}.sheet a:first-of-type .chip-ic{background:rgba(255,255,255,.2)}
  .ovl{padding:14px;align-items:end}.ovl .card{border-radius:26px 26px 20px 20px;padding:24px 18px}
  .ft{padding:30px 0 20px}.ftg{grid-template-columns:1fr 1fr;gap:20px}.ft .legal{flex-direction:column;gap:6px}.toast{bottom:100px}
}
@media(max-width:360px){.tools{gap:8px}.tool{padding:12px 11px}.hhead h1{font-size:23px}}
@media(max-width:700px){.btn.sm{padding:9px 13px;font-size:13px;border-radius:12px}.pages+*{}}

.sx{display:none}
@media(max-width:700px){.sheet .sp2{position:absolute}.sx{display:grid;place-items:center;position:sticky;top:0;grid-column:1/-1;justify-self:end;width:38px;height:38px;margin:-4px 0 -34px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);z-index:3}.sx .ic{width:18px;height:18px}}

.logo-img{width:34px;height:34px;border-radius:10px;display:block;flex:none}
@media(max-width:700px){.logo-img{width:30px;height:30px}
  .sheet .sp2{grid-template-columns:1fr;gap:6px}
  .sheet a{flex-direction:row;align-items:center;gap:14px;padding:11px 12px;border-radius:14px;font-size:15px}
  .sheet a:first-of-type{padding:13px 14px}
}
@media(max-width:700px){.sheet a:first-of-type{padding-right:60px}.sx{margin:-8px 0 -46px}}
.work>*,.main{min-width:0}
